kylon / lipx Goto Github PK
View Code? Open in Web Editor NEWLinux IPS Patch Tool - [Create and Patch]
License: GNU General Public License v3.0
Linux IPS Patch Tool - [Create and Patch]
License: GNU General Public License v3.0
Please add a license to this project so that users and developers are legally able to copy and contribute to it.
I recommend the COIL or the ISC license.
Steps to reproduce:
Download a Lunar ips patch
Apply the patch
Recreate the patch with Lipx
In some cases Lipx ips is bigger than the one from LunarIPS, although the game seems unaffected.
Needs more investigation.
Hi. I decided to learn some python to fix this issue.
Here's my patch.
Please test it well if you are considering using it. This was really my first python coding I've ever done.
Hello,
I would like to use your tool to patch a rom and it won't work.
Try this:
search and find this SNES rom: Chrono Trigger (US).smc
download the french translation patch from this site:
https://traf.romhack.org/?p=patchs&pid=1071&aff=coms
Try to patch the USA rom:
$ python ./lipx.py -a "SNES rom: Chrono Trigger (US).smc" "Chrono Trigger (Fr) v1.03.ips"
or
$ python3 ./lipx.py -a "SNES rom: Chrono Trigger (US).smc" "Chrono Trigger (Fr) v1.03.ips"
it won't work.
Thank you for your help.
Config: Ubuntu 18.04
i noticed lipx currently doesnt create patches that truncate the patched file.
it appears many ips patching tools support a so-called "truncation/expansion extension", but i haven't found a specification so far.
The current shebang at the top of the script references python
but this program requires Python 3. Most systems refer to Python 3.x as python3
.
Replacing static 'lipx.py' with dynamic will display help text that is consistent with the actual installed file (for example if installed as /usr/bin/lipx).
def usage():
this = os.path.basename(sys.argv[0])
print('\nLipx v' + VERSION + ' - Linux IPS tool\n\n' +
'Usage:\n\n' +
' == Apply patch\n' +
' ' + this + ' -a originalFile patchFile\n\n' +
' == Create a copy and apply the patch - original is untouched\n' +
' ' + this + ' -ab originalFile patchFile [outputFile]\n\n' +
' == Create IPS patch\n' +
' ' + this + ' -c originalFile modifiedFile [outputFile]\n\n' +
'Arguments:\n' +
' [] optional argument\n')
sys.exit(1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.