• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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