Post by FluffyQuack on Feb 26, 2019 8:52:29 GMT 10
Download: www.fluffyquack.com/tools/REtool.rar
Source code download: www.fluffyquack.com/tools/source/REtool.rar
If you're going to unpack a PAK, remember to get an exhaustive file list for the game you're extracting. Here's a collection of good file lists to use: github.com/Ekey/REE.PAK.Tool/tree/main/Projects
The tool comes with various batch files to help with automating operations:
A couple of notes:
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.
Source code download: www.fluffyquack.com/tools/source/REtool.rar
If you're going to unpack a PAK, remember to get an exhaustive file list for the game you're extracting. Here's a collection of good file lists to use: github.com/Ekey/REE.PAK.Tool/tree/main/Projects
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
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.