SMTVV ‐ Editing Textures - mugenrei/mugenrei.github.io GitHub Wiki

Step 0: Programs you need


Step 1: Create a Project in UE 4.27

  1. Open Unreal Engine 4.27.
  2. Create a new project, empty with no starting assets.

Step 2: Export Texture

  1. Extract FModel.

  2. Open FModel.

  3. Click Directory > Selector.

  4. Click the arrows icon under ADD UNDETECTED GAME.

  5. On Directory, select:

    • Path/to/SteamLibrary/common/SMT5V.
  6. Click the + button.

  7. On the Top Section change UE Versions to:

    • GAME_UE4_27.
  8. Note the original path of the texture in the game's directory structure. This is crucial for re-importing.


Step 3: Edit the Textures

  1. Open the extracted textures in your preferred image editing software.
  2. Make the necessary edits to the texture.
  3. Save the edited texture in PNG or TGA, same name as the original.

Step 4: Import Textures into Unreal Engine

  1. Open your project in UE 4.27.
  2. Navigate to the Content folder in the root directory.
  3. Replicate the original path structure of the texture within the Content folder.
  4. 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:
    1. Double-click on the imported texture to open the settings.
    2. Change the Compression Settings to VectorDisplacementmap.
    3. Set Mip Gen Settings to NoMipmaps.
    4. Set the Texture Group to UI.
    5. Save.

Step 6: Cook the Project

  1. Navigate to the File menu.
  2. Select Cook Content for Windows.
  3. Wait for the cooking process to complete.
  4. Should be inside D:\Documents\Unreal Projects\ProjectName\Saved\Cooked\WindowsNoEditor\ProjectName\Content\...

Step 7: Prepare the Mod Folder

  1. Create a folder for your mod.
  2. Inside this folder, replicate the path to your project: modfolder/Project/Content/.... (PS: Has to be just Project this time and not the name you gave to your ue4 project.)
  3. Copy the cooked files into this path.

Step 8: Package the Mod

  1. Drag and drop modfolder onto the UnrealPak-With-Compression.bat file.
  2. This will create a .pak file for your mod.

Step 9: Install the Mod

  1. Place the .pak file into the game's ~mods folder.
  2. Launch the game to see your mod in action.

Congratulations! Have Fun!