[Development] How do i inject gba roms?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by AquaX101, Jun 3, 2015.

  1. AquaX101
    OP

    AquaX101 GBAtemp Advanced Fan

    Member
    713
    165
    Apr 15, 2014
    United States
    Somewhere
    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.
     
  2. Zidapi

    Zidapi GBAtemp Addict

    Member
    2,979
    1,777
    Dec 1, 2002
    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.
     
  3. AquaX101
    OP

    AquaX101 GBAtemp Advanced Fan

    Member
    713
    165
    Apr 15, 2014
    United States
    Somewhere
    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.
     
  4. bobmcjr

    bobmcjr GBAtemp Advanced Fan

    Member
    894
    334
    Apr 26, 2013
    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.
     
  5. AquaX101
    OP

    AquaX101 GBAtemp Advanced Fan

    Member
    713
    165
    Apr 15, 2014
    United States
    Somewhere
    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.
     
  6. bobmcjr

    bobmcjr GBAtemp Advanced Fan

    Member
    894
    334
    Apr 26, 2013
    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.
     
  7. Zidapi

    Zidapi GBAtemp Addict

    Member
    2,979
    1,777
    Dec 1, 2002
    I just assumed he was attempting it under PASTA, since everyone knows it won't run under gateway mode.
     
  8. AquaX101
    OP

    AquaX101 GBAtemp Advanced Fan

    Member
    713
    165
    Apr 15, 2014
    United States
    Somewhere
    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
     
  9. bobmcjr

    bobmcjr GBAtemp Advanced Fan

    Member
    894
    334
    Apr 26, 2013
    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.
     
  10. Zidapi

    Zidapi GBAtemp Addict

    Member
    2,979
    1,777
    Dec 1, 2002
    @AquaX101 i happened across this in another thread. Not good news I'm afraid.

     
  11. piratesephiroth

    piratesephiroth I wish I could read

    Member
    2,841
    1,387
    Sep 5, 2013
    Brazil
    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).
     
  12. Zidapi

    Zidapi GBAtemp Addict

    Member
    2,979
    1,777
    Dec 1, 2002
    @AquaX101 Scratch everything I said earlier, it's already been achieved by @Riku. It needs a particular footer, not header apparently.

     
    mid-kid and AHP_person like this.