Jump to content

《liar princess and blind prince》Resource decompression help


Recommended Posts

  • Engineers
Posted (edited)

Not being an expert myself - just some hex viewing required. The formats are different somehow, surprise.

You could try to fake the header for android fad, here's one from switch fad:

switch fad.png

The harder part is to fake the offset the program needs. The offset value 0x778B0 is fetched from 0x980 here.

More sensible than faking the headers is  patching the source you provided but therefore the "width,height, format" sequence has to be found in android fads.

Swizzle type is needed, too.

edit: extracted from Android 300.fad, 0_8_3_0.dds. size 40x64 was wild guessing:

0_8_3_0.dds.png

Edited by shak-otay
Posted

What I don't know is that in the fad of Android, there is an additional NMPLTEX1 segment above each YKCMP_V1 compared to the Switch version. I don't know what this means, nor do I know how to modify the source code

Android

image.png.5792715eaa76c6194040ad78e37feb81.png

Switch

image.png.366434634bde8063e5482125d1bc0728.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...