Skip to content

blakesmith/rombp

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

ROM Bin Patcher (rombp)

rombp is a utility program to apply ROM bin patches, typically used for retro gaming romhacks. I wrote it primarily to target the RG350m gaming handheld., which runs a flavor of Linux called OpenDingux.

Patch file support:

rombp also runs on desktop Linux (I've only tested it with Ubuntu 20.04), if you want to try it on a desktop before loading it on your console.

I've only tested with an RG350M, but in theory, it should work with other OpenDingux MIPS64 based handhelds as well.

Here it is running on the RG350M:

RG350M image

And on Ubuntu Linux:

Desktop screenshot

Installing

Head over to the releases page to download the latest OpenDingux OPK file. You should be able to run the OPK file just like your other programs.

Patching a ROM

Patching a ROM is non-destructive, it makes a copy of the ROM file before patching it so you can keep your stock ROMs clean.

To patch a ROM:

  1. Open rombp and navigate to the source ROM that the patch is based off.
  2. Next, select the IPS / BPS patch file to apply to the ROM.
  3. After selecting the patch file, patching will begin.
  4. Once patching is complete, you will find the patched ROM file in the same directory as the patch file, with the same name as the patch file.
  5. Enjoy playing your ROM hack!

Command Line Usage

rombp can also be executed from the command line to select input ROM and patch file, rather than using the SDL2 file UI. Arguments are:

rombp: IPS and BPS patcher

Usage:
rombp [options]

Options:
        -i [FILE], Input ROM file
        -p [FILE], IPS or BPS patch file
        -o [FILE], Patched output file

Running rombp with no option arguments launches the SDL UI

Example usage:

./rombp -i Awesome_Rom.smc -p Cool_Hack.bps -o Cool_Hack.smc

Building

You'll need to setup your RG350 buildroot. Checkout this GitHub repository and follow the setup instructions to build a local toolchain. This will build the necessary MIPS compiler toolchain, as well as compile the shared libraries that are present on the system for linking (in rombp's case, we just link against uclibc and SDL2).

Once you setup the toolchain, configure its location via:

$ export RG350_TOOLCHAIN=/path/to/toolchain

From there, you should be able to build an OPK file via:

$ TARGET=rg350 make clean rombp.opk

You'll find the built OPK file in the rombp project directory.

About

RG350 ROM Bin Patcher. Patches IPS and BPS patch formats on RG350 and Linux.

Resources

License

Stars

Watchers

Forks

Packages

No packages published