PEVSoft Texture 2 TGA (Console Version) in the ADD-ons

hermit23

New member
Ok, its setup (I think), what do I do with it? I vaguely understand what it does. But why/or for what purpose should I use it? Do texture.txt files in older content need to be converted to .tga for TS2009? I am a complete noob to this stuff but I know a .txt file is text and a .tga file is graphics.

ERROR: The texture 'wood.tga' failed to load.

I have one item BI Gen Gds Unload Dock that refuses to load a wood.tga file that is included in the hash file. (I can load this wood.tga in PSP) I think the wood.tga is the dock boards. The item shows red in the list but works in game.

Wondering if I ran the wood.texture.txt thru the TtoT if this error would be cured. Is that the purpose of this utility?
 
The purpose of Texture2TGA is to convert Auran binary textures, which have a file extension ".texture" to TGA images, and make the .texture.txt pointer file to go with it. (the texture.txt file contents point to the TGA image so the rendering software can find the image to use as a texture)

The message you are getting may mean that you have an orphan texture.txt file with no image with it.. In the first instance try renaming the extension of the offending texture.txt file to ".tx1" .. If the error message disappears then you can delete the .texture.txt file.

Otherwise you will have to find (or create) an appropriate image to go with the file (not do easy) The first line in the texture.txt file will tell you what to name the image.. for example "Primary=wooden.tga" means the image must have the name "wooden.tga". Any new image must be sized in pixels to a power of 2, meaning the only sizes accepted are 2,4,8,16,32,64,128,256,512,1024 or 2048. They can be square or rectangular but both pixel counts must be one of those numbers.
 
Last edited:
"BI General Goods Unload Dock" <kuid2:128094:27001:1>

Looking in the folder hash-BB, there are two separate 'content folders', with identical files. This I take to be normal. Comparing these with one other 'working' item (Woodchips Loader), it appears the "wood.texture" file is missing from both "Gen Gds" content folders. There are only two files pertaining to 'wood';

In the 'content folders':

basic.im
$screenshot$.jpg
bi gengoods.gmax.txt
config.chump
icon.gengoods.tga
mygengoods.gs
readme.txt (only mentions how to access the gmax file)
*sawdust.texture
*sawdust.texture.txt
*sawdust.tga
wood.texture.txt
wood.tga

There are three files that don't belong in there (I don't think) as they pertain to the BI Woodchips Loader and are found in its own 'content folder'. They are; sawdust.texture, sawdust.texture.txt and sawdust.tga. This item works and has no errors. They may have been put in by mistake.

Gonna try it with those "sawdust files" removed. Might be loading the sawdust image first and can't deal with a second .tga.

***** Now an additional error without the 'sawdust files'. Seems the basic.im doesn't like that.

Error: Texture 'sawdust.texture' is missing or could not be loaded for mesh 'hash-BB\content h7yffur0157\basic.im'.

Need a wood.texture file I'm assuming?
 
Last edited:
In TS2009 we do not edit the files in the local folder. The files here are encoded for the game and we should not play with them.

Based on the above files list, I think you will solve your problem by opening Content manager, and then opening the asset for editing. Don't do anything else, just commit the asset back into the game. Use the right click menu to find "open for edit" and "commit edits"

From your file list, the "wood.texture" is missing. When you open for edit you will only see the "wood.tga" and "wood.texture.txt". The file "wood.texture" is made during the commit process, and it is the one that the game uses to colour your object. Don't worry at this stage about the sawdust files.. They are doing no harm, just taking up a bit of space.
 
I downloaded kuid2:128094:27001:1 and the only error showing is failed to load wood.tga. I looked at basic.im with PEV's mesh_text_viewer and the only texture used with this mesh is sawdust. Opened it with CM2 to Edit - Edit in Explorer. Deleted wood.tga, wood.texture.txt, readme.txt, and bi_gengoods.gmax.txt. Saved and commited without errors. Tested with a small layout, SD40 loco and 2 FlatCarATSF93393ant ,<kuid2:56063:180608:2>. Loaded the flatcars with 5 general goods each, drove to the dock and unloaded ok.

Bob
 
That's the answer then Bob, thanks. Its the 'wood' files that are unnecessary.

I'm finding quite a few errors with stuff downloaded. Apparently there are some that won't work without fiddling. I'll just have to make do without them or I'll be monopolizing the forum with ??'s.

Thanks again, any others that are iffy I'm going to delete.
 
Back
Top