Skip to content

Extracting Files

Before you start making your mod, you’ll need to extract the game’s base files so you can find what you actually want to edit.

All of the game’s files are stored in CriWare CPK files as follows:

  • data.cpk: Contains most game files
  • data_movie.cpk: Contains the animated cutscenes
  • data_XX.cpk: Contains files for the given language
    • Example: data_e.cpk contains English specific files

To unpack these, download CriFsV2Lib.GUI. Select the file called CriFsLib.GUI.zip and extract it somewhere. From there, run CriFsLib.GUI.exe and you’ll be greeted with a window asking you to select a CPK file.

Drag your desired CPK into the program and you’ll be shown the names of all files inside it. Right click any file, click Extract All and select an appropriate folder; after a little bit all of the files will be extracted into it.

A screenshot of umd0.cpk opened in CriFsLib GUI

When you look through your extracted files, you’ll find there are many large bin, pac, and pak files. These are archives (collectively referred to as PAK files) which contain files inside of them. These are roughly analogous to a zip or rar file. To extract these you’ll need to use one of the following tools.

The easiest way to extract files from these archives is Amicitia. Download the Release.7z and extract it somewhere appropriate. When you open a file in Amicitia, if it is a valid archive you’ll see a tree of files that you can export or replace by right-clicking on them.

A screenshot of init_free.bin opened in Amicitia

PersonaEditor is an alternative program. While Amicitia is preferred in most cases, PersonaEditor is more useful for some file types, and features limited built-in text editing support. It has a similar UI to Amicitia.

A screenshot of init_free.bin opened in Prsona Editor

Although Amicitia and PersonaEditor are the most user friendly, they are not good for batch extracting files as only one file can be selected at a time. If you need to perform batch operations, download PackTools.

Running it without any arguments will give you some help information. The command you’ll likely want to use is unpack to extract files from an archive. For example, a simple command to extract all .bin files in a folder (and subfolders) is:

Terminal window
for /R "Path\To\Folder" %i in (*.bin) do "Path\To\PAKPack.exe" unpack %i

To use PAKPack through the Windows context menu to unpack or pack PAK archives, use PAKPack-Registry. After downloading and extracting it just run PAKPack Registry.exe and the context menu options will be added.

Now, if you right-click a file, you’ll have a PAKPack option at the top of the menu which can be used to extract the PAK.

This page focused on extracting archives, but to do anything useful you need to work with the files you’ve gotten from those archives.

Have a look at one of the following sections for more details on working with different types of files: