Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Help us keep the site running.
Zero Tolerance for Disrespect

Hayarigami 1-2-3 (Nintendo Switch) NLTX

Featured Replies

  • Supporter

Hi. It seems to be a container for images from Switch games. I've put together some info on the wiki
https://rewiki.miraheze.org/wiki/Hayarigami_NLTX

 

You can use this tool to decompress https://github.com/iltrof/ykcmp

like this:
 

ykcmp.exe -a 0x80 file.nltx file.nltx_decompressed

and then you can inspect image data in ImageHeat https://github.com/bartlomiejduda/ImageHeat

 

Sample I was investigating "ci1120.nltx" was a 1920x1080 BC7 image with (custom?) Nintendo Switch swizzling applied.
Haven't figured out swizzle method yet... But closest one is (4,8)

obraz.thumb.png.c91a7168cfd9bffb4a1c71304f15e256.png

  • ikskoks changed the title to Hayarigami 1-2-3 (Nintendo Switch) NLTX
  • Author
  • Localization
26 minutes ago, ikskoks said:

Hi. It seems to be a container for images from Switch games. I've put together some info on the wiki
https://rewiki.miraheze.org/wiki/Hayarigami_NLTX

 

You can use this tool to decompress https://github.com/iltrof/ykcmp

like this:
 

ykcmp.exe -a 0x80 file.nltx file.nltx_decompressed

and then you can inspect image data in ImageHeat https://github.com/bartlomiejduda/ImageHeat

 

Sample I was investigating "ci1120.nltx" was a 1920x1080 BC7 image with (custom?) Nintendo Switch swizzling applied.
Haven't figured out swizzle method yet... But closest one is (4,8)

obraz.thumb.png.c91a7168cfd9bffb4a1c71304f15e256.png

Ah thank you for the answer! Hopefully the way for it to be deswizzled can be found out!

  • Author
  • Localization

Though this is Definitively very helpful thx (image from PSP Version) def gonna try messing with resolutions to see if it helps?image.png.de4d083a81235a2946159a0526b17b80.pngci0191(Image0).png.a997a6fbb48d1b4203e8970d7ad31d04.png

Edited by Sirduckdude

I did this one with ci0010.nltx

It seems like you have to process it in parts - if you do it as 1 image, the unswizzling doesn't work, but if you unswizzle it separate blocks of height=256 it seems to work, at least for this one, which is 2 separate parts of height 256.

 

test2.thumb.png.d5a06ee5c8a9308bb6842eb538d30602.png

 

  • Author
  • Localization
7 minutes ago, DKDave said:

I did this one with ci0010.nltx

It seems like you have to process it in parts - if you do it as 1 image, the unswizzling doesn't work, but if you unswizzle it separate blocks of height=256 it seems to work, at least for this one, which is 2 separate parts of height 256.

 

test2.thumb.png.d5a06ee5c8a9308bb6842eb538d30602.png

 

Oh Thank you for the response how do you do that?

  • Author
  • Localization
1 minute ago, DKDave said:

I just did it manually in Noesis, it *might* be possible to script it if all of the images follow the same pattern.

 

ah how did you do it in noesis?

13 hours ago, Sirduckdude said:

ah how did you do it in noesis?

I just used these 2 commands (twice), and joined the 2 decoded parts together to make the complete image.  I haven't tested on other files, so I don't know if they all follow the same pattern.

    image = rapi.callExtensionMethod("untile_blocklineargob", raw_image, widthinblocks, heightinblocks, 16, 8 )
    image = rapi.imageDecodeDXT(image, width, height, noesis.FOURCC_BC7)

 

Create an account or sign in to comment

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.