ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Dec 12, 2018 2:33 am

All times are UTC




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Sep 21, 2018 12:32 pm 

Joined: Thu Sep 13, 2018 6:38 pm
Posts: 58
So i managed to get a dump of the NSO NES app and a lot of the formats are just standard PNG's, WAV's, lua scripts, .nes roms etc etc.

But it seems like the game box art is stored in the .XTX format(which tools exist for), However they have an extra .Z extension, Opening it in a hex editor shows that the files are seemingly compressed, and im willing to bet the .Z means zlib or zstd.

I ran the file through TriD(http://mark0.net/onlinetrid.html)
And it showed a 100% match to zlib compressed data.
It could be wrong still but i thought i'd mention that.

Here's one of these files.
https://cdn.discordapp.com/attachments/419711036837330956/492673879484137482/CLV-P-NAACE.xtx.z
If my research was correct this should be the Super Mario Bros 3 cover art.
This is the only format that currently can't be tinkered with at the moment. Everything else is bog standard stuff.


Top
   
PostPosted: Fri Sep 21, 2018 1:21 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9446
Code:
comtype zlib_noerror
get SIZE asize
get NAME basename
clog NAME OFFSET SIZE SIZE


Top
   
PostPosted: Fri Sep 21, 2018 3:24 pm 

Joined: Thu Sep 13, 2018 6:38 pm
Posts: 58
Thanks!
Works great but there's an issue that i don't think is related to the script
Image

A dedicated XTX tool outputs something a little different.
Image
Rather odd.

EDIT: https://github.com/aboood40091/XTX-Extractor
Here's the dedicated XTX tool i spoke of.

Also, how hard would it be to "reverse" the script to recompress?(For modding reasons)


Top
   
PostPosted: Fri Sep 21, 2018 4:28 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9446
For recompression:
Code:
comtype zlib_compress
get SIZE asize
get NAME filename
string NAME + ".z"
clog NAME 0 SIZE SIZE


Top
   
PostPosted: Fri Sep 21, 2018 5:11 pm 

Joined: Thu Sep 13, 2018 6:38 pm
Posts: 58
Thanks again!
I'll try it.

I should really try learn BMS for myself lol


Top
   
PostPosted: Sun Nov 18, 2018 5:55 pm 

Joined: Sun Nov 18, 2018 5:51 pm
Posts: 1
aluigi

Hey, can you please contact me? Im the dev of the Nintendo Online Game Autoinjector and need your help for compressing of xtx.z files.

thanks


Top
   
PostPosted: Fri Nov 30, 2018 12:27 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9446
@bodyXY
It's just a simple zlib compressed file without any header, there is nothing else I can add.


Top
   
PostPosted: Sun Dec 02, 2018 6:43 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 525
CosmicDreams wrote:
Image

if you set the width to 375 it looks good to me :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

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