The VG Resource
Helping unswizzle NIS switch sprites and corrupted colors - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: Helping unswizzle NIS switch sprites and corrupted colors (/thread-43099.html)



Helping unswizzle NIS switch sprites and corrupted colors - Cheldan - 10-21-2024

Been trying to get sprites from game called Process of Elimiation and got encrypted DDS files. I managed to decrypt them by removing lines before 0x40 and changing the format of the file to .nltx, then using this tool (https://reshax.com/topic/190-disgaea-6-monster-menu-disgaea-7-archive-decompilation-texture-and-model-extraction-toolscripts/#comment-499)

Its successful, however, the sprite is swizzled. Tool uses a dll with this source code (https://github.com/Kelebek1/YKCMP_Decompress/tree/master), but its unswizzling method messes up the colors, though the shape is correct. I don't have experience with image data coding, so i can't exactly pinpoint what in the dll is causing it. It feels like im really close but missing something. Can anyone please help?

Files, including raw dds and decrypted ones: https://drive.google.com/file/d/1xakqST63CFcmZ5B9HPerv3-MNbx_-jrN/view?usp=sharing
Examples of how it looks converted to png: https://imgur.com/a/VLtbprr


RE: Helping unswizzle NIS switch sprites and corrupted colors - Cheldan - 10-22-2024

nvm, found the issue, script was using wrong color format in dumptexture()