Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Nintendo Switch Online NES App .XTX.Z files

Featured Replies

  • Author
  • Localization

CosmicDreams, posted Fri Sep 21, 2018 12:32 pm (38688)


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.
  • Author
  • Localization

aluigi, posted Fri Sep 21, 2018 1:21 pm (38689)


Code:
comtype zlib_noerror
get SIZE asize
get NAME basename
clog NAME OFFSET SIZE SIZE
  • Author
  • Localization

CosmicDreams, posted Fri Sep 21, 2018 3:24 pm (38694)


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)
  • Author
  • Localization

aluigi, posted Fri Sep 21, 2018 4:28 pm (38698)


For recompression:
Code:
comtype zlib_compress
get SIZE asize
get NAME filename
string NAME ".z"
clog NAME 0 SIZE SIZE
  • Author
  • Localization

CosmicDreams, posted Fri Sep 21, 2018 5:11 pm (38702)


Thanks again!
I'll try it.

I should really try learn BMS for myself lol
  • Author
  • Localization

bodyXY, posted Sun Nov 18, 2018 5:55 pm (40479)


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
  • Author
  • Localization

aluigi, posted Fri Nov 30, 2018 12:27 pm (40851)


@bodyXY
It's just a simple zlib compressed file without any header, there is nothing else I can add.
  • Author
  • Localization

Acewell, posted Sun Dec 02, 2018 6:43 am (40928)


CosmicDreams wrote:
Image

if you set the width to 375 it looks good to me :)
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.