Simplifies custom FTEX texture path hex replacement in FMDL/FV2 files for Metal Gear Solid V: The Phantom Pain, the manual process of which originally outlined on BobDoleOwndU's wiki page.
For an overview of features to this technique, an installation guide, and general usage in more detail see the wiki. For a thorough tutorial using this technique and batch script click the graphic below.
Example GIF of script usage:
Note: As of v0.3 of the script there's a setting to use QuickHash for the hex function instead. If you'd prefer to use it open the script in a text editor and beneath the Settings heading change
set usequickhash=no
toset usequickhash=yes
.
- Install the required programs.
- Download the top zip from the Releases tab.
- Launch
MGSV-Custom-Texture-Path-Hex-Replacer.bat
. - Drag and drop the installed programs on the window as prompted to save the paths to the script.
The script can launched a few different ways:
- Opening the script by double-clicking it.
- Dropping an FMDL/FV2 file on its icon.
- Launching it from an FMDL/FV2 file via a custom Send To context menu shortcut.
From there follow the prompts. The FTEX paths can either be filled by drag and dropping the files or by pasting the paths into the prompts.
Tip: if you run into any problems check if the Troubleshooting section of the wiki covers it.
Ground Zeroes uses a different method of writing textures to the FMDL which is far stricter and impractical for the method used by this batch script. See FMDL Studio for a usable alternative which supports custom paths and filenames.
- Extended ranges of Unicode is unsupported. Due to both encoding for storing the program paths in the batch script but also importantly as the XVI32 hex editor doesn't appear to read files from paths with such Unicode characters.