I have noticed that part of the problem is the original creator used compressed tga files. This is by default from graphics programs.
The symptom is the error still exists even though the texture is listed in the directory.
Using GIMP or some other photo-editing program, I was able open the texture in the program, which means that it is not corrupt (mostly), then resave it. I do the save-as dialog so the program will prompt me for the file type. I chose targa (tga) and unchecked RLE compression. This fixed the error in nearly 99% of the cases. The other 1% have other errors which I can't seem to figure out yet.
The same issue exists for BMP files. If the creator had used 8-bit BMPS they won't load. They have to be 24-bit and uncompressed. This to fixed about 99% of these problems.
There are those assets that are missing texture files, but have the texture.txt. CM2 brings up an error stating that they are missing or can't be loaded. There are two ways to fix this problem:
1) Delete the texture.texture.txt file
This is good if there is no other source for the texture particularly when the object is not part of a pack.
2) The alternative, which works with assets that are in packs.
Open up one of the other pack members and look for the same texture name. I pick one that doesn't have an error since this means that the texture exists in there. I copy out the texture file and save it to another folder. Then close the good asset and copy and paste, from my temporary folder, the missing texture.
It probably isn't necessary to close the good asset, but I do this because of brain-fart syndrome where I might do something stupid with the wrong folder.
With these methods, I was able to fix many assets that for some reason never showed errors in TRS2006, but drove TS2009 bonkers. The process is easy but time consuming if there are a lot of assets installed on the system.
John
The symptom is the error still exists even though the texture is listed in the directory.
Using GIMP or some other photo-editing program, I was able open the texture in the program, which means that it is not corrupt (mostly), then resave it. I do the save-as dialog so the program will prompt me for the file type. I chose targa (tga) and unchecked RLE compression. This fixed the error in nearly 99% of the cases. The other 1% have other errors which I can't seem to figure out yet.
The same issue exists for BMP files. If the creator had used 8-bit BMPS they won't load. They have to be 24-bit and uncompressed. This to fixed about 99% of these problems.
There are those assets that are missing texture files, but have the texture.txt. CM2 brings up an error stating that they are missing or can't be loaded. There are two ways to fix this problem:
1) Delete the texture.texture.txt file
This is good if there is no other source for the texture particularly when the object is not part of a pack.
2) The alternative, which works with assets that are in packs.
Open up one of the other pack members and look for the same texture name. I pick one that doesn't have an error since this means that the texture exists in there. I copy out the texture file and save it to another folder. Then close the good asset and copy and paste, from my temporary folder, the missing texture.
It probably isn't necessary to close the good asset, but I do this because of brain-fart syndrome where I might do something stupid with the wrong folder.
With these methods, I was able to fix many assets that for some reason never showed errors in TRS2006, but drove TS2009 bonkers. The process is easy but time consuming if there are a lot of assets installed on the system.
John