SU(3)xSU(2)xU(1) wrote:Bob,
I think you can do it quite easily. Just open a 3ds file by a text editor. Most of text editors have option, which is usually called "replace". You can write there an old texture file name (uppercase letters) and a new texture file name (lowercase letters) and text editor should automaticaly replace the name of the texture file in all places in the code of 3ds file.
I hope it will help.
Paul
Unfortunately, I get only a garbled binary mess when I open a 3ds file in this manner. Haven't found a program I can use (while in the binary mode) which will allow a find and replace yet.
I have converted the defiant.3ds model to an ASCII cmod format, and I have found/replaced all of the texture references in this file using Notepad2.
However, now I have another problem. The resulting ASCII cmod is 20+ MB in size, and I doubt that anyone wants a model file of that size in their Celestia installation.
So...
My question now becomes how do I either create a binary cmod from an existing ASCII cmod, or how do I convert the ASCII cmod back into a 3ds file? I have tried to use the 3dstocmod converter to "fix" the cmod and output it as a binary cmod, but the program keeps crashing after a brief interval. I can do the opposite okay, but I simply cannot create a binary file from this particular cmod.
In other words, I can create an ASCII cmod from a binary cmod, but I cannot for the life of me go the other way. Is there a solution to this? Is this particular problem due to the size of the file here?
Is there some other way to modify the 3ds file itself? I have tried ALL of the programs I thought might work here, but to no avail. Notepad2, Wordpad, Notepad, etc.
Any other suggestions here?
Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN