Modding Persona 5 Royal (JP) on PS4 FW 6.72

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.

Prerequisites

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:

Continue reading “Modding Persona 5 Royal (JP) on PS4 FW 6.72”

Loading GMD Models and Animations in 3DSMax

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.

While TGE’s GFDStudio application for Windows can preview models and animations, you may want to export them to another program for rendering or editing. The current best method is to use the GMD Maxscript available here.

Prerequisites

  • An unencrypted dump of the game’s files
  • 3DSMax

Continue reading “Loading GMD Models and Animations in 3DSMax”

Adding Randomized Battle Tracks to Persona 5 (PS3)

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.

Continue reading “Adding Randomized Battle Tracks to Persona 5 (PS3)”

Creating Custom SFX/Music in P5

If you haven’t yet familiarized yourself with modding Persona 5, check out this guide first!

ACB Editing


One of the easiest types of mods to start with is changing the BGM. In Persona 5 (PS3), the music can be found in ps3.cpk/sound, where there is a pair of ACB/AWB files named bgm.

To edit these, you’ll want a program called ACBEditor. You can unpack all of the ADX files contained within the AWB by dragging the ACB file onto the EXE.

Continue reading “Creating Custom SFX/Music in P5”

Persona 5 (PS3) – EBOOT Patching

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:

Continue reading “Persona 5 (PS3) – EBOOT Patching”

Persona 5 RPCS3 Modding Guide 2: Creating and Installing Mods

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.

Continue reading “Persona 5 RPCS3 Modding Guide 2: Creating and Installing Mods”

Persona 5 RPCS3 Modding Guide 1: Downloads and Setup

Downloads

Without the following programs/files (also available for download at www.shrinefox.com), you will be unable to create or install mods. Download the following:

It is also recommended that you download the following (free) applications that will be used in future tutorials:


Using the patch.yml File

The patch.yml file is required in order for the Mod Compendium to function properly. To use this patch.yml file, first place it in your RPCS3 directory.

Continue reading “Persona 5 RPCS3 Modding Guide 1: Downloads and Setup”

Loading Modded files in Persona 5 (PS3)

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.


Datamining Assets

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. 

Continue reading “Loading Modded files in Persona 5 (PS3)”