[HELP NEEDED] ExeFS Error?! Loading the game failed...

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Traiver, Aug 22, 2015.

  1. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    Hey everyone,

    It's for my Rom Hack and I would to change the Icon and Banner of exefs. I used PK3DS's "SMDH Editor" and it worked fine. Then I rebuilt the exefs as exefs.bin. I used the 3DSBuilder.exe to create a ROM. I used a pre-build romfs.bin which loads everytime fine, when I change something in romfs. Then I loaded the pre-build exefs.bin and I took my DecryptedExHeader.bin (?) where I'm not sure if this is right...

    I changed the serial, too. And then I rebuilt the ROM. But my game won't load and my custom icon wont change, when I change something in exefs. What's wrong with it?

    [​IMG]
     
    XRaidersP likes this.
  2. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    Double-check that the positions of partitions are correctly specified in the header's partition table.

    http://3dbrew.org/wiki/NCSD
     
  3. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    How can I check these?
     
    XRaidersP likes this.
  4. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    I would get HxD, open the finished ROM, go to the specified position in NCSD (read the supplied documentation, otherwise you're going in blind) and calculate where the positions are set and where they actually are. Remember to multiply by Media Unit size, it's all in the NCSD documentation. The alternative is to open the file in 3DSExplorer and check if the partitions are not corrupt, it has extensive tools that will calculate or read every value you need to know. It's probably a misaligned partition, but I'm no expert.
     
  5. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    I have no knowledge of these thing, sorry for being a noob xD

    Which tool might I use for it? And is here something suspicious?
    Unbenannt.png
     
    XRaidersP likes this.
  6. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    The NCCH magic string seems to be in the correct place (0x100 into the ROM), it's read correctly, so the partition is alligned. The signature is broken (0x0) which is to be expected since it's modified. I don't really see anything out of the ordinary on first glance, but I suggest contacting someone who's successfully modified a ROM before as I'm no expert in terms of ROM hacks, I just know where to look for what in a ROM.
     
    Traiver likes this.
  7. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    XRaidersP likes this.
  8. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    Try this - dump the ExeFS in 3DSExplorer, compare the bin to your original in HxD and see if it's the same. Also, check if the declared offset of ExeFS (23*Media Unit = 23*0x200 = 23*512 bytes) and its length match what you have in the ROM.
     
  9. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    Ok, it seems to be it's different from the original one... The size is bigger, too. How can I check the offsets?


    Unbenannt.png
     
    XRaidersP likes this.
  10. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    The offsets in your ExeFS seem fine (look at the magic strings, they're at the same positions), but the content is different. As for the position of your ExeFS, open the ROM in HxD and go to the position at 23*512 bytes into the partition, you should find your ExeFS there.
     
  11. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    It looks everything fine there.... Damn, what is it then?
     
    XRaidersP likes this.
  12. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    Something went sour when you were modifying the ExeFS, structurally it seems fine. Perhaps it's just the logo that's broken - replace it with the original one.
     
  13. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    Okay, I can try it. But I would like to have the custom icon so badly.. xD

    But I'm not sure, if there is my mistake because I only exported the icons, modified it and imported it back.

    Unbenannt.png
     
    Last edited by Traiver, Aug 22, 2015
    XRaidersP likes this.
  14. Traiver
    OP

    Traiver GBAtemp Maniac

    Member
    1,199
    1,290
    Aug 1, 2014
    Germany
    Pew! *Out of the bag*
    Okay nvm, I found the problem.. It was the programs fault. I tried it with another program and it works fine but now I'm wondering why the icon wont change at the bottom screen??

    IMG_0268.JPG
     
    XRaidersP likes this.
  15. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,634
    21,688
    Sep 13, 2009
    Poland
    Gaming Grotto
    I believe there are strict regulations as to what can be used as an SMDH icon, for instance the fact that it has to be an RGB565/16bpp image and it has to be 24x24 for small icons and 48x48 for large icons. More information can be found here:

    http://3dbrew.org/wiki/SMDH#Icon_graphics

    I think the custom icon might the root of the problem you're dealing with.
     
  16. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,154
    9,507
    Sep 23, 2013
    it hasnt changed on the homescreen as the 3DS has a icon cache, so if you loaded the game with the original icon first then it will cache the original icon......you can either change the games unique ID or format your 3DS and launch the modded rom first.......im not sure there may be a way to just delete the icon cache too, not sure though