[FE Fates] Romfs builder help

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Katsu78, Apr 20, 2016.

  1. Katsu78
    OP

    Katsu78 Member

    Newcomer
    28
    7
    Apr 18, 2016
    United States
    Trying to solve a rather frustrating issue here...

    I used hackingtoolkit3DS to extract a decrypted .cia of Fire Emblem Fates to look into the file structure of the game without editing anything. When the time came to rebuild the romfs, I noticed this:

    Warning: Spoilers inside!

    The RomFS that was rebuilt with RomFS builder is smaller than the decrypted RomFS.

    I initially thought nothing of it and rebuilt the .3ds and converted it to .cia and put it on my system.

    But then I loaded up a save and noticed this:

    Warning: Spoilers inside!

    Suddenly I really am experiencing the Invisible Kingdom, even my own units join in on the fun. Viewing any character model just causes the entire system to crash and reboot.

    Is there a step I'm missing here? Is there something extra I have to do to the rebuilt RomFS?
     
  2. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    I tried building a cia from a 3ds rom of Fates and encountered a similar problem. My filesize dropped by ~150 MB, so I'm stumped as well. It installed fine but the game crashes when I run it from the home menu.
     
  3. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    I might have found something to help, haven't tested it yet tho. Google "How to rebuild Fire Emblem: Awakening". Ctrtool seems to break romfs in Awakening, suspect a similar problem in Fates.
     
  4. Ironclad17

    Ironclad17 Member

    Newcomer
    35
    6
    May 9, 2016
    United States
    I tried that and it had the same encryption error as the standard settings on 3DS builder according to that guide.
     
  5. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    Yea, 3DS Builder wasn't reading my DecryptedExHeader.bin properly
     
  6. kamesenin888

    kamesenin888 GBAtemp Advanced Fan

    Member
    582
    149
    Oct 20, 2007
    i uploaded on that iso site a pack with the roms decrypted and the builder that works fine, its for the fire emblem if not the us one
     
  7. Ironclad17

    Ironclad17 Member

    Newcomer
    35
    6
    May 9, 2016
    United States
    Very generous of you. Which builder works specifically? I'm just trying to get that Same-Sex patch for Awakening working for Citra.
     
  8. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    Thanks kame, hoping you could run through your steps for decrypting as well. I keep getting errors in hash size and whatnot. I attached a snip of the error in action.

    FeFates Error.PNG
     
  9. DeathChaos25

    DeathChaos25 Unmei wo kaeru!

    Member
    1,312
    671
    Oct 21, 2015
    You HAVE to use these specific tools when it comes to romfs extracting/building 3DS Fire Emblem games.
     
  10. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    I did use them and encountered similar problems. But what would I use to extract the exefs and exheader files. The picture I attached previously, was from running HackingToolkit.bat.
     
    Last edited by Airavat, May 10, 2016
  11. DeathChaos25

    DeathChaos25 Unmei wo kaeru!

    Member
    1,312
    671
    Oct 21, 2015
    Why do you need to extract the exheader and exefs?
    If you're romhacking Fire Emblem, unless you're trying to rewrite or change parts of the game engine there's literally no reason to care about code.bin.
     
  12. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    Fair enough thanks, so when I'm rebuilding the rom what do I place in those sections.
     
    Last edited by Airavat, May 10, 2016
  13. DeathChaos25

    DeathChaos25 Unmei wo kaeru!

    Member
    1,312
    671
    Oct 21, 2015
    You don't need them to rebuild the romfs.
     
  14. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    I know that, but my end game goal is to create a CIA file. I'm kinda new to this so the only method I know is to decrypt and extract a .3ds rom's contents (which includes all the romfs, exefs, etc.), then rebuild it into a .cia. All the while placing a few changes of my own to the romfs.
     
  15. Airavat

    Airavat Member

    Newcomer
    45
    7
    Apr 6, 2014
    Barbados
    I followed the Awakening guide on serenesforest and I can rebuild the rom and cia. I can even install the cia but it will refuse to run, either crash or have an infinite 3DS logo. Any other guides out there that may have covered this issue? I have successfully built and installed the romhack for Pokemon Y in the past using part of the same guide, so I have some experience with it.
     
    Last edited by Airavat, May 10, 2016
  16. Ironclad17

    Ironclad17 Member

    Newcomer
    35
    6
    May 9, 2016
    United States
    I'm trying to add a patch actually. It looks like rebuilding a rom breaks decryption and you can only extract romfs from an already decrypted rom. Trying to decrypt after rebuilding gives exheader mismatches as well.