Utility to apply apbp (Archipelago binary patches) to ROMs.
apbpatch can be built as WASM+JS. The generated HTML can be used to run it in your browser, no data is transferred to the server.
run apbpatch oldfile newfile patchfile
to generate newfile
or apbpatch oldfile patchfile
to output to patchfile's name with oldfile's extension
or apbpatch --info patchfile
to dump info about the patch file.
based on bsdiff
Copyright 2003-2005 Colin Percival
Copyright 2012 Matthew Endsley
uses bzip2
Copyright 1996-2019 Julian R Seward
https://www.sourceware.org/bzip2/
uses xz
https://tukaani.org/xz/
uses libyaml
Copyright 2017-2020 Ingy döt Net
Copyright 2006-2016 Kirill Simonov
https://pyyaml.org/wiki/LibYAML
uses RSA Data Security, Inc. MD5 Message Digest Algorithm
Copyright 1990 RSA Data Security, Inc
md5.h had to be changed and thus is
derived from the RSA Data Security, Inc. MD5 Message Digest Algorithm
uses miniz
Copyright 2013-2014 RAD Game Tools and Valve Software
Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
https://github.com/richgel999/miniz
uses jsmn
Copyright 2010 Serge A. Zaitsev
https://github.com/zserge/jsmn
find the entire source code on https://github.com/black-sliver/apbpatch