January 4Jan 4 Help. Okay I finally got into Hayarigami 1-2-3 Switch's Dat. Files but it isn't the same as the PSP versions since it uses a NXTL file I've tried others but it isn't seemingly working please help me I would be extremely grateful here are examples https://drive.google.com/file/d/18GMdn7Xc0Dv0BgyQFG_0kaDNuvcxG9q5/view?usp=sharing
January 5Jan 5 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)
January 5Jan 5 Author 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) Ah thank you for the answer! Hopefully the way for it to be deswizzled can be found out!
January 5Jan 5 Author Though this is Definitively very helpful thx (image from PSP Version) def gonna try messing with resolutions to see if it helps? Edited January 5Jan 5 by Sirduckdude
January 5Jan 5 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.
January 5Jan 5 Author 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. Oh Thank you for the response how do you do that?
January 5Jan 5 6 minutes ago, Sirduckdude said: Oh Thank you for the response how do you do that? I just did it manually in Noesis, it *might* be possible to script it if all of the images follow the same pattern.
January 5Jan 5 Author 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?
January 5Jan 5 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