Page 1 of 1

Headerless d3dtx files from Telltale?

Posted: Sun Mar 22, 2015 8:35 pm
by Nerd42
I'm trying to extract textures from Poker Night 2. Not models ... just textures. I think the trouble is the d3dtx files are missing some kind of header.

RandomTBush seems to have developed something to put on the header. But it requires 3DS Max and I don't have 3DS Max. Can anybody figure out what it's doing so I could duplicate the results using free tools? I can't figure out his source code.

Re: Headerless d3dtx files from Telltale?

Posted: Sun Mar 22, 2015 10:56 pm
by RandomTBush
I'll be working on a version of the texture converter that works in QuickBMS before the end of the month.

Re: Headerless d3dtx files from Telltale?

Posted: Mon Mar 23, 2015 5:58 pm
by Nerd42
RandomTBush wrote:I'll be working on a version of the texture converter that works in QuickBMS before the end of the month.
Oh, awesome. I'm excited to get it

Re: Headerless d3dtx files from Telltale?

Posted: Sun Apr 05, 2015 3:03 am
by Nerd42
RandomTBush wrote:I'll be working on a version of the texture converter that works in QuickBMS before the end of the month.
Did you mean the end of March or April? :)

Re: Headerless d3dtx files from Telltale?

Posted: Wed Apr 08, 2015 12:11 am
by RandomTBush
Nerd42 wrote:
RandomTBush wrote:I'll be working on a version of the texture converter that works in QuickBMS before the end of the month.
Did you mean the end of March or April? :)
Sorry, some important matters popped up last week that I had to attend to. I'll do what I can to have it ready soon.

Re: Headerless d3dtx files from Telltale?

Posted: Sun Apr 12, 2015 11:52 pm
by RandomTBush
I think this should work, I was able to convert almost all of the textures from Poker Night 2 with it (a couple of them are odd, two have PNGs embedded in them which confuses the script and the other is an obscure pixel format) and haven't been able to test any of the other games yet, since I uninstalled them to free up disk space and it'll take a while for me to re-download. Lemme know if there are any problems (which there probably will be, knowing my luck).

Re: Headerless d3dtx files from Telltale?

Posted: Mon Apr 13, 2015 3:07 am
by Nerd42
It worked perfect. 0 errors. Thanks! :D

For anyone else trying this kind of thing: I don't know if this is the "correct" way to do it, but I got it working by writing this batch file:
for %%i in (*.d3dtx) do quickbms "Telltale_D3DTX_PN2_TWD_TWAU.bms" "%%i" output
Then I used XNconvert to batch convert everything to .png