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.
Nintendo Switch Online NES App .XTX.Z files
-
- Posts: 100
- Joined: Thu Sep 13, 2018 6:38 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Nintendo Switch Online NES App .XTX.Z files
Code: Select all
comtype zlib_noerror
get SIZE asize
get NAME basename
clog NAME OFFSET SIZE SIZE
-
- Posts: 100
- Joined: Thu Sep 13, 2018 6:38 pm
Re: Nintendo Switch Online NES App .XTX.Z files
Thanks!
Works great but there's an issue that i don't think is related to the script
A dedicated XTX tool outputs something a little different.
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)
Works great but there's an issue that i don't think is related to the script
A dedicated XTX tool outputs something a little different.
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)
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Nintendo Switch Online NES App .XTX.Z files
For recompression:
Code: Select all
comtype zlib_compress
get SIZE asize
get NAME filename
string NAME + ".z"
clog NAME 0 SIZE SIZE
-
- Posts: 100
- Joined: Thu Sep 13, 2018 6:38 pm
Re: Nintendo Switch Online NES App .XTX.Z files
Thanks again!
I'll try it.
I should really try learn BMS for myself lol
I'll try it.
I should really try learn BMS for myself lol
-
- Posts: 1
- Joined: Sun Nov 18, 2018 5:51 pm
Re: Nintendo Switch Online NES App .XTX.Z files
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
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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Nintendo Switch Online NES App .XTX.Z files
@bodyXY
It's just a simple zlib compressed file without any header, there is nothing else I can add.
It's just a simple zlib compressed file without any header, there is nothing else I can add.
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: Nintendo Switch Online NES App .XTX.Z files
CosmicDreams wrote:
if you set the width to 375 it looks good to me