Skip to content

jamchamb/gc-memcard-adapter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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