replaceing TGA files

This forum is for outdated or irrelevant Modding Information that may or may not be 3 months old.

Moderator: thunderchero

Post Reply
User avatar
darkpony50
Cadet 1st Year
Cadet 1st Year
Posts: 1
Joined: Tue Apr 29, 2008 2:00 am

replaceing TGA files

Post by darkpony50 »

:?: Im comfused, I am trying to test mod my game, to maybe realese my own mod on here. I am triying to see if I can get new pics of all the races in the game here what the deal is. For example I copied stbof.res and then use winzip and extracted it to a temp folder I opened my Adobe Photoshop CS3 and went to my temp folder and found the andorian.tga then I found a better andorian pic and saved it over the original andorian.tga, I made sure to save it as tga.

I opened up winzip, opend up stbof.res in the game dir., then added the new andorian.tga to the games stbof.res. Now when I go to play the game and see if it worked the game will still show the original andorian pic??? I don't understand why? When I have winzip open on the games stbof.res file and then open andorian.tga with photoshop, i see my new pic that I added, but it does not show up in the game. and anyone help me here. sometimes the game will crash.
matress_of_evil
Lieutenant-Commander
Lieutenant-Commander
Posts: 213
Joined: Sat Apr 26, 2008 2:00 am
Location: South Wales - Not The Australian One, The Other One!

Post by matress_of_evil »

I'm not sure if this applies to all the graphic files in the game or just ship textures, but try registering the graphics with the Ultimate editor.

Download the editor from the downloads section, then load it up (Click on the file called UE.jar). The Ultimate Editor needs Java installed in order to run. When it's loaded, go to file, then open, and open your modified stbof.res file. Next, click on edit, then graphics, and click on register textures. A load of files will flash up on the screen, and then a message will appear saying it is complete. Click on file, then save. Saving is considerably slower than registering the graphical files, so you'll have to wait a while. Once that's done, try loading up the game again.

Good luck. :)
Check out the latest news for Star Trek: Supremacy, Birth of the Empires and more at Star-Trek-Games.com!

"Anyone without a sense of humour is truly at the mercy of the rest of us."
User avatar
jigalypuff
Past Administrator
Past Administrator
Posts: 238
Joined: Sat Apr 26, 2008 2:00 am

Post by jigalypuff »

save all tga files at 16bpp uncompressed
User avatar
DCER
Code Master
Code Master
Posts: 683
Joined: Sat Apr 26, 2008 2:00 am

Post by DCER »

Don't use winzip, the newer versions currupt stbof.res, you can use winrar to do the job.

Registering textures is only for gif files. If your photo editing tool doesn't support 16-bit tga, you can try UE's tool to convert the image. Look under Util ->Graphics

When the game crashes check the crash.log file and post it if you're not sure what the problem is. I'm sure someone will try to help.

If you have problems adding files you can also use UE to do it, but don't add too many files (for instance installing large mods) or UE will run out of virtual memory.
Post Reply

Return to “Modding Information Archive”