ROM Hack [Development] How do i inject gba roms?

AquaX101

Well-Known Member
OP
Member
Joined
Apr 15, 2014
Messages
719
Trophies
0
Location
Somewhere
XP
1,027
Country
United States
How do we inject gba roms into ambassador roms? I've found where the rom is, but when i replace it and turn it into a cia, i get the nintendo 3ds loading screen.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
Have you compared the Ambassador ROM to the retail dump?

You might find the answer you seek there. Perhaps it's looking for a modified header.
 

AquaX101

Well-Known Member
OP
Member
Joined
Apr 15, 2014
Messages
719
Trophies
0
Location
Somewhere
XP
1,027
Country
United States
Have you compared the Ambassador ROM to the retail dump?

You might find the answer you seek there. Perhaps it's looking for a modified header.
hmm, i'll check that. But the rom is a code.bin you can open up in VBA, i don't think its anything special.
 

bobmcjr

Well-Known Member
Member
Joined
Apr 26, 2013
Messages
1,156
Trophies
1
XP
3,226
Country
United States
Have you gotten unmodified Ambassador games working?
The Ambassador code.bin's are identical to scene dumps. I tried making a modified GBA cia, but it said the sd card was removed whenever I tried to boot it in Pasta.
AGB_FIRM has signature checks, so I guess that should be expected. I'm pretty sure patching AGB_FIRM is the first step here, but I have no idea how.
 

AquaX101

Well-Known Member
OP
Member
Joined
Apr 15, 2014
Messages
719
Trophies
0
Location
Somewhere
XP
1,027
Country
United States
Have you gotten unmodified Ambassador games working?
The Ambassador code.bin's are identical to scene dumps. I tried making a modified GBA cia, but it said the sd card was removed whenever I tried to boot it in Pasta.
AGB_FIRM has signature checks, so I guess that should be expected. I'm pretty sure patching AGB_FIRM is the first step here, but I have no idea how.
no, but if you edit in the rsf so that it doesn't compress the code.bin, it should work with unmodified ambassador games. Tried it with a different rom with the same size (16 MB) and it would leave me stuck on the "Nintendo 3DS" loading screen.
 

bobmcjr

Well-Known Member
Member
Joined
Apr 26, 2013
Messages
1,156
Trophies
1
XP
3,226
Country
United States
It sounds like you're trying to run a GBA game through Gateway or something (which doesn't work), because working Ambassador games never show the Nintendo 3DS loading screen. They just fade to black when they're launched.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
It sounds like you're trying to run a GBA game through Gateway or something (which doesn't work), because working Ambassador games never show the Nintendo 3DS loading screen. They just fade to black when they're launched.
I just assumed he was attempting it under PASTA, since everyone knows it won't run under gateway mode.
 

AquaX101

Well-Known Member
OP
Member
Joined
Apr 15, 2014
Messages
719
Trophies
0
Location
Somewhere
XP
1,027
Country
United States
It sounds like you're trying to run a GBA game through Gateway or something (which doesn't work), because working Ambassador games never show the Nintendo 3DS loading screen. They just fade to black when they're launched.
Nonono, i am using pasta (CFW) and regular ambassador games work fine through it, i get the 3ds loading screen when i replace the gba rom with something else
 

bobmcjr

Well-Known Member
Member
Joined
Apr 26, 2013
Messages
1,156
Trophies
1
XP
3,226
Country
United States
I still feel like your CIA isn't compiled right, as your 3ds doesn't appear to be recognizing it as a GBA game. It really should fade to black and not show the Nintendo 3DS loading screen. My broken GBA inject fades to black before saying the SD card was removed.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
@AquaX101 i happened across this in another thread. Not good news I'm afraid.

AGB_FIRM has sig checks. You can inject your own GBA rom, but it probably won't ever run. I don't know about a modified GBA VC CIA with region free icon though. I think AGB_FIRM only checks the code.bin file. But not sure how exactly that works. CitrAGB will probably run near full speed anyway once a CIA build of it is available.
 

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
Nonono, i am using pasta (CFW) and regular ambassador games work fine through it, i get the 3ds loading screen when i replace the gba rom with something else
AGB_FIRM seems to have the very same signature checks used for regular 3DS games. It demands retail-encrypted CXIs with valid signatures and no public patch has been disclosed (if it ever existed).
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
@AquaX101 Scratch everything I said earlier, it's already been achieved by @Riku. It needs a particular footer, not header apparently.

Yo, I heard you guys like Ambassador and GBA games, so I put some GBA games into Ambassador games:


didn't know that, thanks, 32MB roms works fine.
SfdYfgU.jpg
Don't decompress the .code, it's not compressed. The .code is the rom followed by a footer.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/owEOnspRpVk?si=rEd1m4Yi0aTKvjiv