Tweaking the model file - chocmake/MGSV-Custom-Texture-Path-Hex-Replacer GitHub Wiki
Time for one of the simplest parts of the modding process. Now we have all the re-texturing complete we can tweak the model file using the automated batch script this Github repository was created for. This is to tell the model file to look for our new custom texture path instead of the original texture path it had been looking for previously.
Using the batch script
- Open the batch script and drag and drop the
.fmdl
file from within theModded
directory onto the window, then press Enter.- The script can actually be launched a few different ways, see this wiki page for alternative methods.
- Drag and drop the
.ftex
from within theOriginal
directory onto the window, then press Enter. - Drag and drop the
.ftex
from your custom path within theModded
directory onto the window, then press Enter.
Upon pressing Enter on the third step the hex editor program will quickly flash open to find and replace the hex strings as listed in the batch script window, from the original texture path to the new, custom one we made.
Assuming the steps were followed and the paths were valid it should state the FMDL file was successfully modified. After that we're finished with the FMDL model file, since it was only needed to change the texture path it looks for.
Next
Almost ready to test in-game! If you encountered any problems see the Troubleshooting section of the wiki, otherwise the only thing left before testing it in the game is packaging it all up in a file usable in the popular SnakeBite mod manager. Onto the next section!.