OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Development » Utility » bin2c.lha

Description: Create a UBYTE array file from raw data file.
Install: bin2c.lha
Size: 42kb 5
Version: 1.0
Date: 11 Jul 04
Author: Menthos / MTS Arts
Submitter: Menthos
Category: development/utility
License: Freeware
Distribute: yes
Min OS Version: 4.0
Introduction
============

This program is meant to help developers to include raw data into C programs so
that the developer does not need to open the file to read its content.
The program creates a file, from the raw data file, with the following look:

UBYTE <specified variable name>[]={0xXX,0xYY,...};

In the source file use #include "<filename of the created destination file>" to
get access to the data using the variable name.


Usage
=====
bin2c can be started both from CLI and Workbench. If no arguments are given
when
starting from CLI the program opens up the GUI.
The program can also be started with arguments from CLI, does not open a GUI.
The program should then be started with "bin2c <raw data file> <destination
file> <variable name>".


Credits
=======

 - Menthos/MTS Arts (Viking Technology)


  /T ______ T   
   Y _  _ Y /   
   Y ______ Y    
   /_0/_/    
      __   /    _  _         ____
  __      /__   /  ._ _._ _ _  | _  _
 /   ____/       /||_/|||/ _ |/_/
 T__ _  _ __/T   / || || |_/ |_ _.
 (  I______I  )
   /       /      WE STILL FUNCTION!
   Y _)__(_ Y
   (___||___)    
   _|= TT =|_    
  (____||____)

-=# bin2c - © 2004 Viking Technology #=-











Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment