theAprel / ips.py

A tool to apply and create IPS patches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ips.py v0.1

A Python 3 module and a CLI program to apply and create IPS patches.

Usage

As a CLI program :

   ips apply path/to/original/file path/to/patch path/to/new/file
   ips create path/to/original/file path/to/modified path/to/new/patch
   ips help
  • patch files can be .ips or .gzip

As a Python module :

   import ips

   ips.applyPatch(original, patch, newFile)
   ips.createPatch(original, modified, newPatch)

What's an IPS patch ?

A popular format for retro game ROM hacks

Tests

To run the tests :

   ips test

Note that tests passed on Windows 7 and Mac OS X 10.9.2

About

A tool to apply and create IPS patches

License:GNU General Public License v3.0


Languages

Language:Python 100.0%