Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

47 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages