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.

Extracting files form CPK with Encrypted files (Persona 5 Royal JP)

Featured Replies

  • Author
  • Localization

DeathChaos, posted Fri Aug 14, 2020 5:31 pm (58075)


I've tried every public CPK file extractor that i could find, but they dont account for file properties, so when they get to any encrypted file in the CPK, they error out and extraction fails, rendering the rest of the files in the CPK after the first encrypted file unable to extract.

Is there an extractor that can either extract the file without decrypting, or skip extracting encrypted files so that we may successfully get the rest of the files?

The game contains 3 CPK files,
- dataR.cpk (5.18GB)
- ps4_movieR.cpk (11.3GB)
- ps4R.cpk (8.67GB)

The game got an update/patch that added a smaller CPK (4mb), this CPK also contains encrypted files and thus has the same issue.

Link to patch cpk file: https://cdn.discordapp.com/attachments/377899265424621569/743884253485596793/patch1R.cpk.

edit: ps4R.cpk link: https://drive.google.com/file/d/1aCjLaxZNkyAdyMdGvBwOFFaHLJxx1-Dj/view?usp=sharing

extracts less than 10 files before hitting an encrypted one and failing
  • Author
  • Localization

Ekey, posted Fri Aug 14, 2020 5:58 pm (58076)


Not encrypted. Works fine with CriPakTools.
  • Author
  • Localization

DeathChaos, posted Fri Aug 14, 2020 6:03 pm (58077)


Ekey wrote:
Not encrypted. Works fine with CriPakTools.


I will upload ps4R.cpk to google drive, that one contains encrypted files.

Edit: What version of CriPakTools? Seems to fail extraction for me on patch cpk.
  • Author
  • Localization

DeathChaos, posted Fri Aug 14, 2020 6:20 pm (58079)


Even that tool fails extracting the patch cpk file like the others.

Code:
Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at LibCPK.CPK.get_next_bits(Byte[] input, Int32& offset_p, Byte& bit_pool_p, Int32& bits_left_p, Int32 bit_count) in D:\Github\cpk\CriPakTools\LibCPK\CPK.cs:line 913
   at LibCPK.CPK.DecompressCRILAYLA(Byte[] input, Int32 USize) in D:\Github\cpk\CriPakTools\LibCPK\CPK.cs:line 792
   at CriPakTools.Program.Main(String[] args) in D:\Github\cpk\CriPakTools\CriPakTools\Program.cs:line 214
  • Author
  • Localization

DeathChaos, posted Thu Aug 20, 2020 8:29 pm (58219)


Unfortunately it doesn't seem to work even after enabling the Heroes Decrypt option.
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.