And now I am pleased to say I have finally done it.
This program can do everthing you need to a TXD (except preview right on a few cards, but if you save it than its right )
I am using DirectX for 90% of the work that this program does (converting Bits, MipMaps, Alphas, Preview.)
This is a BETA release and here are a few bugs I know of:
MipMaps will not work on cars, peds, weapons. (SA just dosn't support them, and why would you mipmap a dynamic object anyway)
There is a problem with Radeon cards that makes my 2D preview look like a 3D landscape. (If any of you have a problem please PM and let me know, I'm working on trying to fix it.)
Problem with reading the Alpha channel of a DDS file on import (will be fixed very soon)
Now some information about what it can do:
It will allow you to create new TXDs
Allow for Adding/Deleting of Images from TXD
Enable/Disable Alpha Channels
Convert 16-bit to 32-Bit (and 32-bit to 16-bit)
Supports Import of bmp, jpg, tga, dds, png
Supports Export bmp, dds (more will be added)
TXD Builder Download
Edit 2: Even though I have not really gotten any more fed back on the Radeon issue, I have been hard at work trying to fix it. the only thing I could figure is that the vertexbuffer was being cleared on each pass, so I made it so it sets it on the render loop.
Ok, Here is a graph of the cards that work so far:
ati saphire [.........]
Nvida & Other:
To test the Preview orblem, download and extract--->start "TXDBuilder.exe"--->click on "New TXD"--> and tell me if it shows up right
Please help me fix the problems, the Data part is no problem, you can use all the features with no problem (if you export the file its right), its just the preview.
Edited by REspawn, 14 February 2007 - 02:34 PM.