A simple script that converts binary files into readable decimal, binary, or hex files. This tool should work for any binary file.
- Clone this project somewhere you like
git clone https://github.com/Vvamp/BinToHex
- Cd into the project directory
cd BinToHex
Run : python main.py -h
shows all the available command line arguments and their usage.
The command python main.py -i hello.DDD -o output.txt --hex
converts the hello.DDD file to hex into output.txt
.
The command python main.py -i hello.DDD -o output.txt --binary
converts the hello.DDD file to binary text.
The command python main.py -i hello.bin -o output.txt --binary --hex
converts the hello.bin file to both binary and hex(seperated by a '|' character).
See python main.py -h
for a list of commands
- Fork the project
- Create a feature branch:
git checkout -b feature/<FeatureName>
- Make your changes
- Commit your changes:
git commit -m "<Describe your changes>"
- Push to the branch:
git push origin feature/<FeatureName>
- Open a pull request
Distributed under the Boost Software License Version 1.0.
See LICENSE
for more details.
Vincent van Setten - @Vvamp - [email protected]
Project: Bin To Hex