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.

Persona 5 Royal (Steam)

Featured Replies

  • Author
  • Localization

LinkOFF, posted Sun Oct 23, 2022 7:52 am (73941)


Hello. I need help with unpacking CPK archive of Persona 5 Royal. Every tool I've tried can extract only ~80% of the archive because some data is encrypted:
Image
I unpack it manually (see attached file). This is common chunk with CRILAYLA magic, but it's body looks encrypted.
I think it must be decrypted before decompression.
And I found this code.

Full archive - https://drive.google.com/file/d/17sGnpH ... sp=sharing
EXE(Denuvo) - https://drive.google.com/file/d/1fW01jo ... sp=sharing
Switch version of the game is decrypted.
  • Author
  • Localization

LinkOFF, posted Mon Oct 24, 2022 1:12 pm (73967)


I use this code to decompress encrypted CRILAYLA chunk, but I got Index Out of Range Exception in GetNextBits method (offsetP is -1 during decompression). LAYLA codec use backwards method for decompression data (from tail of compressed body to it's head). I tried to catch the exception and decompress this chunk, but some data in header of the file is corrupted. Which means only part of the data encrypted.

It's looks like this:
Image
  • Author
  • Localization

LinkOFF, posted Tue Oct 25, 2022 7:54 am (73975)


I found out that only the first 1024 bytes are encrypted (start from 0x20). I applied xor difference to another chunk, but nothing.
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.