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

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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