Multiple CPK Loading

This is only possible if you have correctly installed P5EX

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:

This file could be different in newer versions of P5EX, but the guide should still work

You wanna look at these lines here:

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:

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:

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:

You'll see this window pop-up.

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!

Not every mod is 100% guaranteed to work inside of a CPK that isn't mod.cpk

If you ever want to build mods in another CPK make sure to change the name in Aemulus's config

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:

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:

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