Skip to content

Releases: AntumDeluge/bin2header

Version 0.3.1

12 Aug 07:34
Compare
Choose a tag to compare

Changes:

  • Updated cxxopts to 3.0.0
  • Added NATIVE option to CMake config (set to "OFF" to configure for Python script)
  • Updated Python script to same functionality as native binary
  • Minor bug fixes
  • Fixed bug where underscores appended to out file basename if shorter than hname
  • Report elapsed time of finished job

Version 0.3.0

12 Aug 07:42
Compare
Choose a tag to compare

Changes:

  • Added option -f to begin reading file at given offset
  • Added option -l to process exact length in bytes
  • Added option -p to pack data into 8, 16, or 32 bit words
  • Added option -e to swap endianess for 16 or 32 bit words
  • End of line character can be set with --eol option

Version 0.2.0

12 Sep 03:23
Compare
Choose a tag to compare

Changes:

  • Split writing data out into chunks instead of attempting to write the entire file at once
    • Fixes file size limitation
  • Added some progress feedback output
  • Pressing Ctrl-C will close file buffers & exit cleanly
  • Support command-line options:
    • help: show a help message
    • version: show version info
    • chunksize: set chunk write size
    • stdvector: additionally store data in std::vector

Bugfix Release 0.1.3

10 Sep 14:36
Compare
Choose a tag to compare

Fixed bug where file isn't read if not in a nested directory layout.

Version 0.1.2

02 Jul 01:20
Compare
Choose a tag to compare

General:

  • Output file encoded in UTF-8 with Unix-style LF line endings
  • Output file includes optional std::vector container for C++ as alternative to char[]

Native Binary:

  • Fixed file input buffer not being closed properly
  • Only input file basename is used in output file (doesn't include invalid characters such as "/" & "\")

Python:

  • Updated script to support Python 3.x (2.x support dropped)
  • Output file is saved to same directory as input

Version 0.1.1

21 Sep 08:19
Compare
Choose a tag to compare
  • Documentation additions & cleanup

Version 0.1.0

20 Sep 22:59
Compare
Choose a tag to compare
  • Add CMake build support.