Skip to content

Simplifies custom FTEX texture path hex replacement in FMDL/FV2 files

License

Notifications You must be signed in to change notification settings

chocmake/MGSV-Custom-Texture-Path-Hex-Replacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

MGSV Custom Texture Path Hex Replacer

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.

wiki-guide-banner


Example GIF of script usage:

script in practice-v0 3


Dependancies

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 to set usequickhash=yes.


Installation

  1. Install the required programs.
  2. Download the top zip from the Releases tab.
  3. Launch MGSV-Custom-Texture-Path-Hex-Replacer.bat.
  4. Drag and drop the installed programs on the window as prompted to save the paths to the script.

Usage

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

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.


Known issues

  • 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.

About

Simplifies custom FTEX texture path hex replacement in FMDL/FV2 files

Resources

License

Stars

Watchers

Forks