Page 1 of 1
TEXTURES
Posted: Thu Sep 04, 2014 5:46 pm
by enric
Probably is a stupid question, by I can't find the texture for US_INFANTRY (should it be on the BA root DATA/BATTLE/UNITTEXTURES, no?)
Re: TEXTURES
Posted: Thu Sep 04, 2014 6:49 pm
by Richcat
Have a look for a GI.psd in there thats what the us_infantry_0.s4f file references
Re: TEXTURES
Posted: Thu Sep 04, 2014 7:45 pm
by enric
Richcat wrote:Have a look for a GI.psd in there thats what the us_infantry_0.s4f file references
Can you be more explicit?
I have no application to open us_infantry_0.s4f, ?
Re: TEXTURES
Posted: Thu Sep 04, 2014 7:52 pm
by enric
Richcat,
Thank you you've given me the clue.
Re: TEXTURES
Posted: Thu Sep 04, 2014 7:55 pm
by pipfromslitherine
The s4f is a binary file, but if you open with a text editor you should be able to see some image filenames in with the muck. The texture for a unit doesn't have to have the same name as the unit s4f or other files. In this case it looks like it is GI.DDS
Cheers
Pip
Re: TEXTURES
Posted: Thu Sep 04, 2014 8:06 pm
by enric
pipfromslitherine wrote:The s4f is a binary file, but if you open with a text editor you should be able to see some image filenames in with the muck. The texture for a unit doesn't have to have the same name as the unit s4f or other files. In this case it looks like it is GI.DDS
Cheers
Pip
Thanks Pip, this was the clue that Richcat just gave me.
Opening the s4f with a editor, at the beginning of the garbage of characters, I see the name gi.psd, no GI.DDS but, in TEXTURES I found a GI.DDS that do the job... so I'll assume that if s4f refers as XX.psd it become xx.DDS....
Re: TEXTURES
Posted: Thu Sep 04, 2014 8:23 pm
by Richcat
Sorry Eric - Pips right its not as I said GI.pds but as Pip said GI.dds
I always thought the texture file referenced in the s4f files had to be a .dds or wouldn't work. I sure thats what used to happened a few years ago maybe its no longer important as long as the filename is correct, and can be .gif, .psd etc .

Re: TEXTURES
Posted: Fri Sep 05, 2014 3:17 pm
by pipfromslitherine
The texture loader always looks for the types it can load. Richard just builds them pointing to the 'originals' I imagine and then claps in innocent artistic happiness when it still works after he saves it down as a DDS or TGA
Cheers
Pip