Jump to content

Export _ALL_ TXDs to TGA?


bengarney

Recommended Posts

Hey guys,

 

I'm trying to dump ALL the TXDs in San Andreas out into TGA format. Is there any way to do that? I've been using G-TXD, combining a bunch of TXDs using merge, and spitting that out, but it's a big pain in the butt and it tends to break with high TXD counts.

 

It seems like, for someone who had the code already, spitting out a simple commandline "TXD -> TGAs" converter that would spit out the textures in a single TXD would be quick, and it'd save a LOT of time for people like me... smile.gif I could just write a quick batchfile and be done.

 

Thanks in advance!

 

 

Link to comment
Share on other sites

user posted image

 

Sure wish I could have textures on this. sad.gif

 

Can anyone help?

Link to comment
Share on other sites

You may have to keep your method going. I imported liberty city to 3dsmax awhile ago, and had to do the same thing. As far as i know, there's isn't an automated way to do it.

Link to comment
Share on other sites

Lame. Well, I may break down and write a command line tool to merge TXDs. Or I might suck it up and click through it. We'll see how it goes. Thanks for the info!

Link to comment
Share on other sites

Had some time last night while rendering some stuff so made a comand line tool in c++ that takes a txd archive and an extract folder as paramters and dumps all the textures as tga images.

looks a little something like this...

 

user posted image

 

Should help you out a bit, readme included with instructions and all the usual who ha ha.

Download TXDtoTGA (28kb))

 

Enjoy,

-Dave

Link to comment
Share on other sites

Nice work REspawn, simple but effective. You should post it in the Tools forum, I'm sure a few more would find a use for it. New site quote... cry.gif Good to see the site back up again.

Link to comment
Share on other sites

Awesome - exactly what I need. Thank you so much!

 

It even looks snazzy. smile.gif

Link to comment
Share on other sites

Awesome - exactly what I need. Thank you so much!

 

It even looks snazzy. smile.gif

Glad to help, let me know if you need anything added or changed,

-Dave

Link to comment
Share on other sites

Who dosent like ponies?

 

DexX was asking about a batch converter, so im gonna make a new version in a while which allows you to input two folders, the first is scanned and all txd files in it are exported to the second folder.

Will post the info here when its done.

 

TXDtoTGA Tools forum topic

Link to comment
Share on other sites

And - are you sure you're cleaning up D3D properly? My first export worked fantastically; subsequent tries fail. Rebooting to see if that fixes things.

Link to comment
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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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