ROM Hack Fire Emblem Fates: ROM Hacking General Thread

Dylos

Well-Known Member
Member
Joined
May 13, 2016
Messages
285
Trophies
0
Age
37
XP
220
Country
United States
Ok, so I'm trying to make a transforming class, a Manakete actually, but for whatever reason they only seem to swing the stone, I tried having the asset load the Eiyu (I believe these are Corrin's animations) and the Garu animations, but both times it did the same thing. I don't know if my pointer to the animations are wrong (so far as I can tell there isn't one) or if I'm supposed to include any additional information to get the character to transform. It also didn't load the armor on the character as well.

I've included the asset file for my class as a rar below, it's not encrypted right now (I'm encrypting it properly, the right model is loading, it's just not transforming or wearing armor on the model.)

If anyone could help me figure out what I'm missing that'd be great.
 

Attachments

  • Manakete.rar
    241 bytes · Views: 103

Omegablu

We shall not yield to the Kingdom of Nohr!
Member
Joined
Mar 10, 2016
Messages
1,140
Trophies
0
Location
Ice Tribe Village
XP
1,026
Country
United States
Ok, so I'm trying to make a transforming class, a Manakete actually, but for whatever reason they only seem to swing the stone, I tried having the asset load the Eiyu (I believe these are Corrin's animations) and the Garu animations, but both times it did the same thing. I don't know if my pointer to the animations are wrong (so far as I can tell there isn't one) or if I'm supposed to include any additional information to get the character to transform. It also didn't load the armor on the character as well.

I've included the asset file for my class as a rar below, it's not encrypted right now (I'm encrypting it properly, the right model is loading, it's just not transforming or wearing armor on the model.)

If anyone could help me figure out what I'm missing that'd be great.
I think you have to specify a transformed model in the class AID. I'd take a look at the transforming class AIDs to get a better idea of their structure.
 

Dylos

Well-Known Member
Member
Joined
May 13, 2016
Messages
285
Trophies
0
Age
37
XP
220
Country
United States
I think you have to specify a transformed model in the class AID. I'd take a look at the transforming class AIDs to get a better idea of their structure.
Possibly, I looked over the asset files in the game already, I'll have to try again (and I really need to get a hex editor that supports japanese).
 

TildeHat

Well-Known Member
Newcomer
Joined
Oct 29, 2015
Messages
97
Trophies
0
XP
828
Country
Canada


The transforming classes have an HID in their asset block. HIDs can be found in the ROM5 file in the asset folder.

Lead the block with 19 06 00 C8 and use these labels in this order.
JID/AID
Body model
Body texture
Armour model
Armour texture
Animation
HID
Footstep noise
 

Dylos

Well-Known Member
Member
Joined
May 13, 2016
Messages
285
Trophies
0
Age
37
XP
220
Country
United States
The transforming classes have an HID in their asset block. HIDs can be found in the ROM5 file in the asset folder.

Lead the block with 19 06 00 C8 and use these labels in this order.
JID/AID
Body model
Body texture
Armour model
Armour texture
Animation
HID
Footstep noise
HID_竜 is the HID I need, I've tried including it, but the game seems to crash every time. If I change the lead block back to 19 06 00 88, the game doesn't crash, but the character continues to swing the stone. I also tried 19 06 00 B8, 19 06 00 A8, and 19 06 00 98, those all caused the game to crash as well.
 

TildeHat

Well-Known Member
Newcomer
Joined
Oct 29, 2015
Messages
97
Trophies
0
XP
828
Country
Canada
HID_竜 is the HID I need, I've tried including it, but the game seems to crash every time. If I change the lead block back to 19 06 00 88, the game doesn't crash, but the character continues to swing the stone. I also tried 19 06 00 B8, 19 06 00 A8, and 19 06 00 98, those all caused the game to crash as well.

The 01 00 00 00 after the 19 06 00 88 is also part of the leading block. Delete that.
 

Sir Diesalot

Member
Newcomer
Joined
May 11, 2016
Messages
16
Trophies
0
Age
27
XP
97
Country
United States
I simply can't find the model files, and even if I did, I wouldn't really know how to use the dev tools to edit them. I think they're located in the "bu" folder in the romfs, right? Organized by character ID?
 

oBlacKirAo

Member
Newcomer
Joined
Sep 6, 2016
Messages
8
Trophies
0
Age
31
XP
52
Country
United States
Could someone help me to solve my problem? I post it before. I keep getting the error "Rom/HostRoot" must be set when I try to repack the custom DLC with the official ones.
What is Rom/HostRoot? RomFS? But I only have a bunch of DecryptedApp files.
 

ajmiam

New Member
Newbie
Joined
Sep 13, 2016
Messages
3
Trophies
0
Age
31
XP
46
Country
United States
I'm planning to write a randomizer for the game that shuffles around the skills the various classes learn, with the possibility of even assigning "enemy-only" or "DLC-only" skills to player classes if the user so desires. I think based on this guide I've found I can do this by changing the skill IDs stored in offsets 0x54 - 0x5b from the start of each class's data block in Gamedata.bin. However, there are a few things I am wondering:

1) Has anyone attempted to see what happens if you modify the data so that a class learns the skill "Inevitable End" (or any other "enemy-only" skill)? Does the game correctly award it when a player unit reaches the proper level in that class, or does an error occur since Inevitable End is an enemy-only skill? (I already know that the skill functions correctly in battle once it's given to a player unit, eg through Powersaves, so that part isn't a concern.)

2) I wasn't able to find a guide for the Skill data portion of Gamedata.bin. Does anyone know...
2a) ...if and where there's a flag that marks a skill as "enemy-only" or "DLC-only"? I know these skills behave differently from "normal" skills in game (enemy-only skills don't stay on captured units, and DLC-only skills can't be inherited by child units). My goal would be, when doing a shuffle run, to have the game treat all skills as "normal" class skills.
2b) ...where the Gold costs for the skills are defined (for skill buying from the Unit Logbook)?

Thanks so much!
 

thane98

Well-Known Member
Member
Joined
Apr 23, 2016
Messages
617
Trophies
0
XP
1,535
Country
United States

I don't think there's any existing documentation on the skill blocks, so if you want to do anything with those you'll need to try mapping out the blocks first. It looks like the actual entries in the skill table start at 0x12BBC, and each block is of size 0x20. It looks like the first 3 spots in the block are pointers to the skill ID, the skill name, and the skill description, and the rest of the block is used for assigning skill effects and additional flags (one of these is likely used for enemy only). Skill costs might be defined here as well, though you'll have to look around the blocks a bit to see if that's true.

I don't see any reason why the game would have issues with adding enemy only skills to a classes learned skills, though I haven't tested this personally. If you're worried about it, try switching one of a classes learned skills to an an enemy only skill and see how it shows up in game. Also, I'd recommend taking a look at the nightmare modules for Fates, as there's a module for the class table inside GameData.bin. If you plan on doing some experimenting with the class blocks, then something like that could be useful.
 

El Dimentio

Active Member
Newcomer
Joined
Nov 1, 2009
Messages
29
Trophies
0
XP
167
Country
United States
Hi guys,

Is there any documentation on changing recruitment order? For example, replacing Silas in Conquest Chapter 7 with Keaton and changing the conversation / sound effects from the join event? I noticed the join event data is in GameData/Dispos/B/B007.bin.lz, and the message data is in m/B/@E/B007.bin.lz labeled under MID_B007_EV1_PCM1 and MID_B007_EV1_02_PCM1

Do I just need to change the character spawn data in the Dispos file using the data on the first post here (http://i.imgur.com/TyHIoKJ.png)? I know it says PID there but I don't know what to change this pointer to in order have it link to Keaton rather than Silas. Is PID a pointer to data in this same file, data in GameData.bin.lz or what?

So that's two areas I know for a fact that I would have to edit, are there any other areas I would have to edit?

I'm pretty much a beginner hacker but I have programming knowledge and would love to learn more about this, so any help would be appreciated. Thanks!
 

thane98

Well-Known Member
Member
Joined
Apr 23, 2016
Messages
617
Trophies
0
XP
1,535
Country
United States
For changing recruitment orders, you've got 3 main files that you need to edit. First, you have the dispo file which determines unit spawn data. The PID is a label used to identify a character. The indicated position in the block points to the label within the dispo file (the label is offset by 0x20 from the position pointed to). If you wanted to make a block spawn Keaton instead of Silas, you would need to find the PID used for Keaton, add it to the dispo file, and then change the block to point to the newly added PID (remember to subtract 0x20 from the offset of the PID when doing this). If you don't understand the BIN format for Fates, check the wiki that the main post links to.

Next, you need to edit the map scripts for the file. All you really need to do here is find the PID for Silas and swap it out with the PID for Keaton. You could potentially add the PID to the end of the file, but repointing things in the script files can be tricky as the file uses offsets relative to a reference position which changes from file to file. It can be done, but if you can overwrite Silas' PID, that could save you some headaches.

Finally, you have to edit the text, which should be pretty straightforward. You can check your text in FEITS to see if it displays properly.
 

El Dimentio

Active Member
Newcomer
Joined
Nov 1, 2009
Messages
29
Trophies
0
XP
167
Country
United States
Thank you so much! I was able to get it to work :D http://i.imgur.com/x31r5Og.png?1

Now I just have to get those IIDs updated (and lower his level) and then work on the text. One more question though, I know FEAT does an excellent job of converting the message files to a very easy to edit .txt file, but is there a way to simply make changes to that text file and be able to recompress it into the .bin.lz format? Or do I have to directly modify the .bin file it generates and then use DSDecmp to compress that back to .lz? Thanks!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I do wonder how dominate Germany would've been if they just enlisted Jewish people
  • BigOnYa @ BigOnYa:
    They actually enlisted Muslims, seriously, because the Muslims hates Jews, even tho it was not the supreme race. He claimed common hate, is friendship.
  • K3Nv2 @ K3Nv2:
    He could've just made them walking shields kind of a dumb ass move
  • K3Nv2 @ K3Nv2:
    https://a.co/d/3km8bqC lol cd level quality I fucking hope so
  • BigOnYa @ BigOnYa:
    So a man, wifey laying in bed, and man wants sum and rubs on her a little, she turns and says "Not tonight, I have a gyno apt in the morning." So man rolls over, but after few minutes starts rubbing her again. She says didn't you here me, no messing around, I have a gyno apt tomorrow. " Man says, "Well you don't have a dentist apt tomorrow also do you?"
  • BigOnYa @ BigOnYa:
    Damn I have 8 modded rgh3 x360 slims I've done, I need to get rid of, I figured my family members or friends would want but times have changed. Think I'm gonna stop buying them and modding. Time to Switch it up (pun intended)
  • K3Nv2 @ K3Nv2:
    Yay power outages
  • K3Nv2 @ K3Nv2:
    @BigOnYa, I'm your friend
    +1
  • BigOnYa @ BigOnYa:
    There literally no storms in your area, does it go out alot? You need to just send me your slim n ill rgh3 it free.
  • BigOnYa @ BigOnYa:
    Or grow sum balls and do it yourself, not hard. More of a pain to jailbreak a ps4 than it is the 360, other than little soldering.
  • K3Nv2 @ K3Nv2:
    Problem is my dick gets in the way
  • BigOnYa @ BigOnYa:
    Yea true, would be a pain having that on your forehead
  • K3Nv2 @ K3Nv2:
    The chicks love it
    +1
  • K3Nv2 @ K3Nv2:
    Every damn time there's a loud noise dudes car alarm goes off freaking annoying
  • BigOnYa @ BigOnYa:
    Stun gun the metal of the car (door, bumper, etc), you won't hear it again, promise.
  • realtimesave @ realtimesave:
    damn accidentally ripped my car cover just now
  • realtimesave @ realtimesave:
    happens
  • K3Nv2 @ K3Nv2:
    Or plant drugs get him evicted
  • realtimesave @ realtimesave:
    the one on my other car is all ripped up
  • K3Nv2 @ K3Nv2:
    Not your $400 car cover :ohnoes:
  • BigOnYa @ BigOnYa:
    There you go, thinking with your "dickhead"
  • realtimesave @ realtimesave:
    some day the wind will blow so hard it'll rip in half
  • K3Nv2 @ K3Nv2:
    I think in big inches
    +1
    K3Nv2 @ K3Nv2: I think in big inches +1