Simple file patcher made in Zig using raylib
It is the last tool from a set created for ROM hacking (any file in reality). The other two are:
- Stardust: a simple hexadecimal editor with extra features like symbols' table and relative search
- Startile: a simple tile editor
Raylib was not entirely needed in this project, but I wanted to use its helper functionalities
All these projects were developed to better learn Zig and raylib, while fulfilling some nostalgia from the early 2000's
Simply clone/download this repository and run:
$ zig build
To create a patch file, run:
$ Starpatch create <original file> <patched file> <patch file>
It will create the patch file
with all patches needed to make original file
become the patched file
. This file can later be applied with the other commands
To patch a file, run:
$ Starpatch patch <original file> <patch file> <patched file>
It will create the patched file
with all patches contained in patch file
applied to the original file
To unpatch a file, run:
$ Starpatch unpatch <patched file> <patch file> <original file>
It will create the original file
with all patches contained in patch file
unapplied to the patched file
You can check the run.bat
, resources/bigger.txt
and resources/smaller.txt
to see how it works and in action
People from Twitch for watching me and supporting me while developing it
All of my LivePix donators
raylib - Source - Zlib license
Zig - Source - MIT license