header editor for GB/GBC ROMs?

Discussion in 'GBA - Hardware, Devices and Utilities' started by regnad, Mar 25, 2012.

  1. regnad
    OP

    regnad Button Masher

    Member
    1,722
    352
    May 19, 2008
    I've found a couple of GBA header editing tools, but nothing that will work with GB/GBC ROMs.

    Does such a tool exist?
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,716
    9,587
    Nov 21, 2005
    United Kingdom
    Edit- for some reason I overlooked that you said editor and have just given you a list of viewers. I will leave it but I do not know of any actual editors or even anything to fix it up after you attack it with a hex editor- http://nocash.emubase.de/pandocs.htm (it is down right now as the site has been having serious issues for a few months now and comes and goes) but loads of places will still have them if you search for GBC pandocs and it does appear to be cached. Sadly I do not know of any program that will redo the header hash although it is detailed in the docs although there probably is one and most emulators will probably just flag it and carry on if the hash does not match so it is not a great worry there anyway.

    GBX-NDS Header Viewer is probably closest to what you want
    http://www.no-intro.org/tools.htm has it.
    Sample output
    Code:
    System:             Nintendo Game Boy Color
    File:               Pokemon - Crystal Version (UE) (Rev A).gbc
    Path:               U:\GB(C)\
    Compressed:         No
    Length:             2097152 Bytes (16 Mbit)
    CRC32:              3358E30A
    MD5:                301899B8 087289A6 436B0A24 1FBBB474
    SHA1:               F2F52230 B536214E F7C9924F 48339299 3E226CFB
    ----| Header Data |------------------------------------------------
    Entry Point:        0x016EC300
    Logo Code:          Ok
    Title:              PM_CRYSTAL 
    Serial:             BYTE (USA)
    GBC Flag:           0xC0 (GBC Only)
    New Licensee Code:  01 (Nintendo)
    SGB Support:        0x00 (No)
    Cartridge Type:     0x10 (ROM + MBC3 + TIMER + RAM + BATTERY)
    ROM Size:           0x06 (Ok; 16 Mbit; 2097152 Bytes)
    RAM Size:           0x03 (256 Kbit)
    Old Licensee Code:  0x33
    Version:            0x01 (v1.1)
    Header Checksum:    0x26 (Ok)
    Global Checksum:    0x18D2 (Ok)
    -------------------------------------------------------------------

    There is also http://www.romhacking.net/utilities/24/ but it might not be quite as nice to work with.

    I know of nothing that rivals the likes of NDSTS/ndshv or GBATA though.
     
  3. regnad
    OP

    regnad Button Masher

    Member
    1,722
    352
    May 19, 2008
    I attacked it with a hex editor. So far no problem as long as you attack only in that 15 character space.