Extracting Game Files - Modding-Haven/REEngine-Modding-Documentation GitHub Wiki

About RE Engine archives:

RE Engine files are stored in .pak archives, these can be found in the root folder of a game.
F:\SteamLibrary\steamapps\common\RESIDENT EVIL 4 BIOHAZARD RE4\re_chunk_000.pak

Whenever an RE Engine game gets patched a new .pak archive is added to the root folder.
F:\SteamLibrary\steamapps\common\RESIDENT EVIL 4 BIOHAZARD RE4\re_chunk_000.pak.patch_001.pak

[!warning] Patch archives always have the most up to date version of a file, and it is required that you use those files otherwise you will get a black screen when trying to boot up a game.

DLC archives are stored in the dlc folder.
F:\SteamLibrary\steamapps\common\RESIDENT EVIL 4 BIOHAZARD RE4\dlc\re_dlc_stm_2109300.pak

Extracting game files with RETool:

To dump the files from an archive you will RETool and the corresponding file list.

  • Download the latest version of RETool from Fluffy's website.
  • Download the file list for the game you want to unpack from Ekey's "REE.PAK.Tool" GitHub Repository.
    Download via Code > Download ZIP, list files can be found in the Projects folder.
  • Extract RETool.rar anywhere on your PC.
  • Copy the .list file in the RETool folder, now your RETool folder should look something like this:
  • Open extract-pak.bat in any text editor and change the re2_pak_names_release.list to the .list file you want to use.

[!note] By default, extract-pak.bat has "-skipUnknowns" set which means it will not extract files with unknown filename. Remove this if you want those files extracted too.

  • Save your changes.
  • Drag and drop the .pak archive from the game's folder onto extract-pak.bat
  • Depending on the size of the archive and your HDD/SSD speed this process might take a while.
  • Once the tool is done extracting you should see something like this:
  • The dumped files can be found in your RETool folder: