RGBFIX(1) | General Commands Manual | RGBFIX(1) |
rgbfix
—
rgbfix |
[-CcjsVv ] [-f
fix_spec] [-i
game_id] [-k
licensee_str] [-l
licensee_id] [-m
mbc_type] [-n
rom_version] [-p
pad_value] [-r
ram_size] [-t
title_str] file |
rgbfix
program changes headers of Game Boy ROM
images. It also performs other filetype operations, such as truncation. The
arguments are as follows:
-C
-c
flag are set, this
takes precedence.-c
-C
flag are set, -C
takes
precedence.-f
fix_spec-i
game_id-j
-k
licensee_str-l
licensee_id-m
mbc_type-n
rom_version-p
pad_valuergbfix
will automatically pick a size from 32KiB,
64KiB, 128KiB, ..., 8192KiB and give a warning thereafter. The cartridge
size byte (0x148) will be changed to reflect this
new size.-r
ram_size-s
-t
title-c
or -C
). If both this
and the game ID are set, the game ID will overwrite the overlapping
portion of the title.-V
-v
-f
lhg
.The following will make a plain, no-color Game Boy game without checking for a valid size:
The following will make a SGB-enabled, color-enabled game with a title of “foobar”, and pad it to a multiple of 32KiB. (The Game Boy itself does not use the title, but some emulators or ROM managers might.)
The following will duplicate the header (sans global checksum) of the game “Survival Kids”:
rgbfix
was originally released by Carsten
Sørensen as a standalone program called gbfix, and was later packaged
in RGBDS by Justin Lloyd. It is now maintained by a number of contributors at
https://github.com/rednex/rgbds.
March 11, 2018 | RGBDS Manual |