mibpatcher - Mr-MIBonk/M.I.B._More-Incredible-Bash GitHub Wiki
Execute patcher binary - examples
patcher -m ifs -v patch --pattern <patch to pattern> <patch to input ifs-root-stage2>
patcher -m bpatch patches.txt decompressed.bin
can run any patch file on any binary (no archive file walk used here)
patcher -m ifs decompress root2.ifs
will create decompressed file, root2_decompressed.ifs
patcher -m ifs compress root2_decompressed.ifs
will compress it into a new file
patcher -m ifs patch root2_decompressed.ifs
will unpack, patch, repack
--pattern - if n ot set an internal pattern will be used (not recommended)
$ ./mibpy -m ifs -h
usage: ifs [-h] [-v, --verbose] [-p, --pattern pattern] operation ifs*
MIB IFS Processor v1.3.0
positional args:
operation - one of:
extract <ifs> : extract all files from compressed image.
decompress <ifs> : decompress compressed image.
compress <ifs> : compress a decompressed image, fixing checksum as needed.
split <ifs> : split a partition image into parts.
join <ifs1> <ifs2> : join ifs1 and ifs2 together again.
patch <ifs> : patch image.
ifs input file
optional args:
-h, --help show this message and exit
-v, --verbose Verbose logging
-p, --pattern pattern(patch operation only) path to custom patch definition file (else internal one used)
$ ./mibpy -m bpatch -h
usage: bpatch [-h] patches bin
Patch Processor v1.1.0
positional args:
patches Patches description file
bin input file to patch
optional args:
-h, --help show this message and exit