ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Jul 27, 2017 6:51 pm

All times are UTC




Post new topic  Reply to topic  [ 30 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sat Jul 30, 2016 10:56 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
If I am not mistaken, the textures are in a file format called .ntx (or NTXR when viewed in a hex editor). I've added some samples down below if anyone is interested. :)


Attachments:
File comment: sample files
t6_ntx.rar [938.94 KiB]
Downloaded 71 times


Last edited by egab on Tue Feb 21, 2017 3:02 pm, edited 2 times in total.
Top
   
PostPosted: Sun Jul 31, 2016 2:32 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
this thread should probably be in "Graphic file formats" :)

run this bms script on all your ntx files
*removed*
see this post
viewtopic.php?p=16241#p16241

then use this Noesis script to open the resulting ntx textures :D
*removed*
see this post
viewtopic.php?p=16241#p16241

your samples are actually archives, its just that 3 out of 4 only have one texture,
the 000000ad.ntx sample has 23 textures, the bms script extracts these and
strips the first 16 bytes from the others and will unify them so the Noesis script opens them all.


Last edited by Acewell on Sun Aug 07, 2016 7:09 am, edited 1 time in total.

Top
   
PostPosted: Sun Jul 31, 2016 3:35 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Acewell wrote:
this thread should probably be in "Graphic file formats" :)



My bad. :oops: Hopefully someone can move it over?


Top
   
PostPosted: Sun Jul 31, 2016 9:04 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Acewell wrote:
this thread should probably be in "Graphic file formats" :)

run this bms script on all your ntx files
Code:
-snip-



Is it normal that I only get this:
Image

I seem to get 0 byte .ntx files, should I wait for this to finish? Or did I do something wrong?


Top
   
PostPosted: Sun Jul 31, 2016 4:01 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
i don't know, you'll have to upload a sample that doesn't work with it
i only had the 4 samples you shared before and it worked fine on all of them :)


Top
   
PostPosted: Mon Aug 01, 2016 9:38 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Well, I used the script on the same four samples I gave you and it seemed to just spam 0 byte .ntx files.

Should I select each .ntx file individually(like using the script on one .ntx file at a time) or should I select all of them when using the script?


Attachments:
samples.rar [4.27 MiB]
Downloaded 48 times
Top
   
PostPosted: Mon Aug 01, 2016 11:14 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
you can run the bms script on each one at a time, or all at the same time, doesn't really matter
i had no problems with your original samples working with the scripts already shared here though

are all of these samples from the same game and platform?
your old samples had a 112 byte header
your new samples have a 144 byte header

naturally this difference will affect the success of the scripts
use this bms script on the new samples
*removed*
see this post
viewtopic.php?p=16241#p16241

and use the Noesis script to open those resulting ntx files
*removed*
see this post
viewtopic.php?p=16241#p16241
:D


Last edited by Acewell on Sun Aug 07, 2016 7:08 am, edited 1 time in total.

Top
   
PostPosted: Tue Aug 02, 2016 1:17 pm 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
I've been trying multiple times, and this is the result no matter which .ntx file I use on both versions of the scripts.

Image

All options will export a 0 byte .ntx file and will go on for as long as it can.

I used the 2nd version of the script on the same samples I gave you last time.


Top
   
PostPosted: Tue Aug 02, 2016 8:24 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
well, you gave 2 different types of samples and you didn't answer my question:
are all of your shared samples from Tekken 6 on Xbox 360? :)

your old samples have a 112 byte header and your new samples have a 144 byte header
the current scripts are not interchangeable because of this
you must use the right scripts with the correct sample set

i don't know why you having problems with the scripts, everything works for me,
maybe your paths are too long or something,
try dropping the samples and QuickBMS in the root of your drive and running from there.


Top
   
PostPosted: Tue Aug 02, 2016 10:14 pm 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Yes, both samples are from Tekken 6 for the Xbox 360 version. But from different .bin files.


Top
   
PostPosted: Wed Aug 03, 2016 9:21 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
egab wrote:
All options will export a 0 byte .ntx file and will go on for as long as it can.

I suppose this might be causing your zero byte files problem if you are using the latest version of QuickBMS
viewtopic.php?p=16116#p16116

i'm still using 0.7.3, so maybe you can use a previous version of QuickBMS to run these scripts
or remove the quotation marks at the end of the second findloc line until aluigi fixes the issue. :)


Top
   
PostPosted: Thu Aug 04, 2016 2:38 pm 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Acewell wrote:
egab wrote:
All options will export a 0 byte .ntx file and will go on for as long as it can.

I suppose this might be causing your zero byte files problem if you are using the latest version of QuickBMS
viewtopic.php?p=16116#p16116

i'm still using 0.7.3, so maybe you can use a previous version of QuickBMS to run these scripts
or remove the quotation marks at the end of the second findloc line until aluigi fixes the issue. :)


The script works now on 0.7.3, I guess the problem is with Quickbms after all. :)


Top
   
PostPosted: Thu Aug 04, 2016 5:15 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6252
Yes that's the problem.
People using 0.7.5 can simply add a -1 to the second findloc command: findloc NEXT_OFFSET binary "\x47\x49\x44\x58" 0 "" -1


Top
   
PostPosted: Sat Aug 06, 2016 1:57 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
The script (v2 one) doesn't seem to work with the attached .ntx files. These are all from the same .bin file as last time. :)


Attachments:
sample 1.rar [2.3 MiB]
Downloaded 50 times
sample 2.rar [2.96 MiB]
Downloaded 43 times
sample 3.rar [3.33 MiB]
Downloaded 41 times
sample 4.rar [3.12 MiB]
Downloaded 48 times
sample 5.rar [3.46 MiB]
Downloaded 43 times
sample 6.rar [3.01 MiB]
Downloaded 52 times
sample 7.rar [3.42 MiB]
Downloaded 53 times
Top
   
PostPosted: Sat Aug 06, 2016 8:37 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
okay looks like a another header size and format we have to deal with :)
these scripts tested with the "samples 1.rar" and work for all
use this bms script on your newest samples
*removed*
see this post
viewtopic.php?p=16241#p16241

and use this v3 Noesis script to open the resulting ntx textures
*removed*
see this post
viewtopic.php?p=16241#p16241

i'll check the other samples against these new scripts later but i think we got it now :)
just need to find a way to combine them all into the same scripts and add auto-detection
for the header types so you don't need a bunch of them :)


Last edited by Acewell on Sun Aug 07, 2016 7:07 am, edited 1 time in total.

Top
   
PostPosted: Sun Aug 07, 2016 4:22 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Some textures are in an odd color when viewed. Could you take a look?

Image


Attachments:
files.rar [335.67 KiB]
Downloaded 41 times
Top
   
PostPosted: Sun Aug 07, 2016 7:01 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
okay here are just 2 scripts you need instead of 6 :)

*updated Feb 24, 2017*
use this bms scripts on all your ntx archives
Attachment:
Tekken6_X360_ntx.zip [332 Bytes]
Downloaded 31 times


*updated Feb 24, 2017*
then use this Noesis python script on the extracted xtex textures
Attachment:
tex_Tekken6_X360_xtex.zip [790 Bytes]
Downloaded 28 times



both of those scripts are easily extendable if we run into more types of ntx files
tested on all your samples and only about 16 out of ~900 textures
wouldn't open in Noesis, i would still call that is a success :D


edit
i didn't see your new post until after i posted this one, but i saw those
green tinted images already and i played around with different combinations
of the rgb channels and i didn't see anything better looking than what you
see there. What are they supposed to look like?

edit2
i updated the Noesis script, see what you think of those green textures now :D


Last edited by Acewell on Fri Feb 24, 2017 11:39 pm, edited 6 times in total.

Top
   
PostPosted: Sun Aug 07, 2016 7:28 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
I found an alternate file but with proper colors.

Image

I messed with the RGB channels of those with incorrect color in a photo editing software, and had no success. :oops:

EDIT 1:

Image

Now it's in a reddish color? :oops:


Top
   
PostPosted: Sun Aug 07, 2016 8:52 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 298
i updated the Noesis script again in my previous post, give that one a try :D
i disabled the byte swap for the rgba images and now they look better :)


Top
   
PostPosted: Sun Aug 07, 2016 8:59 am 
User avatar

Joined: Sat Jul 23, 2016 12:55 pm
Posts: 36
Acewell wrote:
i updated the Noesis script again in my previous post, give that one a try :D
i disabled the byte swap for the rgba images and now they look better :)


Amazing! They all look proper now :) Could you take a look with the following samples, if there are textures that can be possibly extracted from these? :)


Attachments:
ntx_304.rar [382.58 KiB]
Downloaded 51 times
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 30 posts ]  Go to page 1 2 Next

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited