BIN2C_WIN 1.0
BIN2C_WIN is a useful and free programming utility for Windows, used for converting binary files (like picture files, sound files or in fact any file format you care to name) into C arrays that can be used directly by your C program.
|
BIN2C_WIN is a useful and free programming utility for Windows, used for converting binary files (like picture files, sound files or in fact any file format you care to name) into C arrays that can be used directly by your C program. There are many advantages to doing this.
Less files
You do not have to distribute so many files with your program - they are all contained within the executable.
Less disk reads
The resources automatically load with the program - you do not have to read from the disk each time you want to access the file.
Less coding
You don't have to write any code to load your resources into memory.
Less disk space
Since the resources are contained within the program code, using an executable compressor like UPX on your program will also reduce the space taken up by those resources.
Restrict access
The resource files are not readily editable by the user.
There are many small programs and scripts available that already perform this function. Most of them seem to go under the snappy title of BIN2C. However, most of these are command line utilities which don't allow for easy interaction. I wanted a graphical interface and, not satisfied with the features on any existing programs I found, decided to write my own; hence the less snappily titled BIN2C_WIN.
Why use this in Windows? Depends what you're doing. The Windows API has a built-in method for handling resources compiled with rc.exe (the Microsoft resource compiler) or its clones, and that method is the best for most Windows applications. For some programs though, you need direct access to the data and the API gets in the way. One example would be coding an SDL application. You may also be using Windows as development environment for a different platform. BIN2C_WIN is more flexible than many similar utilities.
Select one or more resource files from one or more directories.
Place your arrays into one single header file or many different files.
Set individual array names and data types for each resource.
Set defaults for the array names and data types. For example, you could automatically declare every array as unsigned char sprite_filename
Easily add, remove or update arrays in a previously created header file.
tags
bin2c win header file resource files access the array names names and types for data types and data the program with the not have are many

Download BIN2C_WIN 1.0
Authors software
BIN2C_WIN 1.0
toxicbreakfast
BIN2C_WIN is a useful and free programming utility for Windows, used for converting binary files (like picture files, sound files or in fact any file format you care to name) into C arrays that can be used directly by your C program.
Similar software
BIN2C_WIN 1.0
toxicbreakfast
BIN2C_WIN is a useful and free programming utility for Windows, used for converting binary files (like picture files, sound files or in fact any file format you care to name) into C arrays that can be used directly by your C program.
FI Converter 1.0.29783
Noemax Technologies
FI Converter is a free and useful tool for .
XnView 1.70
Pierre E GOUGELET
XnView is a freeware utility for converting and viewing your graphics files.
eolfix 0.1.0
Ross Smith
eolfix is a command line utility for querying and correcting end-of-line (EOL) characters in ASCII text files.
Replace Ascii & Text Utility 3.1
GID Software
If you need to find and replace ascii codes in binary files (or replace text in text files) and your word processor is struggling because the file is too large, then you need a utility specifically designed for the task.
FI Viewer 1.0.29906
Noemax Technologies
FI Viewer is a a free and useful utility for .
HHD Software Hex Editor 3.12
HHD Software
Free Hex Editor Software is a free Binary and Hexadecimal file editing utility for Windows with Multi-Document Interface, Multi-Window, Text Viewer, Debug Features, Advanced Search and Replace features.
Free Picture Resizer 1.0
About280.com
Free Picture Resizer is a free image resizing utility done in VB.
Free WMA to MP3 Converter 1.16
Jodix Technology Co.
Free WMA to MP3 Converter will convert Windows Media files to MP3 files which can be played in MP3 Players.
WebKeep 1.1
Web-Keep
WebKeep is a free and useful windows utility that will allow you to upload files to WebKeep from your windows desktop.
Other software in this category
File Analyzer 1.6 12.10.2002
Vadim Tarasov
File Analyzer is a software application that can identify the format of a file, with what it was compiled, encrypted, packed, etc.
Snap 1.1
Fritz
This program is a multiplatform (9x,ME,NT4) Task/Window manager and MORE.
FileType v1.26
X-Fixer
FileType is intended to give the "first-look" file type information without any futher details.
CodeSnip 1.0
Dacris Software
CodeSnip helps you to increase your daily coding efficiency.
ExamDiff 1.6m
PrestoSoft
ExamDiff is a useful utility for visual file comparison.