Setting up your working directory - compupro/steins-gate-hrdarling-patch GitHub Wiki

Before you start modifying the game, you will need to set up your working directory, as well as have the appropriate tools.

  1. Download all the necessary tools:
    • An unmodified iso for the game, CRC32 hash 64A5777F
    • Atlas 1.11
    • crifilesystem (should contain CpkFileBuilder.exe)
    • UMDgen
  2. Clone the repository to your local machine. The directory you clone it to is probably called steins-gate-hrdarling-patch. I will call this the working directory from now on
  3. Put Atlas.exe in the working directory
  4. Make a folder in the working directory called crifilesystem and put all of the crifilesystem files there
  5. Make three empty folders in the working directory: original-data, patch-data-merged, and DATA0
  6. Compile topographer by running make all in the command line in the working directory
    • If you're on Windows and using MinGW: Use msys as your command line! The makefile is written for a bash-like system, so just using Powershell or CMD will not work
  7. Open UMDGen and open the game iso. Navigate to PSP_GAME/USRDIR, right click DATA0.CPK, and extract it to the working directory
    • (optional) make a copy of this file and name it DATA0.ORIGINAL.CPK so you don't have to re-extract it from the iso again if you need the original again
  8. Open CpkFileBuilder and go to Tools > CPK File Viewer (F7). Use this to open and extract the contents of DATA0.CPK into working directory/DATA0
    • (optional) make a copy of this file and name it SCENE00.ORIGINAL.CPK and put it in the working directory and not the DATA0 folder.
  9. Use the CPK File Viewer to open working directory/DATA0/SCENE00.CPK and extract the contents to working directory/original-data

Once that is complete, your working directory is set up.