C3: Creating the patch.yml

hold my hand, we'll go this way

Now comes the hardest part of the guide, since it's really easy to mess up here. But there's no need to be afraid, as long as you follow the guide, there's no room for error.

We need to create a new file, the patch.yml, that will add mod support and also contains the patches for the mods we will be using, more specifically, Persona 5 EX and The Royal Project. For convenience, you can copy this code down below, paste it into a notepad, and save it as patch.yml, it'll work as your template.

Version: 1.2

PPU-e72e715d646a94770d1902364bc66fe33b1b6606:
  Skip Intro Videos:
    Games:
      "Persona 5":
        BLES02247: [ All ]
        NPEB02436: [ All ]
        BLUS31604: [ All ]
        NPUB31848: [ All ]
    Author: TGEnigma
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0055AC8C, 0x60000000 ]


PPU-e72e715d646a94770d1902364bc66fe33b1b6606:
  Disable DLC Unlock Messages:
    Games:
      "Persona 5":
        BLES02247: [ All ]
        NPEB02436: [ All ]
        BLUS31604: [ All ]
        NPUB31848: [ All ]
    Author: TGEnigma
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x197AE8, 0x4E800020 ]

It is important that you keep this file open, because we will be making more additions to it soon enough.

Now, open the p5ex_prx_patch folder we downloaded/extracted in Chapter 2. Inside of it you'll see two folders, one named patches and another one named USRDIR. Enter patches and open this patch.yml. This one will have way more text, but you only have to copy and paste the first patch.

start copying from here...
...to here

And paste it into the main patch.yml, the one that you created. It is recommended that you paste it after the last patch that appears on the list (for convenience only, really, order doesn't play any role here). So, paste it here:

right here

You can now close the p5ex patch, but we're not done yet. TRP has patches as well, and we need to do the same thing we just did. Go to your Aemulus folder, enter Packages, then Persona 5, and find your The Royal Project folder. Inside it there are two folders, open the one called emulator. (Do not open hardware)

Copying this patch is fairly straightforward, as of v2.0.0 this file contains two patches. Just copy the entire contents of the file and paste it after the last patch in your patch.yml file.

Remember to save the file in a location you won't lose it. I'd recommend putting it in the Loadout folder we created earlier.

Congrats! You now know how to add and remove patches to a patch.yml file. There are more patches you could add. In case you want to create your own patch.yml, use ShrineFox's Patch Generator to do so. It contains by default the P5_EX and P5_mod_SPRX patches, and you can add more on top of those. Experiment to your heart's content!

Last updated