pyrominfo icon indicating copy to clipboard operation
pyrominfo copied to clipboard

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 arcad...

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

  • Enzyme: https://github.com/Diaoul/enzyme
  • GuessIt: http://guessit.readthedocs.org
  • Heimdall: https://github.com/topfs2/heimdall
  • PyMediaInfo: https://github.com/paltman/pymediainfo
  • Mutagen: https://code.google.com/p/mutagen
  • Hachoir parser framework: https://pypi.python.org/pypi/hachoir-parser
  • PS ISO Tool: https://github.com/CaptainCPS/PS_ISO_Tool/