/pyrominfo

PyRomInfo - Python ROM Info - is a convenient, unified way to get data about a file originating from a read-only memory chip, often from a video game cartridge, a computer's firmware, or from an arcade game's main board.

Primary LanguagePythonOtherNOASSERTION

PyRomInfo

PyRomInfo is a convenient, unified way to get data about a file originating from a read-only memory chip, often from a video game cartridge, a computer's firmware, or from an arcade game's main board.

Crash Course

# Import Gameboy support and parse a Gameboy ROM
from pyrominfo import RomInfo
from pyrominfo import gameboy
props = RomInfo.parse("Zelda.gb")
if props:
    print("Title: %s" % props["title"])
    print("Publisher: %s" % props["publisher"])

# Register all available ROM info parsers
from pyrominfo import *
props = RomInfo.parse("Super Smash Bros.n64")
props = RomInfo.parse("Super Mario Kart.smc")

Useful links