[Question] Anyone got to load FE:A ROMFS successfully through HANS?

Discussion in '3DS - Homebrew Development and Emulators' started by Olmectron, Oct 31, 2015.

  1. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    I don't like to create threads for asking anything, specially when I feel it's a dumb question. But this is driving me mad. Please, read it all if you have some spare time.

    It all started when I read the braindump prerelease thread from the great temper @neobrain. I was delighted at such nice development for the ROM hacking community. I immediately got my 3DS outside of my backpack, where I usually keep it, and using the nifty app, I put my Fire Emblem: Awakening digital copy in a long but straightful dumping process. I went to read more from the marvelous GBATemp community meanwhile.

    Three or four hours of reading so many good lines from the great VinsCool later, I went to check my 3DS. It had already finished the dumping task, from which I got a 1 GB romfs.bin file. Using SciresM's excellent ROMFS extracting tool, I managed to get so many media, data and whatnot directories. I started to happy editing several LZ11 compressed files! Oh, the joys of life!

    Anyway. After messing up with around four or five files, I decided to check the subtle changes I had done. Using the builder tool from SciresM, I reunited all of the directories into one big file, from which I erased the first 0x1000 bytes as everyone in several threads says it has to be. My excitement was in the clouds when the builder ended its task! Being fairly new to the ROM hacking stuff, I was joyful and already looking forward to everything I could just by changing some scripts and images.

    I renamed my rebuilt file as the HANS app stated. It was 000A0500.romfs, I remember, and I put it in the hans folder, which I created in the root directory of the SD card. I know I did it right since HANS didn't print the "INVALID" message it prints when it doesn't find the ROMFS file as specified, or when it's been wrongly edited. Everything went down once I pressed A with the "OK" option selected. My screen got filled by so many weird pixels, just like when opening any homebrew app, but it froze there.

    I retried the process so many times, some of which I used the romfs file as I got it, without editing anything, and only removing the 0x1000 first bytes. The same result every time. I even tried using my other 3DS, an old one. The result was the same. Both screens filled by strange lines and patterns of white, pink and green pixels. All of the screen, not only a part, nor only the far left side. I tried to pick a shot using the HOME menu button, but it didn't work. The L + R + down + B combo for getting back to the Homebrew Launcher worked, though.

    Thinking that maybe braindump or the extractor app could be doing something bad, I went to filthy places of the www. I had to get a CIA file! What a shame... I thought it could work better than my own dump. I even used the ctrtool.exe file to extract the its contents as described by Asia81 in another thread. I had false hopes...

    Nothing. That's what I got. The exact same result, which I won't describe again since I already repeated it several times. I gave up on this. I just couldn't stand up...

    I went happy editing Pokémon then, trying to forget all of this for my own good. It worked great. No strange pixels. Only the ocassional yellow screen freezing when booting it up. The romfs loaded flawlessly nearly always. But today, I just thought "Hey, maybe I get some luck with Awakening today". Oh, the suffering...

    I don't need to say the exact same thing happened.

    I simply can't load my American Fire Emblem: Awakening digital copy with a ROMFS through HANS, even if the ROMFS isn't edited (the 0x1000 bytes removed always, of course).

    Could someone help me, please? Is it HANS' fault? Is Awakening the culprit? I have both a N3DS 10.2, and a O3DS 9.9, both with an American copy of the game, both digital. I've gotten the same results with both consoles, in the same way, and with the same evil pixels...
     
  2. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,758
    2,713
    Dec 19, 2014
    Hungary
    I'll try tomorrow if no one else does until then.
     
    Olmectron likes this.
  3. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Thank you so much! And don't worry if you're not able to do it tomorrow.

    Editing doesn't work that much if I don't get the game to load. Right? Well, it's funny to read the files.
     
    SomeGamer likes this.
  4. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,758
    2,713
    Dec 19, 2014
    Hungary
    Try loading your own unmodded dump's romfs.
    OR
    Modded romfs + unmodded code.
    That's all I can think of right now.
     
  5. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Done those two already. In fact, I say in the post. Well, only the unmodded dump, will try the code. Thanks!
     
    SomeGamer likes this.
  6. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,758
    2,713
    Dec 19, 2014
    Hungary
    Unmodded code helped in some Pokémon games.
     
  7. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Thanks for your help! I'll post if I get it working that way. I guess I didn't research that much.
     
    SomeGamer likes this.
  8. TildeHat

    TildeHat Advanced Member

    Newcomer
    89
    52
    Oct 29, 2015
    Canada
    I've been unsuccessful with loading Awakening's romfs with Hans as well. It loads properly up until the title screen. After the opening movie ends it just hangs to a black screen. I can get back to HBL from here and edits don't seem to be the problem(I replace the opening movie with another and that played) so it might just be Awakenings fault.
     
    Olmectron likes this.
  9. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Thanks for commenting. So, you used both romfs and code? Cause I can't even make it load to the opening movie with an unmodded romfs file.
     
  10. TildeHat

    TildeHat Advanced Member

    Newcomer
    89
    52
    Oct 29, 2015
    Canada
    I initially just used romfs but tested by using code as well. Didn't change the outcome.
     
  11. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Okay, thanks for the info. I guess we'll need to wait until HANS source code is available, so we can solve issues for individual game issues.

    — Posts automatically merged - Please don't double post! —

    I guess I'm out of luck. Using the unmodded code file and the unmodded romfs file from my own dump, I get "invalidated icache" message from HANS or something like that. I can't even make it into the game.

    And I made 2 different dumps. One from my O3DS, and one from my N3DS (I have a digital copy of the game on both). The same error for them both! No way both dumps are corrupted, is there?


    Sigh... my editor won't be released on time. Oh, well, let's go back to save editing meanwhile.
     
    Last edited by Olmectron, Oct 31, 2015
  12. DeathChaos25

    DeathChaos25 Unmei wo kaeru!

    Member
    1,301
    668
    Oct 21, 2015
    While we're on the topic, how did you guys extract the romfs without trouble?

    Even though I have set my locale to Japanese and have the Japanese Language install (I can have Japanese file names for example) extracting the romfs yields invalid file names like so;
    [​IMG]
     
  13. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    I used the ROMFS extractor from SciresM. It was included in @Asia81's Pack, this is the link: http://pastebin.com/A1s8cmsD

    My PC reads it as normal, I didn't install a language, nor anything else.

    cs.PNG
     
  14. TildeHat

    TildeHat Advanced Member

    Newcomer
    89
    52
    Oct 29, 2015
    Canada
    So one of the HANS updates made it so that I can get past the title screen in Awakening and see my edits.
    Behold edited Support convos.
    Warning: Spoilers inside!
    Haven't tried anything other than text edits though.
     
  15. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Wow!!!

    Thanks for the info! Do you load only with ROMFS? Or do you use CODE too?
     
  16. TildeHat

    TildeHat Advanced Member

    Newcomer
    89
    52
    Oct 29, 2015
    Canada
    Only ROMFS. No CODE was used.
     
    Olmectron likes this.
  17. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    2,127
    1,325
    Dec 31, 2012
    Mexico
    A game
    Thank you for the heads up! I'll try it right now.
     
  18. DeathChaos25

    DeathChaos25 Unmei wo kaeru!

    Member
    1,301
    668
    Oct 21, 2015
    Last edited by DeathChaos25, Nov 4, 2015
  19. omegapirate

    omegapirate Member

    Newcomer
    42
    2
    May 25, 2012
    Mexico
    So did it work for you bro?

    I can run it on hans but it doesn-t load any save unfortunately. I tried starting a new game but same thing.

    Running on n3ds 10.5 could it be my version?

    — Posts automatically merged - Please don't double post! —

    Any hex editor ;)