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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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