Create a mod - VenoMKO/RealEditor GitHub Wiki
This guide explains how to start creating mods. Follow the steps and you should be fine.
1. Find a package to mod
You need to find a package that contains a texture you want to change. You can find packages in the S1Game\CookedPC\...
folders. There are different posts on the Internet with a list of what is what (e.g., PC_Event_09.gpk contains school uniforms).
2. Check if the package you've found is used by the game
After you've found a package with a texture you want to change, you need to check if the game loads/uses it. To do that, delete(don't forget to restore it later) the file and start the game.
-
Texture/object is still visible and nothing has changed
-
- This means the resource you are trying to change is in the composite storage, and you need to create a composite mod.
-
- Restore the file and continue with the Create a composite mod guide
-
Texture/object disappeared from the game
-
- You can mod this package as you would do with a 32-bit client or go to the next step.
3. Export the original texture and change it
Skip this step if you already have a modded image. If not, then select your Texture2D object in the left panel. Press Export and save the texture as an image file. TGA file format is preferable. If you use PNG and the image has transparency, make sure your editor will save it as a non-premultiplied(unmasked) PNG. If you don't have TGA and PNG options your CPU does not support AVX2 instructions. Use DDS format instead.
4. Import edited texture to the package
Press the Import button and select your image. In the import options window, click Import.
5. Save the package
Click File -> Save as and save your package to the S1Game\CookedPC\_Mods
(or _WhateverName
) folder. In the popped up Save options window, make sure the Disable texture caching checkbox is ON and press Save.