Pro Evolution Soccer 2018/FPK

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

FPK or Fox Package is an archive file format introduced to the PES franchise in PES18. This page will explain how to extract and re-pack them.

Extracting

First of all download GzsTool from the Tools section and extract the archive into a folder. Since the tool isn't very portable this will be your working folder.

We'll assume the FPK you want to extract is called face.fpk. When you want to extract an FPK file, first move your FPK into the folder where GzsTool.exe is and then open up a command prompt in that folder. After that in the command prompt simply execute gzstool face.fpk. The tool will extract the contents of the FPK into a folder called face_fpk, and it'll also create a file called face.fpk.xml which is used whenever you want to re-pack your extracted files back into FPK form.

Most FPK files are paired with FPKD files. These rarely contain anything and even if they do, it's most likely a single .fox2 file which defines scene settings and is at least for now useless for our purposes, so when extracting you can completely ignore FPKD files and focus on the FPK files.

Packing

The easiest way to pack an FPK file is to unpack one first so you have an auto-generated .fpk.xml file and a matching folder to work off of. Once you have them set up, all you need to do is move the files you want to have inside the FPK into the face_fpk folder, edit the face.fpk.xml file to include all the files you want and run gzstool face.fpk.xml and an FPK containing the files specified in the .xml will be generated.

The format of the .xml is also very simple as it is mostly just a list of files to be included in the final FPK. Adding new files is as easy as adding a new <Entry>. Removing entries is also allowed, it just means that the tool will not include those files when packing the FPK. The only other parameter worth editing in the .xml is the Name of the <ArchiveFile> as it defines both the name of the final FPK and the name of the folder the tool grabs the files to be included in the FPK from. Remember to make sure all the files you have listed in the .xml actually exist, and remember that all Entries treat the face_fpk folder as root, so if you for example have the files face_fpk/face.fmdl and face_fpk/test/oral.fmdl the Entries should be <Entry FilePath="face.fmdl" /> and <Entry FilePath="/test/oral.fmdl" /> respectively.

Tools