Skip to content

Read and write to GameCube memory cards with a Raspberry Pi

License

Notifications You must be signed in to change notification settings

jamchamb/gc-memcard-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gc-memcard-adapter

Code for reading and writing GameCube memory cards with a Raspberry Pi.

See https://jamchamb.github.io/2018/12/03/gamecube-memory-card-raspi.html

Setup

# Enable the SPI interface
$ sudo raspi-config
# Install python development library to build py-spidev
$ sudo apt install python-dev
# Install python dependencies
$ pip install -r requirements.txt

Usage

To read entire memory card contents to file:

$ ./adapter.py -r original_dump.bin

You can use this file with a memory card manager program such as the Dolphin emulator's memory card manager. To write the updated file back to the memory card, provide the original file as well as the modified one (this prevents unneccessary writes to blocks that haven't changed):

$ ./adapter.py -w original_dump.bin updated_dump.bin

Connection

The standard Raspberry Pi SPI pins should be connected to the corresponding pins on the memory card, and GPIO pin 7 is used for the INT pin on the memory card.

About

Read and write to GameCube memory cards with a Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages