Page 1 of 1
Textures not being recognized
Posted: 06 Jun 2010, 13:27
by shadow-king
i have a textureing problem, were instead of a custom unit being textured, it has ALL the textures on it in TINY squares. i am useing the 3d0 builder for spring, and the units i make show up and they work fine but the textures are all wrong. i just cant figure it out. what do i need to do to get the spring textures to work, and is there a way to bring old TA (or any other) textures in bulk (like the old .ufo files) so that spring will recognize them?
any help would be great thanks

Re: Textures not being recognized
Posted: 06 Jun 2010, 13:31
by Beherith
Seems like it got mapped to the atlas made from all the old TA textures. Unzip BA mod with 7zip and look at unittextures/tates for all the old textures.
Stand by, someone more knowledgeable will hopefully be able to answer your question.
Re: Textures not being recognized
Posted: 06 Jun 2010, 13:39
by shadow-king
hm ill take a look.
help or no, thanks for tryin ^_^

Re: Textures not being recognized
Posted: 06 Jun 2010, 14:36
by Pressure Line
remember that your 3do textures go in $modname/unittextures/tatex/ not straight in /unittextures/
Re: Textures not being recognized
Posted: 07 Jun 2010, 06:35
by shadow-king
Pressure Line wrote:remember that your 3do textures go in $modname/unittextures/tatex/ not straight in /unittextures/
sadly i have tried this and still get the same results.
Re: Textures not being recognized
Posted: 07 Jun 2010, 07:07
by Pressure Line
do you get lines in the infolog like this:
Code: Select all
[ 1132] /give inf_arifle
[ 1133] Unknown texture explauncher00
[ 1133] Unknown texture explauncher00
[ 1133] Giving 1 inf_arifle to team 1
although i think its probably an issue with your video card/drivers, take a peek at
this thread.
Re: Textures not being recognized
Posted: 07 Jun 2010, 09:01
by shadow-king
Pressure Line wrote:do you get lines in the infolog like this:
Code: Select all
[ 1132] /give inf_arifle
[ 1133] Unknown texture explauncher00
[ 1133] Unknown texture explauncher00
[ 1133] Giving 1 inf_arifle to team 1
although i think its probably an issue with your video card/drivers, take a peek at
this thread.
yeah unknown texter, thats it. thanks for the thread ill look at it now ^_^

Re: Textures not being recognized
Posted: 07 Jun 2010, 09:31
by Pressure Line
possibly a typo then. the 3do texture needs to have the EXACT same name as the one assigned to it.
Re: Textures not being recognized
Posted: 07 Jun 2010, 09:47
by Beherith
Would you mind making a screenshot so that others can see this bug too?
Re: Textures not being recognized
Posted: 07 Jun 2010, 10:12
by zwzsg
Beherith: No need for screenshot. The description was very clear: It looks like that:
The cause of the bug is that it misses the textures. That we said to you already. What you weren't said, is that Spring cannot read .gaf files, you have to extract the .bmp frames from the .gaf, with a tool called GafDump. Go to a website of Total Annihilation modding tools, such as
FU, and download GafDump. Create a shorcut or a batchfile to GafDump.exe, so that you can run GafDump.exe with the option -b in the folder where you .gaf files are. Then move all the .bmp it created into /UnitTextures/tatex/
Also, the memory that Spring reserve for 3do texture is limited, so if you have lots of large textures for your 3do, this still won't work.
Oh and if one of your 3do texture is team colored, you must add its name (without the 00) into \UnitTextures\tatex\teamtex.txt
Pressure Line wrote:possibly a typo then. the 3do texture needs to have the EXACT same name as the one assigned to it.
Wut what? First, "3do texture" is never singular except on the shittiest units. Then same name as what? And anyway, it's not the same name, there are 00 appended. Lastly, you do not write texture names manually, so it cannot be a typo.
Re: Textures not being recognized
Posted: 07 Jun 2010, 10:25
by Wombat
this looks quite epic actually :D
Re: Textures not being recognized
Posted: 07 Jun 2010, 10:43
by shadow-king
zwzsg wrote:Beherith: No need for screenshot. The description was very clear: It looks like that:
The cause of the bug is that it misses the textures. That we said to you already. What you weren't said, is that Spring cannot read .gaf files, you have to extract the .bmp frames from the .gaf, with a tool called GafDump. Go to a website of Total Annihilation modding tools, such as
FU, and download GafDump. Create a shorcut or a batchfile to GafDump.exe, so that you can run GafDump.exe with the option -b in the folder where you .gaf files are. Then move all the .bmp it created into /UnitTextures/tatex/
Also, the memory that Spring reserve for 3do texture is limited, so if you have lots of large textures for your 3do, this still won't work.
Oh and if one of your 3do texture is team colored, you must add its name (without the 00) into \UnitTextures\tatex\teamtex.txt
Pressure Line wrote:possibly a typo then. the 3do texture needs to have the EXACT same name as the one assigned to it.
Wut what? First, "3do texture" is never singular except on the shittiest units. Then same name as what? And anyway, it's not the same name, there are 00 appended. Lastly, you do not write texture names manually, so it cannot be a typo.
thank you SO much. ill try this asap. thank you SO MUCH again

Re: Textures not being recognized
Posted: 07 Jun 2010, 11:42
by Beherith
Thanks zw, this also cleared up alot of haze about 3do textures for me.
Re: Textures not being recognized
Posted: 07 Jun 2010, 12:22
by shadow-king
well i still have problems, but i think its cause i have to many textures. but in any case thanks so much for all the help ^_^
Re: Textures not being recognized
Posted: 07 Jun 2010, 12:29
by zwzsg
It's not so much the number of texture, than the total area of all 3do textures. So if your units are using super large textures, shrink them (open the .bmp and use the resize tool of your favorite image editor).
Re: Textures not being recognized
Posted: 07 Jun 2010, 12:41
by Pressure Line
zwzsg wrote:Pressure Line wrote:possibly a typo then. the 3do texture needs to have the EXACT same name as the one assigned to it.
Wut what? First, "3do texture" is never singular except on the shittiest units. Then same name as what? And anyway, it's not the same name, there are 00 appended. Lastly, you do not write texture names manually, so it cannot be a typo.
Poor phrasing on my part. That sentance should have read:
The 3do texture file (bmp/png/whatever) needs to have the EXACT same name as the one assigned to the face on the model.
Therefore if I assign a texture called "pressurecamo00" i need to have a texture in the /tatex/ directory called "pressurecamo00.bmp" (or whatever format I choose)
Re: Textures not being recognized
Posted: 07 Jun 2010, 13:35
by zwzsg
Pressure Line wrote:The 3do texture file (bmp/png/whatever) needs to have the EXACT same name as the one assigned to the face on the model.
Therefore if I assign a texture called "pressurecamo00" i need to have a texture in the /tatex/ directory called "pressurecamo00.bmp" (or whatever format I choose)
And I say: No! If your texture file in /tatex/ is called "pressurecamo00.bmp" then you need to assign to the face a texture called "pressurecamo". The 00 is the frame number, useful for animated texture (not supported by Spring) and team colored texture.
Re: Textures not being recognized
Posted: 07 Jun 2010, 13:59
by Pressure Line
ahh, my mistake. but he is probably tryn to use a .gaf directly from what i gathered in his post.
Re: Textures not being recognized
Posted: 08 Jun 2010, 19:39
by Argh
IIRC, you have to rename all the BMPs from the GAF with a "00" appended before ".bmp", or they won't work correctly.
And you really want to remove all the preshading for OTA, since it's really wrong for a fully 3D engine. Use 3DOBleacher and an appropriate script to cull the high / low contrast items from the 3DOs.