Foreward: I would like to extend a massive thank you to Pan-hime (@regularpanties on Twitter) for graciously providing me with a firmware 6.72 PS4 so that I can test and verify the following procedures myself, in addition to modding this game. Thanks to her, there is now a Persona 5 Royal section on the site, as well as P5R support for the Mod Compendium & In-Game Mod Menu.
To get started, the following are required.
A Playstation 4 on firmware 6.72; no higher, no lower.
To upgrade to it from a lower firmware, see this guide.
To downgrade– you can’t, sorry. 🙁
An FPKG (Fake PKG) of Persona 5 Royal (JP). Sorry, you’ll have to find this yourself.
This is required to install the game to dump files from and to create custom updates. The English version is not dumpable/playable on a modded firmware yet.
A Windows PC.
This is for running the software to mod/extract the game’s files and to produce an update PKG.
An External USB Flash Storage Device. This could be a hard drive, flash drive etc. for storing and transferring dumped data from PS4.
Mod Compendium version 1.5. With this program you can easily manage mods and build new PKG files to send to the PS4.
Hacking the PS4
To run fake packages, you need to be running HEN, which is a framework that allows unsigned code to boot on the PS4. You can think of it like Henkaku on the Vita. This relies on a webkit exploit (a bug in the PS4’s browser) which has been patched after 6.72. Since 6.72 also has a kernel exploit, the web exploit allows you to use homebrew apps that can decrypt and play unsigned copies of games– including fake update patches, which is what we will use to mod the game.
There are a couple ways of exploiting the firmware– set a custom DNS to point your internet traffic to the exploit page, or host it yourself over the local network. Either one is very easy:
Atlus’s new in-house graphics engine (used in Persona 5 and the Dancing games) has a new model format: GMD (sometimes called GFS). It’s used for everything from character models to objects to fields. They go right along with the new GAP animation format.
If you haven’t yet familiarized yourself with modding Persona 5, check out this guide first! This is a more advanced follow-up to the EBOOT patching and BGM editing guides, so read those first as well.
Copying and Renaming ACB/AWB
You may have noticed that the DLC tracks that play when the protagonist is wearing a DLC outfit are not in bgm.awb, but each have their own ACB/AWB pair. Each includes 2 ADX tracks, a battle theme and a victory theme. Maybe you also noticed that patch.yml has a Randomized Battle music patch, which shuffles all of the DLC tracks (in addition to the main battle theme) and randomly picks one at the start of each encounter. You can customize this even further by adding your own music tracks to the game, following the same format as the DLC tracks.
You can theoretically add an infinite number of custom tracks by copying, renaming and editing the contents of each ACB/AWB pair.
If you’re modding Persona 5 on a console with custom firmware (rather than using the RPCS3 emulator), there are extra steps required to get patch.yml modifications working. This includes mod.cpk support, 60 FPS, intro skipping, file access logging, randomized music, hiding UI elements and more.
TGEnigma has created RPCS3PatchEboot, a program that can apply these patches to your game’s EBOOT.BIN file.
The EBOOT.BIN is different between regions, as well as between physical and digital releases of the game, so unless you have the European PSN version, you’ll have to patch your own EBOOT.
Following the instructions in the video, connect to FTP and get the EBOOT.BIN from the directory your game was installed in. Transfer it to your PC.
In order to decompress/decrypt and patch your game, you WILL need:
This guide is a continuation from “Guide 1: Downloads and Setup”. You will be unable to follow this guide if you have not already completed the steps in guide 1.
Understanding the Mod Compendium
As mentioned in guide 1, the Mod Compendium is an application that has the capability to create/install mods for various Persona titles. The Mod Compendium builds a mod.cpk file in the Output Directory specified in the application’s configuration menu (in this instance, the mod.cpk file is built in \PS3_GAME\USRDIR). This mod.cpk “replaces” (loads in place of, though not physically modifying) the game’s files (data.cpk) according to the mods selected; if no mods are active when a mod.cpk is built, then there will be no files that are loaded in place of their respective game files.
This guide is for the Playstation 3 version of Persona 5. Although modding is possible on the PS4 version, the lack of CFW and/or availability of hackable firmwares makes it a very tedious process.
Should the PS4 situation improve, or Persona 5 gets ported to another system, we will do our best to support those platforms as well.
All content in Persona 5 (sound, models, cutscenes, text, scripts, textures etc.) is stored in one of several CPK files. CPK files are Criware archives that are used to compress data for quicker transfer via PSN, as well as for saving space on the physical Blu-Ray disc. We can modify the game’s content by unpacking and repacking the contents of these files.