this is a standalone bz3 decompressor. based on latest iczelia/bzip3
commit
97a6da2. use bzip3 v1.5.3 to compress. decompression
speed same as official bzip3 release.
tried to build with winxp support but failed. i dont think bzip3 source
codes support winxp at all. eventually got the standalone compiled
x86 exe down to 35kb (no ucrt/msvcrt dll dependency) but it wouldnt
work on win7 without ucrt. worked fine on 10+ tho. so had to add
ucrt. works on all win7+ systems even without any msvcrt installation.
attachment includes source code. to compile make a decompress/ dir
inside bzip3/ git repo and copy the attached CMakeLists.txt and
main_decompress.c and then build the project using cmake.
Code:
> bunzip3_x86.exe
bz3 decompressor by SYMM
usage: bunzip3 input output
replace input and/or output with - to use stdin/stdout
Code:
> bunzip3_x86.exe input.bz3 output.exe
output.exe : 824130 bytes
Code:
> bunzip3_x86.exe - - < input.bz3 > output.exe
<stdin>: 824130 bytes