Jump to content

I'm Totally Lost: TXD


Recommended Posts

Hello helpful reader!

 

I'm more of a scripter, but need to edit some textures. I hope someone could give me some advice about the TXD Format. I can use IMG Tool and TXD Workshop. My problem is after editing the images with Photoshop (Elements 2.0) I just can't get it back into the DXT, Workshop gives me Stream Errors constantly no matter how I modify/save the images.

I make it bitmap with 8 Bit or higher, RLE or not, Windows or OS/2, I try TGA 24 and 32bit, tried PNG, so all in all I'd say I've tried all variations possible, of which I know. I even tried DXT Plugin for Photoshop etc., but to no avail.

 

In short, could anyone please tell me how to format/save an edited texture so I can import/replace it into a TXD and the directory?? Thank's a whole lot!

 

PS: Playing around with Vice City, and no search in this forum helped.

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/
Share on other sites

I have the same problem in my post ("Txd problem"). I need the images in 8bit but i need to index it so i don't lose colour. Also some txd programs save in a format which other programs can't understand. I just don't know what formats are supported.

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/#findComment-4050175
Share on other sites

Ok, after some research and a lot of trying and erroring I've found a way.

 

I extract the txd with IMGtool out of the gta3.img.

With ViceTXD I extract the image as bmp, load it in Photoshop (Elements 2.0) and edit it there.

When I'm finished, I change the image to 256 colors, "local/perceptive" and no transparency.

I'm "saving as" bmp, with Settings: Windows, 8bit, with RLE.

Then I replace the picture in the txd with my edited picture with ViceTXD, and cancel the Alpha loading.

Next, with IMGtool I replace the txd in the gta3.img with my edited txd, and rebuild the gta3.img archive.

 

This is all only for Vice City. I wished I had that kind of information before. I have tried a lot of tools, G-TXD would be nice, but crashes and disappears when I try to load a txd (yes I installed .NET v2.0 and directx). TXDWorkshop would also be nice, but it just can't manage anything I feed it from Photoshop.

 

Maybe this post can help one or the other.

 

 

 

 

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/#findComment-4052909
Share on other sites

creative madman

bascially what happens, is that when u save as a Bitmap from Photoshop, TXD has a problem with it (for whatever reason)

 

just save it as BMP from ur photoshop, open it in Paint, select the whole image, cut teh whole image, paste the whole image, and save as a 24 colour BMP

 

problem solved

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/#findComment-4055454
Share on other sites

All in all it might be a hardware problem. As much as I understand the matter, it depends on the graphic card (and with it the DirectX), wether the whole system can handle DXT/txd files or not. Especially as some tools have dependencies on installed components (.NET, DirectX, etc.). The old ViceTXD Tool seems to be old enough to be a true standalone program doing its work all by itself, not using a library or anything a modern computer and OS of today has integrated. Though I have XP Home and an old GeForce card, my PC is a good 4 years old and not really intended for gaming and I assume that was the reason in my situation, that I had picked up somewhere in my research.

And normally I'm playing stuff on my PS2 sly.gif

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/#findComment-4055616
Share on other sites

But the problem (at least, my problem) is that 8bit bmp reduces the image quality by having less colours. Indexed 256 colours seems to work using TxdBuilder but i use GIMP to convert to indexed and that automatically reduces it to the minimum amount of colours making it less that 256 so TxdBuilder doesn't recognise it as 8bit. (i think i said this in another post).

 

 

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/#findComment-4058447
Share on other sites

@Haro

 

I see two solutions to your color problem. First you could make your own models with more assigned single textures, so you have a wider stretch of colors by more diverse textures. With more textures to a single model they will be less repetitive, and you can have more colors.

Second, turn up the color control of your monitor. Seriously, that's all I can tell you.

Link to comment
https://gtaforums.com/topic/267207-im-totally-lost-txd/#findComment-4058977
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.