Page 1 of 1

c2raw

Posted: Mon Jan 12, 2009 11:05 pm
by fabiengb
c2raw is a reverse tool to the raw2c command.

It enables to generate a binary file from a .c or .h file produced with raw2c.

Usage :

Code: Select all

c2raw inputfile.c
-> Produce a file named inputfile.bin

c2raw was tested on Ubuntu 8.04, but can be easily adapted on other platforms thanks to the code simplicity (no extra libraries required).

Download : http://fabiengb.free.fr/Perso/c2raw.c

You are free to use, modify this code as you like.

Please, contact me for some improvement requests or bugs.