Editing the in-game textures - RPGWatch Forums
Your donations keep RPGWatch running!
RPGWatch Forums » Games » Deep Shadows Games » Xenus 2: White Gold » Editing the in-game textures

Default Editing the in-game textures

February 8th, 2011, 04:50
Below is a process for editing the textures in White Gold. You'll need a working, unpacked copy of the game with the SDK extracted into the game directory (group files removed after unpacking).

The relevant file extensions are:

.MAT - these files are just text files which describe a few things about a material, e.g. opacity and the texture file name.

.DT1 - this is the compressed TGA file.

Relevant directories:

<game directory>\CACHE\TEXTURES\
<game directory>\MATERIALS\
<game directory>\TEXTURES\ (doesn't exist by default)

Step 1 - get the original TGA image:

- I do this by finding the relevant material in RF2View or levedit2 (from the SDK); there's a function provided in both of those applications for viewing materials.
- Once you've found the material you want, right click on it to bring up a window which allows you to view the TGA. (select it in the drop down list)
- Capture it (I use Corel Capture but a simple screenshot will do too I guess).
- Paste the image into your image editor of choice, and save it as TGA. NOTE: the image size (NOT the file size) needs to be the same size as the original image, this info is shown in RF2View / levedit2 (e.g. 500x500 pixels).

NOTE: you could also use 3DRipper (http://www.deep-shadows.com/hax/3DRipperDX.htm) to rip the textures if you can't find them using the SDK, I haven't tried it but it sounds like it works OK. Thanks to T-braze for the tip.

Step 2 - once you've altered the TGA to your liking, then it needs to be converted back into the .DT1, .DT2 format used by the Vital Engine 3:

- Using the KURSOR_1_TGA.DT1 texture as an example, find the original file. In this case it's in the <game directory>\CACHE\TEXTURES\HUD\ directory.
- Delete it and any .DT2, DT3 files with the same name.
- Rename your new TGA file to KURSOR_1.TGA and place it into <game directory>\TEXTURES\HUD\ (this folder won't exist by default, so create it)
- Re-run RF2View or levedit2, it should detect your unconverted texture and convert it, in this case it should create 2 new files in the <game directory>\CACHE\TEXTURES\HUD directory: KURSOR_1_TGA.DT1, and KURSOR_1_TGA.DT2

And that should be it, if you want to change the name of the texture for whatever reason then you can do that too, but you need to edit the relevant .MAT file to point to the new texture name.

To release these new files as a mod they need to be extracted into <game directory>\CACHE\TEXTURES\HUD, and they'll then be used instead of the ones in the group files.
Last edited by badmofo; February 14th, 2011 at 04:24.
badmofo is offline


badmofo's Avatar
Tired but happy


Join Date: May 2010
Location: Australia
Posts: 368
Mentioned: 0 Post(s)

.dt1, convert, mod, sdk, texture
RPGWatch Forums » Games » Deep Shadows Games » Xenus 2: White Gold » Editing the in-game textures
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 07:43.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
vBulletin Security provided by DragonByte Security (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright by RPGWatch