Multiple CPK Loading

So you installed P5EX, but don't want to always have to rebuild the same mods? Well this guide is for you!

P5EX allows you to load modded files from multiple CPKs. This means you won't have to rebuild the same mods all of the time! Here's how you do it.

Again, this implies you already have P5EX installed.

If you go inside your P5 install's USRDIR, you'll see a config.yml file that you added while installing P5EX. Open that file in your favourite text editor (Such as Notepad++ and VS Code, I personally use VS Code, but anything works).

You should see something like this:

P5EX's config.yml

You wanna look at these lines here:

CPK Settings

Specifically at lines 6 and 7. Line 6 specifies how many CPKs should P5EX look for. Line 7 instead specifies what names the CPKs have. You can see by default there are 3 CPKs, 2 of wich are included with P5EX. The other one is CommonMods wich is not present. Now look at your USRDIR.

You should see these files:

P5 USRDIR folder after installing P5EX

In this folder you can see different files, some from P5 and some from P5EX. You need to pay attention to CommonMods_01.cpk, ExpandedBGM_02.cpk and P5RBustups_03.cpk As you can see they have the same name as the ones specified in the Config, but they also have a number besides them. That number specifies the order in wich the CPKs are loaded in. For example: Looking at the image here you can see the three files CommonMods_01.cpk, ExpandedBGM_02.cpk and P5RBustups_03.cpk named in this order. This means the load order is gonna be something like this:

Example of the load order of the multiple CPKs

Always pay attention to the load order. As an example: if you have a mod that replaces the main Joker model in mod.cpk, if you have another mod that replaces that same file in a CPK with a lower priority it wont be loaded.

You can build another CPK using Aemulus. Boot it up and when you're in the P5 category click on the little cog:

Click on this cog inside of Aemulus

You'll see this window pop-up.

P5 Config Window

You can see the text field named: CPK Name and that I currently have it named "mod". Aemulus will always build a file named like this: [cpkname].cpk So if you want to install stuff in CommonMods_01.cpk you need to make the CPK name into CommonMods_01.

After Aemulus is done building the cpk, you can bootup the game and you'll see your mods working!

Alternative way of building a CPK

If you don't want to use Aemulus to build CPKs (for some reason), you can use CRI File System Tools. I'll explain how to do it.

After you've downloaded the program, open it. You should see a window that looks like this:

CPK File Builder Window

The CPK Builder GUI is actually very intuitive.

Remember the files HAVE to be in the same structure as P5's, so for example if you want to install a mod that has models you would have something that looks like this:

Example of a mod

To add files just drag the folders to the "Root" mention in the CPK Builder, after that click . You'll see this:

Build Window

Start by clicking , it will make a Windows Explorer window pop up and ask you to save a file. Just go to your P5 Install's USRDIR and save the CPK with the name CommonMods_01 (or whatever you want the CPK's name to be, just make sure its the same as the name you set in P5EX's Config YML). After doing that, change the settings to this:

Correct Settings for Building

After changing the settings and double checking that everything is right, just click , wait for it to build and then boot up the game.

Check that everything works and if it doesn't, start from the beginning!

This is about it for the guide, hope it helped you!

Last updated

Was this helpful?