Skip to content

FlashKit MD Python Client - drive the Krikzz FlashKit Programmer MD to flash Sega Genesis carts from the command-line or from Python

License

Notifications You must be signed in to change notification settings

joeyparrish/flashkit-md-py

Repository files navigation

FlashKit MD Python Client

This is a Python command-line tool to drive the Krikzz FlashKit Programmer MD. It allows you to rewrite Sega Genesis / MegaDrive flash carts from the command line, as opposed to the original software which require .NET and a GUI.

Main motivations for this rewrite:

  • Command-line operation
  • Runs everywhere with Python 3 instead of .NET/Mono

Functional improvements over the original:

  • ROM region code parsing is more detailed, accurate, and readable
  • Can tell the difference between ROM size and Flash chip size, avoiding oversized ROM dumps from flash carts
  • Uses CFI to establish successful communication with flash before writing (saves time if something is very wrong with your cart)
  • Offers debug methods and arguments, which helped in the development of my own flash cart

Installation

python3 -m pip install flashkit --upgrade

License

Released under GPL v3. See LICENSE.md.

Derived from the original software by Krikzz, which was also released under GPL v3.

Dependencies

  • Python 3
    • argparse library (included with Python)
    • datetime library (included with Python)
    • hashlib library (included with Python)
    • typing library (included with Python)
    • serial library (Ubuntu package python3-serial or python3 -m pip install pyserial for development)

About

FlashKit MD Python Client - drive the Krikzz FlashKit Programmer MD to flash Sega Genesis carts from the command-line or from Python

Topics

Resources

License

Stars

Watchers

Forks