RGBFIX(1) General Commands Manual RGBFIX(1) (NAME) rgbfix - Game Boy checksum (SYNOPSIS) rgbfix [-hjsVvw] [-C | -c] [--color when] [-f fix_spec] [-i game_id] [-k licensee_str] [-L logo_file] [-l licensee_id] [-m mbc_type] [-n rom_version] [-o out_file] [-p pad_value] [-r ram_size] [-t title_str] [-W warning] file ... (DESCRIPTION) rgbfix ROM (Game Boy) rgblink(1) ROM . (padding) . rgbfix . 0x00 rgbfix . (ARGUMENTS) rgbfix -V --version . (override) . : --ver --version --v --validate . `-' ( ) rgbfix ( ) ( ) . `-' `./-' . . rgbfix (decimal) (hexadecimal) (octal) (binary) . `$' `0x' `&' `0o' `%' `0b' . ( `$' `&' (escaping) (quoting) .) ( ) . : `42', `042', `0x2A', `0X2A', `0x2a', `&52', `0o52', `0O052', `0b00101010', `0B101010'. : -C, --color-only Game Boy Color-only (0x143) 0xC0. -c - . -c, --color-compatible Game Boy Color-compatible: (0x143) 0x80. -c - . --color when : `always', `never' `auto'. `auto' `NO_COLOR: https://no-color.org' `FORCE_COLOR : https://force-color.org' TTY . -f fix_spec, --fix-spec fix_spec Game Boy . (binary inverse) . fix_spec : l Nintendo (0x104-0x133). L Nintendo. h (0x14D). H . g (global checksum) (0x14E-0x14F). G . -h, --help . ( COLUMNS TTY .) -i game_id, --game-id game_id (game ID) (0x13F-0x142) . . -j, --non-japanese (non-Japanese region) (0x14A) 0x01. -k licensee_str, --new-licensee licensee_str (new licensee) (0x144-0x145) . . -L logo_file, --logo logo_file Nintendo. 1bpp . -l licensee_id, --old-licensee licensee_id (old licensee) (0x14B) 0 0xFF. 0x33 . -m mbc_type, --mbc-type mbc_type MBC.Pq Ad 0x147 0 0xFF. MBC . `help' `list' . ( ) <<>> MBC . TPP1 TPP1 . -n rom_version, --rom-version rom_version ROM (0x14C) 0 0xFF. -o out_file, --output out_file ROM '-' . . -p pad_value, --pad-value pad_value ROM 0 255 (0xFF). rgbfix 32 KiB 64 KiB 128 KiB ... 8192 KiB . (0x148) . 0xFF ROM <> VRAM . -r ram_size, --ram-size ram_size RAM (0x149) 0 0xFF. -s, --sgb-compatible SGB (0x146) 0x03. SGB (-l) 0x33 ! -t title, --title title (0x134-0x143) . . (-i) CGB (-c -C) . -V, --version . -v, --validate -f lhg. -W warning, --warning warning warning. warning . DIAGNOSTICS . -w . @at_file . . (`#') . . . `--' at-file . `--' at-file at-file . (header) . . -Werror . -Wno-error . -Werror= (meta warning) . (: -Werror=obsolete), . -Wno-error= -Werror . "meta" . meta . . -Wall . -Weverything . . ( -Wobsolete -Wno-obsolete -Wall -Wno-all ). . "no-" . -Wno-mbc MBC . -Wno-obsolete . -Wno-overwrite . -Wno-sgb SGB (-s) (-l). -Wno-truncation . (EXAMPLES) ROM . Nintendo ( ) CGB/SGB . (padding) ("" 32 KiB). Game Boy : $ rgbfix -v foo.gb SGB "foobar" . ( Game Boy ROM .) $ rgbfix -vcs -l 0x33 -p 255 -t foobar baz.gb "Survival Kids" : $ rgbfix -cjsv -k A4 -l 0x33 -m 0x1B -p 0xFF -r 3 -t SURVIVALKIDAVKE SurvivalKids.gbc.Sh TPP1 TPP1 (mapper) (homebrew) MBC ROM RAM . https://github.com/aaaaaa123456789/tpp1 . MBC MBC TPP1 . `major.minor' `major' `minor' . (underscore) `TPP1' . rgbfix 1.x . `+' `RAM' TPP1 RAM . rgbfix `RAM' TPP1 . TPP1 0x14A ( -j - -) . rgbfix TPP1 -j . (BUGS) GitHub: https://github.com/gbdev/rgbds/issues . (SEE ALSO) rgbasm(1), rgblink(1), rgbgfx(1), gbz80(7), rgbds(7) (HISTORY) rgbfix Carsten Sorensen GBFix ASMotor RGBDS Justin Lloyd . https://github.com/gbdev/rgbds . Linux 6.12.113+deb13-amd64 August 1, 2026 Linux 6.12.113+deb13-amd64