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.
texture-conv-all-tex-subdirs.bat - Run this to convert all TEX files in the same and sub directories to DDS (good if you want to convert literally every TEX after unpacking the PAK file).
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.
Thanks to Ekey who has done work figuring out the PAK format used in RE Engine games.
Post by FluffyQuack on Feb 27, 2019 6:13:43 GMT 10
I noticed I had done a silly mistake with the batch file. If you re-download it, then you'll get one which works. You wanna drag and drop the PAK file onto the batch file by the way, otherwise everything will get extracted without filenames.
Post by FluffyQuack on Mar 3, 2019 22:04:43 GMT 10
Okay, I was planning on adding more features to this, but I want to slow down with RE2 modding as I'm starting to feel rather burned out.
At the very least, I did add a basic TEX <-> DDS convertor (just drag and drop any TEX/DDS file onto the texture-conv batch file). Note that this conversion does not work with all textures in RE2 (should work with most though), and when converting back to TEX, you need the original TEX file in the same directory and the DDS needs to be of the same type and size (same compression, which is going to be BC7 in most cases. Same resolution. And same amount of mipmaps).
Huskya: destroythevoice everyone can reskin but i don't really understand noobie friendly. you gotta learn but reskins are easy
Oct 17, 2019 3:21:37 GMT 10
CodeGameSon: I suggest for everyone or developert whatever who is send a mod, just send a video in discription because the screenshoot or picture can be lost or broken or anything else........... please..... that a small problem but that is importhing too......
Oct 19, 2019 4:32:26 GMT 10