• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Development: Participation Project: ROM Information

Touched

Resident ASMAGICIAN
  • 625
    Posts
    10
    Years
    • Age 123
    • Seen Feb 1, 2018
    While most tools can tell what version a ROM is by looking at the 4-byte code at 0A0h, we have no way of telling whether a ROM is unmodified or not. One possible way to do this is to calculate hashes for each ROM in its unmodified state and compare them to the hashes of other ROMs. This way we can tell whether the target ROM is clean or not. However, getting these hashes can be difficult. In order to do so, you would need many hundreds of ROMs, one for each version and language.

    To resolve this problem, I've created a Python script to outsource this procedure. Simply run the script on every clean ROM you own, and post the utility's (JSON encoded) output here. You can run it on either GBA roms (.gba) or on zip files containing them (.zip). This utility will also output some other useful information associated with the ROM.

    In order to run the utliity, you'll need Python 3.2 or later.

    Sample Usage (asumming python3 is in your path):
    Code:
    python3 rominfo.py --pretty rom.gba

    Python Source:

    Spoiler:

    Example output (Pokemon Emerald):

    Spoiler:


    Download the attached file or paste the source in the spoiler tag into a Python script.
     
    If you didn't have a complete list of manufacturers, this would be lame.
     
    Back
    Top