Skip to content

Dawnbomb's Yuzu 3H Modding Guide

dawnbomb edited this page Dec 25, 2022 · 1 revision

Dawnbomb's Yuzu 3H Modding Guide

This guide assumes you already have the game running in Yuzu. If you don't, go figure out that first. This guide will be getting the files files are they are in v1.2 of the game, so it also assumes you have installed and enabled the 1.2 update in yuzu. If your not sure, it will be listed as a "add-on" in yuzu. This part of the guide only covers getting game files as they are in v1.2, it does not cover getting DLC. DLC will be covered in a later section. This guide might look long, but thats only because i use lots of large images every step of the way to make sure there isn't any confusion as to what you should do. It actually takes less then 5 minutes. (Except for the time it takes to extract the game files).

Part 1: Dumping the game files (Game v1.2 Files) using only the Yuzu emulator.

This part will cover dumping the game files from yuzu, and making a folder to put them in. If you already have that, and are looking to know how to turn them into editable files, skip to part 2.

In yuzu, right click the game and select Dump RomFS / Dump RomFS (Why do they have this option inside itself?).

  • 1: In the popup window, select Base.
  • 2: Click OK
  • 3: For dump mode, select Full
  • 4: Finally, wait a few minutes (Good time to go to the washroom or get a snack). When it's done an OK prompt will appear.

Next, a folder with the game dump will appear. If you lose this location or accidentally close this window, it is dumped to C/Users/ (Your Name) /AppData/Roaming/Yuzu/Dump/ (GAME ID) "Your Name" is just whatever your username is, (GAME ID) is the game's ID code (Different per region). The ID code is shown in yuzu right under the games name but so long as you aren't dumping other games it should be the only one.

Create a new folder somewhere on your computer. This is where all the game modding stuff is going to happen. I strongly recommend making it on the same drive that yuzu is on, so that moving files around later as you mod the game will be really fast. I also suggest calling it something like "FE Three Houses Mods". Anyway, move the folder with the Game's ID number to this new folder.

Okay! Your all done part 1.

Part 2: From v1.2 Yuzu Dump to Editable Game Files.

Unfortunately, Three Houses put it's files into a second layer of compression to make sure they would reduce the file sizes enough for the switch. This part covers turning the game dump Data0 and Data1 files and extracting them further into files you can edit to mod the game. These files have the Characters, Classes, Weapons, Items, Spells, Chapter data, etc everything else you care about. If you already have these files extracted and want to know how to create an example mod and load it in yuzu, skip to part 3.

  • Download Python 2.7 During install, i strongly recommend selecting Install just for this user. Then for location, select C:\Users\ (Your Name) \AppData\Local\Programs\Python\Python27. You may have to create the Python and Python27 folders. I recommend this location, because later versions of python are installed here, and if your an avid modder, or may mod other games later on, different game modding communities use different mandatory specific versions of python. You may even already have some here. PS: You will need to remember this install location in a minute.

  • 3H File Extractor (Credits: SciresM for extractIndexNum.py) Unzip this as a folder inside the Fire Emblem Three Houses Mods folder.

This is not a new step, but just to make sure your following along: By now, your dump folder in yuzu on the C drive should be empty, the game ID folder, and an unzipped file extractor in whatever mod folder you made to store various FE3H Mods. If you accidentally copied the game ID folder instead of cutting it, it will still be on your C drive. The files are over 10GB in size, so i recommend deleteing them off your C drive if they are still there, and then emptying your recycling bin. Below is an example of what the current setup should look like (Even if all you have is a big C drive you still don't want the files to be left in the yuzu dump folder).

I strongly recommend you leave the game ID folder here forever as a backup, you never know when your going to make a silly mistake while modding and need to re-dump the game files. Anyway, next up were going to copy Data0.bin and Data1.bin from GameID/romfs/ to the 3H File Extractor folder. It should look like this.

Were close to done, now we just need to extract the files and name then. To extract them, just run extractIndexNum.py however, if you have other versions of python installed, it may try and use the wrong version (and thus do nothing). To make sure it's the correct version, right click extractIndexNum.py and select open with/Choose another app and then select More apps follow by scrolling down, optionally clicking always use this app, and then clicking ok. Next just go to wherever you installed python 2.7 on your pc, and select the exe. NOTE: If you forgot where you installed it, you can either search from the taskbar, or run the installer again and select uninstall, then run it again to reinstall, and this time select install only for this user, and pick wherever you would like to install it to.

At this point, command prompt will open, running through and saving just over thirty thousand files. Feel free to go to the washroom or grab a snack.

When it's done, there is no okay prompt, it simply disappears. Now in the out folder, there will be a ton of numbered files. These are the games raw files, but their really hard to work with like this, so we have one more step. Run filelist.py and it will sort them properly and give them all names we can work with.

If you have been following along, you now have all the files for game version 1.2. Some noteworthy popular files as examples are common/common/msgdata.bin containing most of the games text, and common/scenario/bmap/ containing various chapter files. For example 83 and 84 "A Skirmish at Dawn" is the name of the tutorial chapter at the start of the game with byleth and the 3 lords. It contains info on enemys, their locations, their inventories, classes, etc for that chapter. Most game chapters are located here. We will continue with what to do next in the next section.

Part 3: From Editable Game Files to Testing My First Mod

Okay, you got the game files, your screaming "I want to do the thing!". Your going to have a lot of questions about how to do things, so lets start out by creating a few example mods of the game.

I will write this part another time...

Also upcoming: DLC, Modding specific game parts, etc.

Clone this wiki locally