Multibootstrap: Patch multiboot GBA ROMs to run from a cartridge

metroid maniac

An idiot with an opinion
OP
Member
Joined
May 16, 2009
Messages
2,091
Trophies
2
XP
2,694
Country
There are playable multiboot GBA ROMs which can be dumped from games like Nintendo Puzzle Collection, Puzzle League and Wario World.
These ROMs will only run in multiboot mode from RAM, not as a cartridge ROM.
Emulators seem to handle these fine but annoyingly some flashcarts like the EZ Flash Omega don't know how to handle multiboot ROMs.
This program will insert bootstrapping code to copy itself to RAM if it detects it's running as a regular ROM. Just drag your ROM onto the exe and it will be patched. They will work both from multiboot and from cartridges.
It's pretty quick and dirty, so don't blame me if it corrupts your ROM or makes your GBA catch fire. It worked on the ROMs I tried though.
Homebrew ROMs won't need this patching, since devkitARM and devkitadv include similar bootstrapping code.
 

Attachments

  • multibootstrap.zip
    36.6 KB · Views: 150

metroid maniac

An idiot with an opinion
OP
Member
Joined
May 16, 2009
Messages
2,091
Trophies
2
XP
2,694
Country
Out of legitimate curiosity, what are the differences between this and Multiboot Menu at http://pineight.com/gba/#mbmenu ?

It's so cool to see people still working on GBA stuff. Keep it up!
The difference is that I didn't know it existed. Multiboot Menu would probably have been sufficient if I knew when writing this :P

Otherwise, I guess the only difference is that there's no menu. It just loads the ROM directly.
 

kephunk

New Member
Newbie
Joined
May 27, 2020
Messages
1
Trophies
0
Location
CA, USA
XP
100
Country
United States
How do I run mbmenu?? I am trying to run it in visual studio and it says I need a 'shell script' am I supposed to run it something else?
For the life of me I couldn't figure out how to run mbmenu at all. There's shell scripts (which is fine, I'm on Linux) but it appears its expecting a bunch of environment dependencies and there's not much in the way of documentation on how to get those setup or installed.

@metroid maniac I very much appreciated how simple your multibootstrap was and how you also supplied the C code in your zip file. That allowed me to compile it on Linux and run it on the collection of multiboot roms I had and I used it for running them on my Analogue Pocket.
 
  • Like
Reactions: metroid maniac

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    you go bro
    +1
  • BakerMan @ BakerMan:
    i know, i know, i'm late
  • Sicklyboy @ Sicklyboy:
    @BigOnYa, I'll rip a bag off my Volcano to that, brother
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
    Veho @ Veho: https://i.imgur.com/E1U7Nlt.mp4