(GPL) Hex to binary converter.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
Download the software :
mkdir devel
cd devel
git clone https://github.com/Keidan/hex2bin.git
cd hex2bin
cmake -S . -B build -DDISTRIBUTION=[debug|release] -G"Visual Studio 17 2022"
cmake --build .
bin\Debug\hex2bin.exe -h
Download the software :
mkdir devel
cd devel
git clone https://github.com/Keidan/hex2bin.git
cd hex2bin
cmake -S . -B build -DDISTRIBUTION=[debug|release] -G"Ninja"
cmake --build .
./bin/hex2bin -h
Supported cmake options (optional):
* Supported distrib.: -DDISTRIBUTION=[debug|release]
* Default start value: cmake -DDEFSTART=[int value] (see the '-s, --start' option of the binary)
* Default limit value: cmake -DDEFLIMIT=[int value] (see the '-l, --limit' option of the binary)
You can also use cmake-gui to manage the options.
For Windows, remember to add .exe after the binary name.
Test 1:
hex2bin -i sample1.txt -o sample1.txt.new -s 6 -l 47
hex2bin -i sample1.txt.new -o sample1.txt.bin -p
Test 2:
hex2bin -i sample2.txt -o sample2.txt.new -l 47
hex2bin -i sample2.txt.new -o sample2.txt.bin -p
Test 3:
hex2bin -i sample3.txt -o sample3.txt.new -s 1