insidegadgets / GBCartRead

Read ROM, Read RAM or Write RAM from/to a Gameboy Cartridge. (License CC-BY)
64 stars 11 forks source link

GBCartRead v1.8 Rev 1 - Gameboy Cart Reader Readme By insideGadgets - www.insidegadgets.com / support@insidegadgets.com

GBCartRead is an Arduino based Gameboy Cartridge Reader which uses a C program or python script to interface with the Arduino. GBCartRead allows you to dump your ROM, save the RAM and write to the RAM.

Works with Arduino Duemilanove and Uno. Will work for 5V Arduinos but requires wiring changes. Speed increase thanks to Frode vdM. (fvdm1992@yahoo.no) and David R

REQUIREMENTS

Option 1 - Ready to use

Option 2 - DIY (recommend GB Cart Read v1.2 as it contains less parts)

HOW TO USE

  1. Open the \GBCartRead_v(xxx)_Arduino\GBCartRead_v(xxx).ino file and program it to your Arduino. Note down the COM port number in use; you can find this out from the Arduino software by going to Tools -> Serial port.

  2. There are two choices to communicate with the Arduino – using the C program or the Python program.

    ---Python Program--- a. Download and install Python 3.2 (http://www.python.org/download/) and pySerial (http://pypi.python.org/pypi/pyserial) b. Open up the “GBCartRead_v(xxx)_Python_Interface.py” script by right clicking it and selecting “Edit with IDLE”. c. Change the “COM2” serial port to the serial port that your Arduino is connected on, save the file and press F5 to run it. d. A new window will appear, after 2-3 seconds you’ll have some options available.

    ---C Program--- a. Open config.ini and change the COM port number to the serial port that your Arduino is connected on and save the file. b. Run “GBCartRead_v(xxx)_C_Interface.exe” in Windows or re-compile the source for your OS

  3. At this stage you should insert your Gameboy cartridge and press the power button, the power LED should light up.

  4. Press 0 to read the header and verify that it looks correct. If it doesn’t look correct, press the power button to power off the Gameboy cartridge, remove and re-insert it and power it up again.

  5. Press 1 to Dump the ROM, 2 to Backup your RAM or 3 to Load your RAM file. Hashes (#) will start printing every few seconds and a file called .gb or .sav will be created if you chose option 1 or 2. If you choose option 3, it will load the save from .sav.

We recommended verifying your Gameboy ROM using BGB (a Gameboy emulator) or "xgbfix.exe -v -d " found in the project called "ASMotor" (we've included it). It’s a good idea to verify your save files too by running the ROM when the save file is present in BGB.

CuSTOM CARTRIDGE FILES

There are some cartridges which don't quite conform to cartridge header standards or require something out of the ordinary. Below is the listing of custom cartridge folders, if you wish to access these cartridges, you will need to use GBCartRead files found on those folders.

Wisdom Tree - /Custom_Cartridge_Files/Wisdom_Tree/ - Provided by Benjamin E

REVISION HISTORY

v1.8 Rev 1 (28 May 2016)

v1.8 (21 March 2016)

v1.7 Rev 2 (10 February 2016)

v1.7 Rev 1 (17 February 2015)

v1.7 (7 February 2015) Only compatible with Gameboy Cart Shield v1.3

v1.6 (3 January 2015)

v1.5 (15 November 2014)

v1.4.2 (14 November 2014)

v1.4.1 (3 January 2014)

v1.4 (30 August 2013)

v1.3.1 (2 May 2011)

v1.3 (9 April 2011)

v1.2 (2 April 2011)

v1.1 (21 March 2011)

v1.0 (19 March 2011)


(c) 2011-2016 by insideGadgets http://www.insidegadgets.com

This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. http://creativecommons.org/licenses/by-nc/3.0/