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

Traiver

Developer
OP
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,948
Country
United States
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?

hbr8ucuw.jpg
 
  • Like
Reactions: XRaidersP

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,840
Country
Poland
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.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,840
Country
Poland
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.
 
  • Like
Reactions: Traiver

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,840
Country
Poland
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.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,840
Country
Poland
Ok, it seems to be it's different from the original one... The size is bigger, too. How can I check the offsets?
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.
 

Traiver

Developer
OP
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,948
Country
United States
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,
  • Like
Reactions: XRaidersP

Traiver

Developer
OP
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,948
Country
United States
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
 
  • Like
Reactions: XRaidersP

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,840
Country
Poland
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??
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.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
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??

View attachment 23732
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: