ROM Hack Fire Emblem Fates: ROM Hacking General Thread

TildeHat

Well-Known Member
Newcomer
Joined
Oct 29, 2015
Messages
97
Trophies
0
XP
828
Country
Canada
The stats of characters you can recruit are in GameData.bin

Stats of enemy and NPC characters are in the respective .bin files in the Person folder. There are nightmare modules to help you edit stats.

Also, Kiragi's Fujin Yumi seems to draw from his strength stat instead of his magic stat during the Heirs of Fate chapters (which should be helpful for him given that his magic stat is busted right now).

The weapons that the kids can use Heirs of Fate of added and used in a file in the DLC. So the Fujin Yumi in HoF is different from the in game Fujin Yumi.
 

Blue Sun

Well-Known Member
Member
Joined
Sep 5, 2015
Messages
171
Trophies
0
Website
bluesunstudios.deviantart.com
XP
213
Country
United States
Stats of enemy and NPC characters are in the respective .bin files in the Person folder. There are nightmare modules to help you edit stats.
I'm unsure of which module I should use for that.

The weapons that the kids can use Heirs of Fate of added and used in a file in the DLC. So the Fujin Yumi in HoF is different from the in game Fujin Yumi.
Any way I can find out where those files are located?
 

Blue Sun

Well-Known Member
Member
Joined
Sep 5, 2015
Messages
171
Trophies
0
Website
bluesunstudios.deviantart.com
XP
213
Country
United States
Character
Let me make sure I know what I'm doing before I go any further, because I feel like I'm still lost. I have found the A000.bin.lz file in GameData/Person/, what I would do next is use Fire Emblem Archive Tool to turn it into A000.bin, then I use thane98's FEFNightmare.jar with the rest of the stuff that RainThunder has provided (alternatively I go to RainThunder's fefates-tools/character/person and get the A000.bin.lz file from there). Where exactly do I go from here, because when I go to "select file" and directly choose the A000.bin, then "open module" to pull up character.nmm, I get some weird stuff like a base 16 in Str for Takumi among other things.
 

TildeHat

Well-Known Member
Newcomer
Joined
Oct 29, 2015
Messages
97
Trophies
0
XP
828
Country
Canada
Let me make sure I know what I'm doing before I go any further, because I feel like I'm still lost. I have found the A000.bin.lz file in GameData/Person/, what I would do next is use Fire Emblem Archive Tool to turn it into A000.bin, then I use thane98's FEFNightmare.jar with the rest of the stuff that RainThunder has provided (alternatively I go to RainThunder's fefates-tools/character/person and get the A000.bin.lz file from there). Where exactly do I go from here, because when I go to "select file" and directly choose the A000.bin, then "open module" to pull up character.nmm, I get some weird stuff like a base 16 in Str for Takumi among other things.

Huh. Apparently there's no specific modules for person files. I was mistaken about that sorry.

You'll have to edit the stats manually in a hex editor unfortunately. Prologue Takumi's block starts at 0x328 in A000.bin. Here's the structure of the character block in fates. So from this, Takumi's stats should be at 0x328 + 0x38 = 0x360.

To find other character's you'll have to follow the labels at the end of the file. For example using A000.bin, Prologue Takumi's PID label is PID_A000_タクミ at 0x1D42. Subtract 0x20 from this to get 0x1D22 and search for the hex string "22 1D 00 00" (should bring you to 0x330). PIDs are 0x8 into the character block, so stats are 0x30 from the start of this pointer.

To look for labels you'll need a hex editor that supports Shift-Jis Encoding. I use wxMEdit to look for labels and HxD to edit.
 

Blue Sun

Well-Known Member
Member
Joined
Sep 5, 2015
Messages
171
Trophies
0
Website
bluesunstudios.deviantart.com
XP
213
Country
United States
Huh. Apparently there's no specific modules for person files. I was mistaken about that sorry.

You'll have to edit the stats manually in a hex editor unfortunately. Prologue Takumi's block starts at 0x328 in A000.bin. Here's the structure of the character block in fates. So from this, Takumi's stats should be at 0x328 + 0x38 = 0x360.

To find other character's you'll have to follow the labels at the end of the file. For example using A000.bin, Prologue Takumi's PID label is PID_A000_タクミ at 0x1D42. Subtract 0x20 from this to get 0x1D22 and search for the hex string "22 1D 00 00" (should bring you to 0x330). PIDs are 0x8 into the character block, so stats are 0x30 from the start of this pointer.

To look for labels you'll need a hex editor that supports Shift-Jis Encoding. I use wxMEdit to look for labels and HxD to edit.
Aiee...I was hoping it wouldn't have to involve hex editing. Oh well, I'll see what I can do from there. The only thing I really want left for now is how to change battle animations (Jakob just looks straight-up drunk using spear fighter's style for a tome) and extracting the DLC to edit it. Thanks for your help though.

-merged posts-

Okay, so as it turns out I am hopelessly lost with Hex editing. I don't even know where to start. I've searched up 0x328 and the only thing that gave me something was integer number which took me to a line that looks like this:
28 03 00 00 BC 03 00 00 C0 03 00 00 54 04 00 00

I need to start watching some videos on hex editing because that is some ugly code to work with.
 
Last edited by Blue Sun,

HeartlessSeph

Member
Newcomer
Joined
Jun 20, 2016
Messages
13
Trophies
0
Age
26
XP
97
Country
United States
Hello, I recently have been using the FEFeditor tools and they're pretty great. One thing I don't understand is how an Item's IID determines what weapon model and effects it's going to use. What I want to do is create copies of certain weapons in the game (Bolverk and Skadi specifically) and change their stats for "Player" versions of the weapons. I've got the description and stats to work perfectly but the model of Bolverk in-game is just the basic Hoshido Axe. I found the IID in ROM1 but I have no idea what I'm looking at at this point.

*EDIT: Scratch that, I think I understand this. The there's 2 pointers for one weapon "Block", the first being the IID of the weapon and the second being the model it uses, right? That means that I have to do a whole bunch of repointing to expand the table and it should be easy after that right?
 
Last edited by HeartlessSeph,

TildeHat

Well-Known Member
Newcomer
Joined
Oct 29, 2015
Messages
97
Trophies
0
XP
828
Country
Canada
Okay, so as it turns out I am hopelessly lost with Hex editing. I don't even know where to start. I've searched up 0x328 and the only thing that gave me something was integer number which took me to a line that looks like this:

You need to go to the address 0x328 (hold Ctrl + G in HxD).
 

Blue Sun

Well-Known Member
Member
Joined
Sep 5, 2015
Messages
171
Trophies
0
Website
bluesunstudios.deviantart.com
XP
213
Country
United States
His stats should start at the offset 0x360. You should see 05 05 00 06 04 08 03 02 there.
Oh, now I know what happened: I typed in 328 in the ctrl+g and searched with that instead of 360. I found the stats, thanks a bunch! I know I ask a lot of questions 'cause I'm hoping someone would walk me through the whole process, but hopefully I won't get too confused by the rest of the instructions since I'm going to be doing this a lot. Now I can finally start having a threatening magical Takumi that can hit you from three tiles away. I'll just have to figure out where to find the rest of the characters in each chapter. Thanks again!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +2
  • BakerMan @ BakerMan:
    @LeoTCK is your partner the sascrotch or smth?
  • Xdqwerty @ Xdqwerty:
    Good morning
  • Xdqwerty @ Xdqwerty:
    Out of nowhere I got several scars on my forearm and part of my arm and it really itches.
  • AdRoz78 @ AdRoz78:
    Hey, I bought a modchip today and it says "New 2040plus" in the top left corner. Is this a legit chip or was I scammed?
  • Veho @ Veho:
    @AdRoz78 start a thread and post a photo of the chip.
    +2
  • Xdqwerty @ Xdqwerty:
    Yawn
  • S @ salazarcosplay:
    and good morning everyone
    +1
  • K3Nv2 @ K3Nv2:
    @BakerMan, his partner is Luke
  • Sicklyboy @ Sicklyboy:
    Sup nerds
    +1
  • Flame @ Flame:
    oh hi, Sickly
  • K3Nv2 @ K3Nv2:
    Oh hi flame
  • S @ salazarcosplay:
    @K3Nv2 what was your ps4 situation
  • S @ salazarcosplay:
    did you always have a ps4 you never updated
  • S @ salazarcosplay:
    or were you able to get new ps4 tracking it \
    as soon as the hack was announced
  • S @ salazarcosplay:
    or did you have to find a used one with the lower firm ware that was not updated
  • K3Nv2 @ K3Nv2:
    I got this ps4 at launch and never updated since 9.0
  • K3Nv2 @ K3Nv2:
    You got a good chance of buying a used one and asking the seller how often they used or even ask for a picteof not updating just tell them don't update
    K3Nv2 @ K3Nv2: You got a good chance of buying a used one and asking the seller how often they used or even ask...