Skip to content

Command line tool to convert file into text file to be included in source code

Notifications You must be signed in to change notification settings

aoineko-fr/CMSXbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

_____________________________________________________________________________
   ▄▄   ▄ ▄  ▄▄▄ ▄▄ ▄ ▄▄   ▄                                                 
  ██ ▀ ██▀█ ▀█▄  ▀█▄▀ ██▄  ▄  ██▀▄                                           
  ▀█▄▀ ██ █ ▄▄█▀ ██ █ ██▄▀ ██ ██ █                                           
_____________________________________________________________________________
                                                                             
CMSXbin - Convert binary to text file

Usage: bin2h <inputfile> [options]

Options:
  -o output     Filename of the output file (default: use input filename with .h/.asm extension)
  -t mane       Data table name (default: use input filename)
  -8b           8-bits data size (default)
  -16b          16-bits data size
  -32b          32-bits data size
  -dec          Decimal data format
  -hex          Hexadecimal data format (default)
  -bin          Binary data format
  -c            C language data (default)
  -asm          Assembler language data
  -n X          Number of data per line (default: 16)
                (0: means only one line)
  -skip F S     Skip binary data from 'F' address to a 'S' size
                Value can be hexadecimal (format: 0xFFFF) or decimal
                Can be invoked multiple times to skip several sections
  -ascii        Display ASCII code of each line (only for 8-bits data. default: false)
  -ad           Display decimal address offset of the first element of each line
  -ax           Display hexadecimal address offset of the first element of each line
  -pt3			Extract PT3 header information and add it as comment (default: false)
  -at X         Data starting address (can be decimal or hexadecimal starting with '0x')
  -def			Add define before data structure (only for C language. default: false)
  -h            Display this help

About

Command line tool to convert file into text file to be included in source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages