Post by matt176 on Sept 11, 2022 15:45:50 GMT 10
Resident Evil 7: Biohazard .pak extracting tutorial
By matt176
Tutorial for both the RT and DX11 version
Things that you'll need:
Don't forget to use the alternative version of the REtool.exe instead of the one you just extracted with everything else. Delete the one you extracted and replace with the one from github. And yes, it is normal for windows to think it's a virus. Personal experience, but don't worry there are no viruses in there.
File list for unpacking:
RT version: cdn.discordapp.com/attachments/718252742358859777/995788633044955176/re7_rt_pak_names_release.list
dx11 version: cdn.discordapp.com/attachments/718252742358859777/939315682963771452/re7_pak_names.list
Possibly a better list for unpacking:
The tool comes with various batch files to help with automating operations:
- extract-pak.bat - Drag a PAK file onto this to unpack it (remember to manually edit the batch file and update the filename of the filelist. By default it's set to RE2's file list name).
- texture-conv.bat - Drag and drop TEX/DDS textures files to convert them (note that for converting DDS to TEX, you'll need the original TEX file in the same directory as the tool updates the TEX file rather than creating it from scratch).
- texture-conv-all-dds.bat - Run this to convert all DDS files in the same directory to TEX.
- texture-conv-all-tex.bat - Run this to convert all TEX files in the same directory to DDS.
A couple of notes:
- 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.
- DDS -> TEX conversion works by copying over the image data. It does not update any part of the TEX header, so you should make sure the image type, size, and mipmap count are the same. This information is displayed when you convert from TEX to DDS. Note that the mipmap count shown includes the primary image as one mip.
- You can add "-tex" to extract-pak.bat if you want the tool to convert all found TEX files to DDS while extracting a PAK archive.
- Here's a guide explaining my preferred workflow for converting images to DDS: residentevilmodding.boards.net/thread/12573/texture-conversion-workflow-creates-version
- Here's a guide listing various workflows for iterating on mod development: www.patreon.com/posts/45460253
Step 1: Download and extract the REtool





Pro tip: Don't forget that the list and all the REtool's files need to be in the same place
Step 3: Drag and drop the re_chunk_000.pak into the [This is the base game. All the other .pak files are just game patches]

After everything is extracted, you can get lost among thousands of files as much as you please!
Thanks to Ekey who has done work figuring out the PAK format used in RE Engine games. He also created a hook letting us dump filenames from RE Engine games, and FluffyQuack for making the REtool.