|Logo by Nickman |
(anonymous IP: 220.127.116.11,2074)
Total files: 4310
Full index file
Recent index file
Support the site
--- Die deutsche Version ist weiter unten --- --- English version --- BinToC is just another binary to C converter. I wrote it, because I needed additional features (especialy the TERM feature). So I decided to write my own tool. The usage is very easy: BIN/A,TO/A,BYTE/S,WORD/S,LONG/S,ARRAYNAME=AN,PERLINE=PL/N,TERMINATE=TERM/S BIN is the read file containing the binary. TO specifies the name of the #?.h file to be written. BYTE array type is BYTE (Default) WORD array type is WORD (padding byte my be added at the end) LONG array type is LONG (padding bytes my be added at the end) ARRAYNAME allows to specify the name of the array. By default this is the upper case filename without ".h" suffix. The chars "." and "," are replaced by "_". So having "data.h" specified as TO, the name of the ARRAY is "DATA", while "data.misc.h" create an array named "DATA_MISC" PERLINE defines the number of element per line. (Default is 8). TERMINATE adds a 0x00 byte at the end. Useful when dealing with text files.
|Copyright © 2004-2023 by Björn Hagström All Rights Reserved |