SMTVV ‐ Editing Textures - mugenrei/mugenrei.github.io GitHub Wiki
Step 0: Programs you need
- Unreal Engine 4.27, you can get it on the Unreal Engine Downloader Launcher.
- Tip: You can install to any folder, create a shortcut to the UE4Editor.exe then remove the launcher later.
- UnrealPak.
- FModel.
Step 1: Create a Project in UE 4.27
- Open Unreal Engine 4.27.
- Create a new project, empty with no starting assets.
Step 2: Export Texture
-
Extract FModel.
-
Open FModel.
-
Click
Directory > Selector
. -
Click the arrows icon under ADD UNDETECTED GAME.
-
On Directory, select:
Path/to/SteamLibrary/common/SMT5V
.
-
Click the
+ button
. -
On the Top Section change UE Versions to:
GAME_UE4_27
.
-
Note the original path of the texture in the game's directory structure. This is crucial for re-importing.
Step 3: Edit the Textures
- Open the extracted textures in your preferred image editing software.
- Make the necessary edits to the texture.
- Save the edited texture in PNG or TGA, same name as the original.
Step 4: Import Textures into Unreal Engine
- Open your project in UE 4.27.
- Navigate to the
Content
folder in the root directory. - Replicate the original path structure of the texture within the
Content
folder. - Drag and drop the edited texture into the corresponding folder.
Step 5: Adjust Texture Settings
- Model Textures: No changes needed to the texture settings.
- UI Textures:
- Double-click on the imported texture to open the settings.
- Change the Compression Settings to
VectorDisplacementmap
. - Set Mip Gen Settings to
NoMipmaps
. - Set the Texture Group to
UI
. - Save.
Step 6: Cook the Project
- Navigate to the
File
menu. - Select
Cook Content for Windows
. - Wait for the cooking process to complete.
- Should be inside
D:\Documents\Unreal Projects\ProjectName\Saved\Cooked\WindowsNoEditor\ProjectName\Content\...
Step 7: Prepare the Mod Folder
- Create a folder for your mod.
- Inside this folder, replicate the path to your project:
modfolder/Project/Content/...
. (PS: Has to be justProject
this time and not the name you gave to your ue4 project.) - Copy the cooked files into this path.
Step 8: Package the Mod
- Drag and drop
modfolder
onto theUnrealPak-With-Compression.bat
file. - This will create a
.pak
file for your mod.
Step 9: Install the Mod
- Place the
.pak
file into the game's~mods
folder. - Launch the game to see your mod in action.
Congratulations! Have Fun!