A ROM patcher made in Javascript. Compatible with IPS, BPS, APS, UPS and more formats.
npm install rom-patchersh
npm install -g rom-patcher
`Usage
$3
`sh
RomPatcher patch "my_rom.bin" "my_patch.ips"
`
For more options:
`sh
RomPatcher patch --help
`
Options explanation:
- --validate-checksum: should validate checksum
- --add-header: adds a temporary header to the provided ROM for patches that require headered ROMs
- --remove-header: removes ROM header temporarily for patches that require headerless ROMs
- --fix-checksum: fixes any known ROM header checksum if possible
- --output-suffix: add a (patched) suffix to output ROM file name
$3
`sh
RomPatcher create "original_rom.bin" "modified_rom.bin"
`
By default, the patch will be created in IPS format. You can specify your desired format:
`sh
RomPatcher create "original_rom.bin" "modified_rom.bin" --format bps
``