I made a GB dumper with MBC1, MBC2, MBC3, MBC5 support
I was able to dump all of my GB and GB color games using this lua script.
The script reads the header of the cart to figure out what MBC (memory bank controller) it uses and automatically gets the length of the rom from the header.
Put the attached file (autodump.lua) in your scripts/gb directory.
In inlretro.lua set the following
local curcart = require "scripts.gb.autodump" cart_console="DMG" process_opts read=true --although i don't think the script cares, it just reads the header and dumps) dump_filename="<><>.bin"
from a command line run inlretro.exe
Please report if there are any issues. A note about MBC2 carts. If you have a MBC2 cart with a ROM that is larger than 152KB the script will likely need to be modified. I don't have a game that fits that description to test with.
Carts I was able to dump:
- A Bugs Life MBC5 1MB
- Donkey Kong Land 2 MBC1 512KB
- F1-Race MBC2 128KB
- Fortified Zone MBC1 128KB
- Game & Watch Gallary MBC1 256KB
- Godzilla MBC1 128KB
- James Bond 007 MBC1 512KB
- Kwirk ROM ONLY 32KB
- Mary Kate & Ashley Get a Clue MBC5 1MB
- Mickey's Chase MBC1 128KB
- Mission Impossible MBC5 1MB
- Paperboy MBC1 64KB
- Pokemon Silver MBC3 2MB
- Quest For Camelot MBC5 1MB
- Robocop MBC1 64KB
- Shrek Fairtail Freakdown MBC5 2MB
- Snow White MBC5 1MB
- Solar Striker MBC1 64KB
- Super Mario Land MBC1 64KB
- Super Return of the Jedi MBC1 512KB
- Tetris ROM ONLY 32KB
- Tom & Jerry MBC5 1MB
- Tony Hawk Pro Skater MBC5 1MB
- Toy Story MBC1 512KB
- Toy Story 2 MBC5 1MB
- TMNT Fall of the Foot Clan MBC1 128KB
- Wario Blast MBC1 256KB
- Woody Woodpecker Racing MBC5 1MB