Texture Injections - Kizari/Flagrum GitHub Wiki
Hammerhead Retexture Example
Flagrum now supports automatic .btex conversions for almost all image formats, allowing in-game textures to be replaced effortlessly.
This guide will make use of Flagrum's Environment Exporter
to help you easily find various textures. Review the guide Importing Environments into Blender for tips utilizing this tool.
NOTE: To replace character and prop textures, use the FFXV Community Game File List and skip to Step 4. The file list also includes a section for finding particular environments and notable elements contained within.
After importing an environment into Blender:
-
Navigate the scene and select the object you want retextured.
-
Enter the
Shading
tab from along the top of Blender. The orange nodes are the texture nodes. Find the the texture nodes you would like to edit and select the browse icon to show you where that texture is being saved on your computer. You can edit the photo with whichever editing software you prefer and reselect the edited image within blender to preview the result. (When you are editing your image, always make a second lower resolution version to replace the texture the game uses for LOD. This will prevent occasionally seeing the original texture.) -
Next, we will need to reference the
Model URI
that is provided underItem Properties
on the right side bar. TheModel URI
tells us where within the game files the model we have selected is.
NOTE: Certain objects will require editing the MRS and Normal Map textures in addition to the Diffuse
- Open Flagrum, and go to
Asset Explorer
and navigate to the location of theModel URI
. Frequently, models will have a texture folder adjacent to the model. When a model shares textures however, you can select the model.gmdl
file to display a list of materials the model uses and their locations. Once you find the material from the new address, click the icon to the right of theTexture Inputs
to display the full data path.
NOTE: Changing shared textures will affect all instances of that texture.
- Still in Flagrum, navigate to
Mod Manager
and select theCreate Mod
button at the top-right to open a New EARC Mod page. SelectReplace Asset
and navigate to the texture you want to replace. After selecting the texture with Flagrum you will be asked to select the file you wish to replace the texture with. If applicable, repeat this for the lower resolution image as well. The lower resolution textures are always within theSource Images
folder with the same name, but without the_$h
suffix. Verify the names and locations are correct in the list, and you are ready to save the mod!
Hi-Res Texture Packs
Any mod that replaces a texture included in the optional Hi-Res Texture pack will only be installable on systems that already have that pack enabled.
Performance and LOD
The game uses the lower resolution files (those without _$h) while the game boots up to increase loading speeds, it may take a few seconds for the higher resolution images to be used instead. Similarly, LOD will default to lower resolution images as well, causing modified images to pop in or out. To fix this, make a small file size version of any modified texture and replace those as well.
Imprint or ghosting from original texture
Depending on the texture you are replacing, there may be other textures in the material that enhanced the original pattern on the diffuse texture you are replacing. Normal Maps and MRS textures may need to be edited as well to remove the residual shine, roughness, bumps etc....