Unpacking the ROM - kubo25/Diabolik-Lovers-STCM2L-Editor GitHub Wiki

All the files that are needed to translate the game are contained in a PGD encrypted CPK archive named INSTALL.DNS. To get to the files it's necessary to extract it from the ROM, decrypt it and unpack it.

Necessary tools

Steps

  1. Open the ROM's ISO file in UMDGen and navigate into INSDIR.
  2. Right-click INSTALL.DNS and select Extract Selected...

/images/umdGenExtract.png

  1. Extract the file into the folder where you have pgdecrypt. The exctracted file is encrypted and needs to be decrypted. To do this we use pgdecrypt.
  2. Rename extracted INSTALL.DNS to data.bin.
  3. Run pgdecrypt. After it closes you should see a new file called DATA.BIN.decrypt appear in the folder. There will also be 2 other new files: header and vkey. Keep these because they will be necessary for repacking.
  4. Move DATA.BIN.decrypt and CriPackTools.exe to some folder where you want to have the unpacked scripts.
  5. Open this folder in CMD and run:
CriPakTools.exe DATA.BIN.decrypt ALL

CriPackTools doesn't show any progress in CMD and unpacking could take a while so be patient.

/images/criPackTools.png

  1. After unpacking is done you should see 10 new folders. Contents of these are explained in INSTALL.DNS File Structure.
  2. Congratulations you have unpacked all the files necessary to translate the game.