-
Re: Sprite Generator... CA ?
ok, i'm going to ask y'all to help me out here, because this isn't working for me. here's what i'm doing:
created the sprite_script.txt in the root folder
in the sprite_script.txt file entered 'roman_triarii romans_brutii' (i'm only doing one unit at a time til i get it right)
created the sprites folder in the data folder (data/sprites)
copied and pasted the preferences list as posted by Adherbal
started program as "C:\Program Files\Activision\Rome - Total War\RomeTW.exe" -sprite_script
and here's what happens:
games loads up with initial rome total war screen then creative assembly/activision screen, then crashes to desktop (as i've read it's meant to do)
however, it doesn't seem to produce any files at all. nothing appears in the sprites folder or anywhere else.
anybody see a problem here at all? i'm really keen to get this working, so any help you can give is appreciated.
cheers
-
Re: Sprite Generator... CA ?
never mind, i've worked it out. i had named my sprite_script file wrong (had put .txt on the end). working well now. cheers
-
Re: Sprite Generator... CA ?
Well I'm glad u got it sorted, I didn't have a clue :smile:
Welcome to the forums. :smile:
-
Re: Sprite Generator... CA ?
Instead of posting my differences, I made the sprite generator not work on my working machine. At the time, I had other programs running like Windows Media Player, notepad, and I tried it again and it worked. Also, doing more than a handful creates some real differences. I had a custom file of 36 units and they all were messed up. But 6 at a time works perfectly. Every journey starts with a small step.
-
Re: Sprite Generator... CA ?
i can't start up the generator.
i have type -sprite_script on the command line and i have patch1.2
but when i start it , you see the splash screen , and then you see again your desktop :S:S
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Martinaz
i can't start up the generator.
i have type -sprite_script on the command line and i have patch1.2
but when i start it , you see the splash screen , and then you see again your desktop :S:S
That's the normal way it works.
After closing the game, you have the corresponding files (in tga format, not in dds, you must change it) in the Data\sprites folder.
Did you create this folder?
Did you prepare your script?
Did you have the correct preferences?
If everything is OK it should work.
-
Re: Sprite Generator... CA ?
what are the correct preferentses?
-
Re: Sprite Generator... CA ?
16bit battles and campaign colors.
But even if it's 32-bit, generator would work too, but would give bad sprites.
-
Re: Sprite Generator... CA ?
:S
it isn't working i have the map , preferencis and script :(
-
Re: Sprite Generator... CA ?
Try adding "-show_err" maybe it will give you some error code.
-
Re: Sprite Generator... CA ?
-
Re: Sprite Generator... CA ?
hi, i just stumbled across this thread and i thought i would give the sprite generator a try. at first i had a couple of problems, but it works fine now.
i DO have a problem though, the sprites for a cavalry unit only show the men, as if dismounted. i DID include the mount in the sprite_script.txt. but it is not in the sprite it seems. do i have to make a separate sprite for the horses?
and what about the TGAs, what do i do with them. they don't seem to be of any use. i only assign the spr file in the descr_model_battle.txt file.
can i just delete them without any worries?
-
Re: Sprite Generator... CA ?
right, forget the first question. i used a different descreption and it worked out fine now. ~D
but the question about the TGA's remains.
-
Re: Sprite Generator... CA ?
this is what i have done :
-i made a shortcut and on the command line i have -sprite_generator
-made in the data folder a text file called sprite_script
-and in that txt file have i : roman_archer romans_julii
-and made in the data folder a new folder called sprites
-copiet the preferentcis in my preferencis
when i run the shortcut , i see a spash screen and then the program crash
but the sprite folder is still a empty map
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Martinaz
this is what i have done :
-i made a shortcut and on the command line i have -sprite_generator
-made in the data folder a text file called sprite_script
-and in that txt file have i : roman_archer romans_julii
-and made in the data folder a new folder called sprites
-copiet the preferentcis in my preferencis
when i run the shortcut , i see a spash screen and then the program crash
but the sprite folder is still a empty map
It's supposed to be -sprite_script on the command line
-
Re: Sprite Generator... CA ?
It's probably worth mentioning that the sprite generator does not work on 100% of all graphics cards able to run Rome, because some cards don't support the (slightly more advanced) features it uses. That was one of several reasons why we decided to pregenerate the sprites rather than generating them on the fly at load time.
Almost all NVidia AGP cards do work, and so do most ATI cards after the Radeon 8500. Quite a few of the built-in graphics solutions don't cut the mustard, as they say, and the lesser graphics manufacturers are a mixed bag.
-
Re: Sprite Generator... CA ?
i think that will be the problem
-
Re: Sprite Generator... CA ?
Did anyone ever get shields working properly on their sprites?
-
Re: Sprite Generator... CA ?
Some sprites from the game do not have shields I did notice, so we may be out of luck. Also, I would like to to ask Jerome or anyone else why some chariot sprites seem to put the riders higher in the air when they are "accessed" as you zoom out.
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by JeromeGrasdyke
It's probably worth mentioning that the sprite generator does not work on 100% of all graphics cards able to run Rome, because some cards don't support the (slightly more advanced) features it uses. That was one of several reasons why we decided to pregenerate the sprites rather than generating them on the fly at load time.
Almost all NVidia AGP cards do work, and so do most ATI cards after the Radeon 8500. Quite a few of the built-in graphics solutions don't cut the mustard, as they say, and the lesser graphics manufacturers are a mixed bag.
I have an ATI Radeon 9600 Pro Atlantis - is that the problem? I just can't get the sprite generator to work. I've completely reinstalled RTW with the 1.2 patch. I have -sprite_script and -show_err in my command line, I've copied and pasted Adherbal's preferences, and created a data\sprites folder. Every time I start the game it crashes immediately after the credits screen, with no error message displayed. What am I doing wrong? ~:confused: What's so annoying is that I only want a sprite for British barbarian light cavalry!
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by vastator
Every time I start the game it crashes immediately after the credits screen, with no error message displayed. What am I doing wrong? ~:confused: What's so annoying is that I only want a sprite for British barbarian light cavalry!
That's what happens when you generate sprites - it hangs a minute or so per sprite on the credits screen, then sends you back to the desktop.
Look in the data\sprites folder and your sprite should be there.
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Stuie
That's what happens when you generate sprites - it hangs a minute or so per sprite on the credits screen, then sends you back to the desktop.
Look in the data\sprites folder and your sprite should be there.
The game's crashing without even opening the sprite generator. Any suggestions?
-
Re: Sprite Generator... CA ?
Hi there. I've tried this sprite generator and it doesn't work.
I get an error message like this:
DATABASE_TABLE error found : unrecognised record id r requested
or this
DATABASE_TABLE error found : unrecognised record id m requested
I created the sprite_script.txt. If i open the file and write "barb_female_peasant" (without the ""), i get the first error message. If i write "camel numidia", i get the second error message.
It doesn't create any sprite files (i've created the sprites folder though).
The command line is:
...\Rome - Total War\RomeTW.exe" -sprite_script -show_err
I use a fresh installation of RTW with the 1.2 patch. I copied the preferences posted in this thread but it still doesn't work.
Any ideas? Thanks in advance!
-
Re: Sprite Generator... CA ?
i had a wierd problem.
some units sprites, sort of, sank into the ground as i zoomed out.
could anybody enlighten me what the reason for that could be?
the same units would work for some factions, but for others i had this rather weird phenomanon.
also, the DDS files weren't accepted recently, only the tga's.
has this got to do with the mod itself? (i installed the latest version of the mod, that is work in progress. i am sure that i didn't have that problem before i did that)
-
Re: Sprite Generator... CA ?
ola all
for my first message I need help ~:eek:
it's not a good thing ~D
I read all post of this tuto and I have a problem ~:confused:
- I have patch 1.2
- -sprite_script in shortcut
- sprite_script is created
- in that txt file have I : greek_hoplite greek_cities
- repertory sprites in data\ is cerated
- copie preferences in my preferences (with erase all)
and when I run the shortcut , I see activision and then rtw crash (ok it's normal) I don't have sprites in the data\sprites
I don't understand :book:
a little help for it please :duel:
I'm french, english it's difficult for me, sorry for my bad langage :bow:
-
Re: Sprite Generator... CA ?
Quick Tutorial Guys:
http://www.freewebs.com/nateswebportal/sprite.html
Post any non working lines in the text file and I will post the correction if I can get it to work.
barb_female_peasant =works
camel numidia =works
-
Re: Sprite Generator... CA ?
thanks for answer ~:)
I'll look it at home but I think my files are good :dizzy2:
in the first time I have tested with greek_hoplite greek_cities
~:cheers:
-
Re: Sprite Generator... CA ?
oki it work now many thanks ~D ~D
my problem : I create sprite_script.txt in data\
now it's ok ~:cheers:
exellent :bow:
-
Re: Sprite Generator... CA ?
-
Re: Sprite Generator... CA ?
could SOMEBDY PLEASE help me here. it is driving me round the bend and i have NO idea how to solev this.
this is what happens:
https://img64.imageshack.us/img64/6979/error7wt.png
i once deployed a unit that had this problem alone, 1 unit vs 1 unit. and it didn't happen then.
ANY help would be welcome. PLEASE i am desperate here, and NOBODY has even tried helping me out yet.
-
Re: Sprite Generator... CA ?
Send me the files to useraron (at) hotmail.com. Though with my computer down, I can reply mid week, if I cannot solve the problem without going into the game.
SNoW
-
Re: Sprite Generator... CA ?
errrrm. still waiting for a reply mate....
do you people not know how to solve this or can't you just be bothered to answer?
-
Re: Sprite Generator... CA ?
-
Re: Sprite Generator... CA ?
Can everyone who is continuing to have sprite problems and or questions please post them here or PM me at the .com. A sprite guide / FAQ is on offer from CA.
Cheers
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Stuie
Did anyone ever get shields working properly on their sprites?
People would like to know. ~:)
-
Re: Sprite Generator... CA ?
Could someone do a step by step visual tutorial of this please?
Like Epistolary Richard's 'adding a new model tutorial'?
https://forums.totalwar.org/vb/showthread.php?t=51750
I have a model of a spartan released by CA that doesn't have a sprite file and I am very confused reading this thread. Plus I suck at this sort of thing.
And from reading this I am worried I could damage my game :O , yes I am that newbish at this sort of stuff...:duel:
Please haaaaalpp!!!!!!!!~:cheers:
-
Re: Sprite Generator... CA ?
Ahhh thankyou SirNateofWessex :bow: Great work!
The link wasn't working the other day.
I'm Code-aphobic. I admit it. Plus this whole thread has me worried about damaging the game... lol! :hide:
Could someone maybe write a little prog that does sprite generation for any particular model that is chosen to do?
Please. ~:cheers:
I for one would be a very grateful newbie.
-
Re: Sprite Generator... CA ?
I am wondering if this works with ver1.3 or it's a v1.2 only.
I can not even put "-sprite_script" on the command line of RomeTW.exe v1.3.
-
Re: Sprite Generator... CA ?
I tried this and got this error:
DATABASE_TABLE error found : unrecognised record id c requested
so I'm guessing this is not a video card problem but something else. I followed the instruction to the letter so I have no idea why this happened.
-
Re: Sprite Generator... CA ?
does this work with 1.3
all i'm getting are black tga files that don't have alpha chanels
-
Re: Sprite Generator... CA ?
i've been able to make sprites with 1.2 but not 1.3, has anyone tried 1.5?
-
Re: Sprite Generator... CA ?
I tried this and got this error:
DATABASE_TABLE error found : unrecognised record id c requested
Hi there. I've tried this sprite generator and it doesn't work.
I get an error message like this:
DATABASE_TABLE error found : unrecognised record id r requested
or this
DATABASE_TABLE error found : unrecognised record id m requested
I created the sprite_script.txt. If i open the file and write "barb_female_peasant" (without the ""), i get the first error message. If i write "camel numidia", i get the second error message.
It doesn't create any sprite files (i've created the sprites folder though).
I use a fresh installation of RTW with the 1.2 patch. I copied the preferences posted in this thread but it still doesn't work.
1-ran game/reseted my graphics on automatic in opptions/video
2-made a folder data\sprites
3-made a file in rtw directory - sprite_script.txt
4-put the descr_model_battle.txt inside the sprite_script.txt/desert_infantry greek_cities
5-run RomeTW.exe -sprite_script -show_err,
6-the errors are shown in the following picture. The letters after the wrong ID are the third letter of the file of "sprite_script.txt"
I'm chinese, english it's difficult for me, sorry for my bad langage .
-
Re: Sprite Generator... CA ?
The Modder who makes a little prog that can do all this will make RTW almost perfect :)
-
Re: Sprite Generator... CA ?
Are sprites really needed?
Is there not some way of making the low poly model visable from 40 distance instead of having to go through all of this?
If so then that would save space in a mod's final download size by not including any sprites. Maybe a super_low.cas could be used incase all 3d models caused the game to go very slow?
-
Re: Sprite Generator... CA ?
what do I have to write in this textfile, when I want to create sprites for horses, for example Genaral horses for the Brutii?
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Pinarius
what do I have to write in this textfile, when I want to create sprites for horses, for example Genaral horses for the Brutii?
Hi Pinarius, I am Ahmose a member of the RTR: Ancient Empires that uses your realistic horses mod, it was DMC before. If you asked that question because you will make sprites for your mod, I am currently making them. If you want when I finish them I can send them to you.
Anyway, here is the method I followed. You must type the name of the unit in the descr_model_battle in the line " type " then the faction that owns the unit. For example, when you want to generate sprite for Genaral horses for the Brutii you must type "generals_horse romans_brutii" be aware as the example I created is from the typos from RTR file.
I hope this will help.
-
Re: Sprite Generator... CA ?
Will this work in BI, i tried to put the txt file in the BI folder but i get no sprites
EDIT:got it to work! Thanks for this amazing tool CA!
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Ahmose
Hi Pinarius, I am Ahmose a member of the RTR: Ancient Empires that uses your realistic horses mod, it was DMC before. If you asked that question because you will make sprites for your mod, I am currently making them. If you want when I finish them I can send them to you.
Anyway, here is the method I followed. You must type the name of the unit in the descr_model_battle in the line " type " then the faction that owns the unit. For example, when you want to generate sprite for Genaral horses for the Brutii you must type "generals_horse romans_brutii" be aware as the example I created is from the typos from RTR file.
I hope this will help.
Thanks, but Lusted already did that. There were just no sprites for the Roman factions, besides red ones, as his mod has a unified Rome. So the only sprites that are missing so far are those for the Senate, the Brutii and the Scipii.
-
Re: Sprite Generator... CA ?
So did anyone manage to create the sprites with 1.5/BI? So far I'm only getting black TGA files.
-
Re: Sprite Generator... CA ?
It's working fine for me.
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by DimeBagHo
It's working fine for me.
Hi,
I observed that the sprite generator worked only with some preferences (I used those posted by Adherbal some time ago).
Could you please post here the preferences you are using for the sprite generator? Just to see if they are different.
Thanks.:2thumbsup:
-
Re: Sprite Generator... CA ?
Here are the preferences that I used. BTW, I can't remember whether this was necessary before, but you do need to convert the resulting .TGA files to .TGA.DDS for them to display properly.
Code:
SAFE_REFRESH:FALSE
USE_TRIPLE_BUFFER:FALSE
USE_WIDESCREEN:FALSE
SUBTITLES:FALSE
MORALE:TRUE
FATIGUE:TRUE
LIMITED_AMMO:TRUE
SUPPLY:TRUE
FOG_OF_WAR:FALSE
RESTRICT_CAMERA:FALSE
DEFAULT_BATTLE_CAMERA:DEFAULT
EVENT_CUTSCENES:FALSE
SMOKE:TRUE
DESYNC:TRUE
SPLASHES:FALSE
GLINTS:FALSE
REFLECTIONS:FALSE
SHADOWS:FALSE
VEGETATION:FALSE
DETAILED_UNIT_SHADOWS:FALSE
GLOSS_MAPPING:FALSE
STENCIL_SHADOWS:FALSE
MULTI_TEXTURE:FALSE
AUTO_SAVE:TRUE
SHOW_BANNERS:FALSE
UNIT_EXPERIENCE_UPGRADE_EFFECT:FALSE
UNIT_SIZE:80
MASTER_VOL:100
SPEECH_VOL:100
SFX_VOL:100
MUSIC_VOL:70
CAMERA_ROTATE:78
CAMERA_MOVE:100
CAMERA_FOV:75.000000
ENABLE_AUDIO:TRUE
ENABLE_MUSIC:FALSE
ENABLE_UNIT_SPEECH:TRUE
DISABLE_BACKGROUND_FMV:FALSE
DISABLE_ARROW_MARKERS:FALSE
AUDIO_3D_PROVIDER:Miles Fast 2D Positional Audio
CLOUD_TRANSITIONS:TRUE
GRASS_DISTANCE:75
AA_QUALITY:AA_OFF
STRATEGY_RESOLUTION:1280x960
STRATEGY_MAX_RESOLUTION:2048x1536
STRATEGY_32_BIT:FALSE
BATTLE_RESOLUTION:800x600
BATTLE_MAX_RESOLUTION:2048x1536
BATTLE_32_BIT:FALSE
UNIT_DETAIL:LOW
BUILDING_DETAIL:ULTRA_HIGH
TGA_CAPTURE_WIDTH:1024
TGA_CAPTURE_ASPECT:1.333333
TGA_CAPTURE_INPUT_SCALE:1
TGA_CAPTURE_RESERVE_SPACE:FALSE
LABEL_CHARACTERS:FALSE
LABEL_SETTLEMENTS:TRUE
MINIMAL_UI:TRUE
CAMPAIGN_MAP_MAX_SCROLL_SPEED_MIN_ZOOM:30
CAMPAIGN_MAP_MAX_SCROLL_SPEED_MAX_ZOOM:30
FIRST_TIME_PLAY:FALSE
ADVISOR_VERBOSITY:0
MUTE_ADVISOR:FALSE
BLIND_ADVISOR:FALSE
CAMPAIGN_MAP_CAMERA:FOLLOW_AI_FACTIONS
CAMPAIGN_MAP_SPEED_UP:FALSE
CAMPAIGN_MAP_GAME_SPEED:99
DISABLE_EVENTS:0
MICROMANAGE_ALL_SETTLEMENTS:FALSE
ADVANCED_STATS_ALWAYS:FALSE
UNIT_USE_SHADERS:FALSE
TERRAIN_QUALITY:HIGH
EFFECT_QUALITY:MEDIUM
VEGETATION_QUALITY:HIGH
KEYSET:0
UNLIMITED_MEN_ON_BATTLEFIELD:FALSE
CAMPAIGN_MAP_CAMERA_SMOOTHING:TRUE
CHAT_MSG_DURATION:10
USE_QUICKCHAT:TRUE
GS_PIDS:TRUE
GS_PIDS_FULL:TRUE
GS_PIDS_CUR:TRUE
ALWAYS_LOGFILE:FALSE
TIMESTAMP_LOGFILE:TRUE
32BIT_UI:FALSE
GS_LOG_RESULTS:FALSE
CHAT_COLOURS:name=ffffa0,private=ff7707,game=94aadc,public=fff777,system=ffffff,lobby=fff777,setup=94aadc,playing=ff0707
EDIT_SETTLEMENT_NAMES:FALSE
-
Re: Sprite Generator... CA ?
Thanks.:2thumbsup:
I will give a try next days.
-
Re: Sprite Generator... CA ?
@lt1956, what tga-dds converter were you using?
And anyone still having problems with the hundreds of tga's, it was turning off the -ne tag that made it work for me.
-
Re: Sprite Generator... CA ?
I seem to be having the same problem where the sprites look like they're sinking into the ground, or are just laying on the ground, anyone have any ideas?
-
Re: Sprite Generator... CA ?
I remember that on my Radeon 9000 (64MB) I needed to switch in game color depth to 16bits, before launching sprite generator.
Otherwise I get corrupt files.
P.S.
Helped me in making fixed sprites for Creatan Archers back in times of 1.2 patch.
-
Re: Sprite Generator... CA ?
I definetly tried that. I tried changing all sorts of options around. I was thinking my video card just couldnt do it. I have a saphire radeon 9000 128mb. Whats wierd is when I try to take a SS of it, the units look fine in the screen shot? I'm just using the print screen key, and they are saved as tga's I can view with photoshop.
Anyway thanks for the response man.
-
Re: Sprite Generator... CA ?
I have read this thread through 3 times now, and I have tried every option that you guys have presented. But my tga-files are still totally black. My card is a ATi X800 Pro 256mb card with latest drivers. Any clues?
-
Re: Sprite Generator... CA ?
Have you tried the set of preferences Adgerbal posted near the beginning of this thread? I used it and it worked like a charm
-
Re: Sprite Generator... CA ?
It seems that you get black tga's if you still have anti-aliasing on. Pasting in the preferences should fix this but see below:
DimeBagHo, gave me this reply when I had a similar problem:
Quote:
Did you put the new preferences in the right place? A normal install of RTW will have two preferences files. One in the game directory that is now obsolete, and one in the preferences folder. It's the one in the preferences folder that you need to replace/edit.
Another problem that people might run into is that most graphics drivers allow you to force anti-aliasing from the control panel settings for your graphics card. Obviously you need to switch that off as well.
(Guess who'd pasted them in the wrong file)
-
Re: Sprite Generator... CA ?
Yes, I have anti-aliasing turned off as I used the preferences you refer to. And still I get black tga's :no:
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Makanyane
It seems that you get black tga's if you still have anti-aliasing on. Pasting in the preferences should fix this but see below:
DimeBagHo, gave me this reply when I had a similar problem:
(Guess who'd pasted them in the wrong file)
Ahh, I must have missed this one. It works now, thanks :-)
-
Re: Sprite Generator... CA ?
I have done 1.6 sprites using the BI exe, if you just follow the same directions in the beginning of the thread, it will work.
-
Re: Sprite Generator... CA ?
hello, i am Jumper but doesn't jump jet
I do have a question and i am not sure if this is the right place to put my question.
So i sorry.
I wanted to ask for making Sprites.
what i have done is this.
put a txt file Sprites_Script under Map Rome -Total War
change AA in preference in AA_QUALITY:AA_OFF
change 32_BIT in STRATEGY_RESOLUTION:1024x768
STRATEGY_MAX_RESOLUTION:1280x960
STRATEGY_16_BIT:FALSE
BATTLE_RESOLUTION:1024x768
BATTLE_MAX_RESOLUTION:1280x960
BATTLE_16_BIT:FALSE
Placed a map Sprites under Map DATA
the unit i wanted to make a sprite is;
barb_cavalry thrace generals horse
did make a sortcut of Rome-total war icoon
and put in the propeties -Sprites_Script -Show_err
and i do have a clean Rome Total War install
Still it doesn't work what is wrong with me
Thank you and again sorry if i post this in the wrong place..
-
Re: Sprite Generator... CA ?
First in your preferences I think it should be
STRATEGY_32_BIT:FALSE
so effectively it is 16 bit - I think that's the correct way of writing it.
If you look at 1st / 2nd page of thread I think it shows that adding 'generals horse' at end is incorrect. You just need
(descr_model_battle)'type' faction
in script file, if that doesn't help post again as I could have interpreted the mount effect bit wrong!!
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by JeromeGrasdyke
Ah. Yes. The sprite generator. It's there already, but I'm afraid it's not all that user friendly. Like many of the tools used for Rome it's embedded in the main Rome exe, and you access it by starting up the game with "-sprite_script" on the command line. It was made available in the 1.2 patch exe, and won't be there in earlier versions.
What this does is cause the game to start up looking for a file called "sprite_script.txt" in the game's root directory, which it uses to construct the sprite pages and .spr files for the sprite imposters into the data/sprites directory. This process references data in the descr_model_battle.txt file to create sprites which correspond to the different faction colour / model texture pages.
"game with "-sprite_script" on the command line", i dont understand what it means by this
-
Re: Sprite Generator... CA ?
Its same as where you put -show_err, right click on your desktop icon, select properties and in target box, add a space after ...exe" and add -sprite_script
so result looks like
"X:\blah\blah\RomeTW-BI.exe" -sprite_script
-
Re: Sprite Generator... CA ?
-
Re: Sprite Generator... CA ?
haha, I finally got it to work. Thank you.
ah, nvm, i knew it was too good to be true. the sprites were made no problem, bu the when i tried to play a game, this signal that said:out of area - came up. then i went to adherbal(?) preference thing on the second page, and just as battle was about to begin, it went to that stupid signal again. Please help!!
-
Re: Sprite Generator... CA ?
Quote:
Originally Posted by Jumper
did make a sortcut of Rome-total war icoon
and put in the propeties -Sprites_Script -Show_err
i do believe it is supposed to be -sprite_script, not sprites_script. but don't take my word for it, I can't get it to work either. and sorry about triple post.
-
Re: Sprite Generator... CA ?
Its definitely -sprite_script (singular)
Meghas Alexandros, haven't seen your error before
Quote:
this signal that said:out of area
sounds a bit more like a graphics card glitch than a RTW error message, does that seem right? If thats possible have you done rest of process and converted the tga's the generator gives you to tga.dds files? Think game runs with them left as tga but they are bigger files that way so may overload something?????
Also check what it has generated as tga's for you to see if they look right. You should get roughly between one and five tga's for each sprite (depending on size of unit - guys with long spear get more files) and if you open tga in your graphics program you should be able to see lots of very small men per tga (well blobs really). Mainly just make sure you haven't got 100's per sprite or blank tgas. Finally check the DMB sprite line is correct.
-
Re: Sprite Generator... CA ?
I doubt it is my graphics card, because I can run rtw and m2tw almost perfectly. I am going to put in my original preference text into the folder and see if it plays then. I will also try to take a screenshot of the message so you can see it.
It did generate the sprites. There was three of them. In the descr_model_battle text, i changed the sprite for my hastati from the original to whatever name the sprite created was called.
-
Re: Sprite Generator... CA ?
which set of sprites do I use? I have 3 of them. I tried to take a screen of the error sign, but when I loaded the screen outside of the the game, it was the actual loading screen, except that wasn't what I saw. My guess now is maybe my moniter could possibly have gotten disconnected a bit? and can someone please post the vanilla preference text so I can see if that is it?
thanks.
-
Re: Sprite Generator... CA ?
Sorry I don't have original preferences - mangled mine a while ago.
Not sure what you mean by three sprites; what you should get for EACH sprite is something like:
Quote:
alemanni_horse_medium_sprite.spr
alemanni_horse_medium_sprite_000.tga.dds
alemanni_horse_medium_sprite_001.tga.dds
alemanni_horse_medium_sprite_002.tga.dds
number of tga's it generates varies - and example shows naming after they have been converted to .tga.dds files, all of those files stay in sprites folder (only thing you delete is the original .tga files after you've converted them to .dds)
For that example what you put in DMB is just reference to the .spr file i.e.
Quote:
model_sprite alemanni, 100.0, bi/data/sprites/alemanni_horse_medium_sprite.spr
As you mentioned hastati I assume you're using RTW not BI, I'm not sure if you might have to do something different in that as original sprites are all in packs.
(perhaps call folder with new sprite in something different to sprites and change path to match, so you know its looking there and not in packs)
-
Re: Sprite Generator... CA ?
Thanks for your help, I don't think it generated a .spr file, but I will check none the less. I took my preferences from my other comp and put them on the one where I was having problems, and it worked fine. I will just have to fiddle with the system a bit.
-
Re: Sprite Generator... CA ?
This may sounds stupid, but I'm not able at the moment to generate sprites at all.
This is what I'm doing in RTW 1.5.
- Shortcut with -sprite_script and -show_err.
- sprites folder in Data
- sprite_script.txt in root directory; the text inserted is only
Quote:
barb_peltast_dacia dacia
(I've also tested with other units)
- copied preferences by DimeBagHo in preferences folder.
- turned graphic card to 16 bits
When I run RTW with the shortcut, I get the normal behavior, but when it kicks me to the desktop, I have neither error message nor sprite in the corresponding folder.
This is a new computer:
NVIDIA GeForce 7300 LE
Pentium D 3.4 GHz
RAM 2 GB
In the old one with only P4 1.4 GHz, RAM 256 MB and GeForce MX100 I was able to make lots of sprites with the same procedure (perhaps it was with RTW 1.2)
Any idea about what I'm doing wrong?:help:
-
Re: Sprite Generator... CA ?
First thing to check is that
barb_peltast_dacia
is set up as type in DMB with texture for dacia in that example.
Only problems I know of in creating sprites are to do with correct setting of 16 bit graphics and no-antialising. Depending on graphics card you may need to change those settings both within game (i.e. preferences.txt - err watch out for where you are placing that as it needs to be one in relevant preferences folder not root folder) and also in your general graphics card menu settings, as some overrule others with unpredictable results.
Also unfortunately there do seem to be some things some computers will not do - our mod had a little saga as one comp. wouldn't make sprites - whereas mine would, but mine wouldn't allow mass .dds conversion, and other would - if all else fails, either dig out old computer or find volunteer (I'll do sprites to tga stage if you send me all bits, inc DMB and script)
-
Re: Sprite Generator... CA ?
One other mistake I've seen made before is that in windows the default is to hide the file extension of known file types so when creating the sprite_script.txt file it accidentally gets created as sprite_script.txt.txt (where the second .txt is hidden).
-
Re: Sprite Generator... CA ?
Thanks for your answers.
It is not a question of file extension, I checked it.
Regarding the graphic card and settings, I thought that problems in this aspect would generate black or wrong sprites, but something would be generated.
If the mistake were in the txt file, I should receive any error message from -show_err (although this function doesn't work properly for me in last time).
I wonder what would happen if the mistake is in the command line, but I've checked thousands of times.
I think that I will try with the old computer (if it is able to start :juggle2: ).
-
Re: Sprite Generator... CA ?
Has anyone worked out how to create sprites when all your files, textures, etc. are all in a modfolder? (BI) I tried putting some stuff into the main folder in the hope it would not read too deep before executing the script, but no luck - it failed.
Thx.