Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.02 KB

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