Lunar Ips - Gamebrew
Patching When Applying a Patch, You Can Right Click on the Title Bar of the File Choosing Dialog for the File to Be Patched to Get a Few Options for Dealing...
Patching
When applying a patch, you can right click on the title bar of the file choosing dialog for the file to be patched to get a few options for dealing with SNES copier headers.
- Add SNES Header - Add a 0x200 byte copier header to the file before patching if it doesn't already have one.
- Remove SNES Header - Remove the copier header from the file before patching if it has one.
- Add/Remove SNES Header - Add a header if it doesn't have one, or remove the header if it already has one.
- This option is useful in cases where you've already tried patching without caring about the header and found it didn't work.
- In which case you can just use this option on a fresh copy of the file without having to figure out if you need to add or remove a header.
Creating a patch
When creating a patch, you can right click on the title bar of the original or modified file choosing dialogs to get options for dealing with SNES copier headers.
- Add SNES Header - Add a 0x200 byte copier header to both files before creating the patch if they don't already have one.
- Remove SNES Header - Remove the copier header from both files before creating the patch if they don't already have one.
Note that the logging and file registration options are saved to the registry.
Command line
You can also use the program from the command line. The commands available are:
"Lunar IPS.exe" -CreateIPS "PatchFileName" "OriginalFileName" "ModifiedFileName" [Options] "Lunar IPS.exe" -ApplyIPS "PatchFileName" "ApplyToFileName" [Options]
Arguments with [] are optional. The options available are:
AddSNESHeader- Adds 0x200 byte SNES copier header to the file to be patched before patching, but only if it doesn't already have one.
- For creating a patch, adds SNES copier headers to both original and modified files before creating the patch, but only if they don't already have one.
RemoveSNESHeader- Similar to -AddSNESHeader except it removes the SNES copier header from the files, but only if they already have one.