Texture Injections - Kizari/Flagrum GitHub Wiki

Hammerhead

Hammerhead Retexture Example


Table of Contents


Introduction

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.


Finding a Texture

After importing an environment into Blender:

  1. Navigate the scene and select the object you want retextured.

  2. 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.)

  3. Next, we will need to reference the Model URI that is provided under Item Properties on the right side bar. The Model URI tells us where within the game files the model we have selected is.


Imgur

NOTE: Certain objects will require editing the MRS and Normal Map textures in addition to the Diffuse


In-Game Location

  1. Open Flagrum, and go to Asset Explorer and navigate to the location of the Model 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 the Texture Inputs to display the full data path.


Imgur

NOTE: Changing shared textures will affect all instances of that texture.


Applying Edits to Game

  1. Still in Flagrum, navigate to Mod Manager and select the Create Mod button at the top-right to open a New EARC Mod page. Select Replace 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 the Source 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!


Imgur

Caveats

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

⚠️ **GitHub.com Fallback** ⚠️