Skip to content

Utility to remove the SNES ROM header requirement from IPS patches.

License

Notifications You must be signed in to change notification settings

heuripedes/ipsbehead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ipsbehead

ipsbehead is an utility to adjust IPS patches that require a header in the target SNES ROM in order to use these patches with a headerless SNES ROM. It does so by discarding any alterations before 0x200 and recalculating offsets of the other records.

Author notes

Although the program was intended for SNES ROMs, output patches should work with any ROM file that has a fixed size 512 byte wide header.

It is not recomended to directly patch your ROMs because broken patches may damage your ROM. Please use an emulator or ROM loading tool that has built-in IPS patch loading support.

Compiling

ipsbehead does not depend on any third party libraries and is known to compile under gcc and clang. Microsoft compilers have not been tested.

  • To compile under windows, make sure you have Mingw or Mingw-w64 installed, go to ipsbehead directory and type make win. An executable called ipsbehead.exe will be created.

  • To compile under unixes, make sure you have the development packages installed (build-essential, XCode, base-devel or whatever it is called in your system) and run make unix in the ipsbehead directory.

Usage

./ipsbehead input.ips output.ips
./ipsbehead.exe input.ips output.ips