Pro Evolution Soccer 2016/DLC

From Rigged Wiki
Jump to navigation Jump to search
2016 4chanlogo.png
Pro Evolution Soccer 2016
Game
Rules
Info
Tools
Modding

This page will explain how to make and install custom DLC / .cpk files in PES16.

Making DLC

Before one can install DLC to PES16 you will need a DLC file first. There are two methods of doing this although both rely on the same files. The first method is with the use of CRI Packed File Maker and the other method is with the use of batch (.bat) files, although these rely on the files of CRI Packed File Maker.

CRI Packed File Maker

You will have to download CRI Packed File Maker (CPFM). This free software can make the .cpk-files PES16 uses to store its data. After downloading it (see Tools) you can unpack it anywhere, there is no need to install anything, and then start CriPackedFileMaker.exe. If done correctly you'll get the following window:

Cpfm1.png

If for some reason the folder you want to turn into DLC is filled with random files you do not want in it, for example thumbs.db, you can edit the excluded files with the button Edit Excluded Files at the bottom left. Show CPK file info is not relevant for this page, but you can check some details of .cpk files you have loaded with CPFM.

To load and check the contents of a .cpk-file, use the middle button of the three smaller buttons at the top or just drag the .cpk-file into the window. When it is properly loaded you can extract the contents from it with the right button of the three smaller ones at the top. However, when you have everything extracted, keep in mind that some files might still be zlib-ed (compression method used by Konami). For more information on zlib please read Pro Evolution Soccer 2016/zlib.

When you want to make a DLC file, press the left button of the three smaller ones at the top to select a folder to load into CPFM. Keep in mind that for a DLC-file to work properly the folder structure needs to be correct. This is where Jenkey's File Explorer (JFE) comes in handy (see Tools). For example you want to install a custom adboard for your stadium, you will open dt30.cpk with JFE (keep in mind some .cpk files can take a long time to load), and navigate to the stadium board you want to replace. When you are at the stadium board you want to replace, recreate the entire tree of folders somewhere in a new folder and put (in this case) ad_007.dds at the end. So:

Jfe1.png

Will become:

\New DLC\common\bg\model\bg\ad\texture\ad_007.dds somewhere on your computer. (The name New DLC is just a placeholder, it can be anything you want)

Now select the folder New DLC with CPFM to make sure common becomes the root folder in the new DLC. If done correctly CPFM will look something like this:

Cpfm2.png

In this case we have just a single file, but obviously you can add as many more as you like to a single DLC.

Now we can start to build our .cpk file. Obviously you will do this by pressing the Build CPK File at the bottom right and this should open a new window. In this window you can set the path (or browse to with the ... button) where you want the .cpk-file to be saved. PES16 saves its DLC in the download folder in your main PES16 folder. For this example we will call the file 4cc_test.cpk . Now we can set the correct settings for the .cpk-file, this is very important because there is only one combination of settings which makes the DLC work in PES16, these are:

Cpfm3.png

After this you can build the .cpk-file by pressing Start to Build and press Complete when it's done. Now you only have to edit the DLC file list to make it work in PES16. (See next section)

With the use of batch files

Like faces, general .cpk files can also be made with the use of batch files. An archive can be downloaded below Tools that contains all the necessary files and a(n example) batch file. All you have to do is put all the files at the correct locations in the folder. To have this batch file work it has to be in the same folder as cpkmakec.exe and CpkMaker.dll. Now before you can run the batch file you will have to edit the location of the PES16 download folder. Just rightclick the batch file and select edit. Now change the location in the second line (the one that starts with 'copy') to the location of the download folder of your PES16 installation. After that save it and you can run your .bat file. If done correctly the .cpk file should have appeared in your PES16's download folder. Compared to CRI batch files can be up to 100 times faster with 0% chance at corrupting your .cpk files.

Installing DLC

To install DLC you need to make sure the .cpk-file you want in PES16 is in the download folder, for PES16 this is the download folder in the main PES16 folder. For this section we will use 4cc_test.cpk of the previous section.
Now to have PES16 recognize the DLC you will have to edit DpFileList.bin. This can be done in two ways: with a hex editor or via an external tool.

With an hex editor

Open DpFileList.bin with any hex editor you like. For more information on hex editing, please read this page: Working with a hex editor. When opened it will look something like this:

Hxd.png

In this DpFileList the new Gamma DLC is already added. Each new DLC you want to add will need a new entry in this file, in this example test.cpk. Just looking at the image above should you give an idea on how each new DLC is added to this file/game. However there are some important values/hexes in this file that will be explained.

  • The first is the very first byte, 64 in the image above. This value doesn't need to be changed. This byte is in hex, if 64 is converted to decimal you'll get 100. This is a reference to the game version.
  • The fifth byte, 0E in the image above, denotes how many .cpk files PES16 should load, so in this case 14. This means that PES16 will load all DLC from 4cc_db.cpk till test.cpk in this case. If this value was made 0D for example, test.cpk will not be loaded next time. This value should not be higher than the amount of DLC in the DpFileList.
  • The ninth byte, 64 in the image above, is the game version of the corresponding DLC file. This value is in hex as well, it translates to 100 (game version 1.00) in decimal. This hex needs to be noted for every DLC listed. However, just make sure it is 64 for every entry for the 4chan Cup.
  • The thirteenth and fourteenth byte, D8 27 in the image above is the same as the hex before, except this is the game version. In this case D8 27 translates to 10200 in decimal (Patch 1.02.00). However, just make sure it is D8 27 for every entry for the 4chan Cup.

Now don't forget to save your changes and you can check in game to see if your new stuff/DLC works.

Keep in mind that the lower the DLC is in the list, the higher the priority. So if for example the file test.dds is in both 4cc_konami.cpk and 4cc_other.cpk, the game will load the test.dds in 4cc_other.cpk.
Also, if PES fails to find a file, it will skip loading any further DLC packages. So if the file 4cc_stadium.cpk wasn't placed in the download folder in the example above, PES would not load 4cc_bill.cpk or any DLC that come after.

With Baris' DpFileList Generator

Download this tool below Tools and unpack it anywhere.

The first thing you'll want to do before running the .exe is to go into 'DpFileListGeneratorData' and edit the .xml, now change the location between the <CpkDirectory></CpkDirectory> to your own PES16 download folder. Don't forget to save.

You can now run DpFileList Generator v1.5 by Baris.exe. If you changed the CpkDirectory correctly all the basic DLC should already be correctly listed on the right. Something like in the image below.

BDPFLG16.png


In the list to the left all the .cpk-files found by the tool in the download folder will be listed. In the list to right are all the .cpk-files that are checked in the left list and thus will be registered in the to-be generated DpFileList.bin. The lower the file in the list to the right, the higher the priority. Now add your own DLCs to the bottom of the list, make sure the DLC at the top is set to 4cc, and then just hit Generate DpFileList.bin. You can now go ingame and test your new DLC.

Notes and Help

Keep in mind that if you want to replace or update a file that is already in the game, always check the (newest) DLC first for the newest version of it. This is very important when editing certain files, for example stadium and team names .bin-files.

JFE sometimes doesn't like .cpk-files made by CPFM and will crash on loading the .cpk-file or give a corrupted view.

There are various causes for your DLC not to work properly. Some of the most common causes (and solutions) are listed below.

  • You did not choose the correct settings when creating the .cpk, check the image above for the right settings.
  • The .cpk is corrupted. There is a low chance that CPFM will generate a corrupt .cpk-file, these are usually 8 bytes bigger than the non-corrupt version of it. Just delete the old and corrupt .cpk, restart CPFM and try again. Usually the corrupts only start to happen when you have used CPFM multiple times in a row with never closing it in between. Overwriting an existing .cpk-file also increases the chances of corruption.
  • The file is not (properly) listed in DpFileList.bin or you forgot to change the hex that determines the amount of DLC to load.
  • The folder structure is not correct. Make sure that common is the root folder in the .cpk-file.
  • A file itself in the .cpk-file is corrupt or incompatible with the game. Always make sure to use the same texture format when replacing one, so a .dds replaces a .dds and a .png replaces a .png. Also watch out with adding files that the game would/should not load, like a random texture not used by the game, sometimes PES won't care and just continue working but sometimes PES will crash when attempting to load this .cpk-file.
  • If your save broke after installing a new DLC you probably messed up one of the DLC or Patch versions listed in the DpFileList.bin.


Tools