Skip to content

How to Use Mods in Pokemon Scarlet and Violet

Inidar1 edited this page May 30, 2023 · 10 revisions

Introduction

Trinity Mod Loader is an easy to use tool that lets you combine as many mods as you want into your very own multi-mod for Pokemon Scarlet and Violet. This guide will show you how.

Prefer video? Check out How to Combine Mods for Pokemon Scarlet and Violet on Youtube

Want to make your own mods? Check out these tutorials instead:
How to Mod Game Mechanics and Config Settings
How to Make Pokemon SV Mods: Trinity Mod Loader

Want more help or just want to chat?
Find me on Discord at Inidar Academy

Note: Trinity Mod Loader requires the newest .net framework 6.0 (Microsoft) to run.


1. Acquire data.trpfd File

To get this file, download any up-to-date mod that includes it -- for example, a STANDALONE version of Faster Battles

Download the mod, extract the zip, then copy the data.trpfd file from the arc folder to any location you choose. You will be using this in step 3.

Alternatively, dump the full game with an emulator (right click-->extract data) and move the resulting ‘arc’, ‘audio’, ‘demo’, and ‘event’ folders into a new folder called ‘romfs’.

Note: Using a data.trpfd file from a mod instead of a full dump will show a message saying "Couldn't find trpfs/trpfd" -- this is normal.


2. Prepare Trinity Mod Loader

Download the latest release of Trinity Mod Loader here:
Trinity Mod Loader Download

Extract the files, then add oo2core_8_win64.dll to the same folder as TrinityModLoader.exe (the mod loader executable). 

Do not skip this step or the Mod Loader will not work.

oo2core_8_win64.dll can’t be redistributed, but an easy way to get it is to download the free game Warframe, either from Steam or from their website. Start the installer, then stop once the game starts downloading (you do not need the whole game). 

Then, depending on your source navigate to C:\Program Files (x86)\Steam\steamapps\common\Warframe\Tools\Oodle\x64\final OR ...\AppData\Local\Warframe\Downloaded\Public\Tools\Oodle\x64\final and you will find oo2core_9_win64.dl.

Rename oo2core_9_win64.dll as oo2core_8_win64.dll and you are good to go.


3. Open .trpfd File and Set Output Folder

Open TrinityModLoader.exe. If you extracted the full game in Step 1, point to the romfs folder you created when asked.

If you got your data.trpfd from a mod instead, select any random folder and then click 'OK' when it tells you "Couldn't find trpfs/trpfd". Then click 'File', choose "Open File Descriptor", and navigate to the data.trpfd file you set aside in Step 1.

When it opens, it will again say "Couldn't find trpfs/trpfd". Click OK, then move to tree view after it finishes loading and Unmark all files highlighted Red. If you used Faster Battles, navigate to world\data\battle\battleconfig, right click battleconfig.bin, then select "Unmark for LayeredFS"

Finally, create a brand new EMPTY folder for Trinity to output your combined multi-mod. Then click ‘File’ again, choose "Set Output Folder", and select the brand new empty folder you just created. Do not use a pre-existing folder, create a new one that is completely empty


4. Repackaging Your Mods

Note: If your mods all have 'Trinity Mod Loader' versions, they do not need to be repackaged and you can skip straight to step 5. If not, read on to learn how to repackage the mods yourself.

Each standalone mod you download will have a romfs folders. In short, your goal is to open that romfs folder, take all the folders inside MINUS any arc folder, and add them to a brand new ZIP called 'mod1' (or anything else).

In other words:

You will need to make one zip file for each mod. Each zip must contain all folders that were in that mod's romfs, EXCLUDING any 'arc' folders. 

These zips can be named anything you like -- for example, 'mod1.zip', 'mod2.zip', 'mod3.zip' etc.

Important: Make sure the file structure is correct -- see examples below:

Correct File Structure:
mod1.zip\chara\share\cm_drs0000_00_bottoms02_00_00_alb\ cm_drs0000_00_bottoms02_00_00_alb.bntx
mod2.zip\chara\share\cm_eye_eyebrow00_alb\cm_eye_eyebrow00_alb.bntx

Incorrect File Structure: 
mod1.zip\romfs\chara\share\cm_eye_eyebrow00_alb\cm_eye_eyebrow00_alb.bntx
mod2.zip\romfs\chara\share\cm_eye_eyebrow00_alb\cm_eye_eyebrow00_alb.bntx

Notice there is no romfs folder in the ZIP -- only the folders that were *inside* the mod's romfs are included in the ZIP.


5. Add Mod to Mod Loader

Go back to Trinity Mod Loader and click ‘Add Mod’, then choose mod1.zip, then mod2.zip, then mod3.zip (etc.) that you created in step 4. 


6. Apply Mod

Make sure your mods are all checkmarked in the list, then click ‘Apply Mod’. Your combined mod will now be created in the output folder you set in step 3.

Note: Trinity does fix or merge mod conflicts. If multiple mods affect the same files, bottom most mod will have priority.


7. Using your mod

To package your mod, create a new folder called ‘romfs’ and drop all the folders created in output folder into it. This romfs folder is your mod! 

To use it, follow the instructions below:

Note: For Violet, replace 0100A3D008C5C000 with 01008F6008C5E000

Installation on Switch

Copy romFS folder into `sdcard:\atmosphere\contents\0100A3D008C5C000`\

Installation on Emulator

Step 1. Open the emulator.
Step 2. Right click on the game, select "Open Mod Directory" (Ryujinx) or "Open Mod Data Location" (Yuzu) and a folder will open.
Step 3.
Create a new folder in the directory you opened in Step 2 and name it YourMod(or whatever you want). Then, place the romFS folder into the new folder you created. Your final directory path should look like this:
`\...\0100A3D008C5C000\YourMod\romfs`  


Thanks & Acknowledgments

Huge thank you to Reisyukaku and mv_oripoke for creating this tool and making all of this possible. 

And a huge thank you to Jamorhi, itskurtly, VulgrPixel, Omegatron3423, TheSnorlaxBoi, H3roDude, and Ænigma for your support -- Legends, all of you.

All my mods and tutorials are always free, but if you want to support my work and get your own shoutout, check out my Patreon or buy me a coffee below:)
Click here for Patreon
Click here for Ko-Fi