Need to create binary files with data for Your program, game etc.? Tired of using hex-editor and editing the file manually with the risk of structure-mismatches? Too lazy to reedit complete file after changing structure members order or size?

"data2bin" is a utility that takes:

1. Your structures description (you can use integers of different sizes and endiannesses, null-terminated text strings, fixed-size binary strings, structures, arrays...)

2. Your data in a XML file written down according to defined structure.

... and produces final binary file. It is able to pad Your strings with defined padding, check Your integers' sizes, it can fill default values where You didn't supply data, it can also, for example, put a "blank" array member at the end of an array etc.

Whenever You change your structure in Your code, just update the data-description file and "rebuild" Your binary files without touching XML data files!

Project Activity

See All Activity >

Follow data2bin

data2bin Web Site

You Might Also Like
Comet Backup - Fast, Secure Backup Software for MSPs Icon
Comet Backup - Fast, Secure Backup Software for MSPs

Fast, Secure Backup Software for Businesses and IT Providers

Comet is a flexible backup platform, giving you total control over your backup environment and storage destinations.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of data2bin!

Additional Project Details

Intended Audience

Developers

User Interface

Command-line

Programming Language

PHP

Related Categories

PHP XML Software, PHP Build Tools, PHP Hex Editors

Registered

2013-07-29