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
One Platform. Total IT Insight. Start with PRTG Now Icon
One Platform. Total IT Insight. Start with PRTG Now

Rely on a single source of truth. PRTG unifies monitoring for all your systems, apps, and services.

Why settle for fragmented monitoring? PRTG consolidates everything - servers, VMs, network devices, cloud services, and more, into one powerful platform. Get real-time status, customizable alerts, and deep analytics to drive smarter decisions. Designed for complex environments, PRTG scales with your needs, supports team collaboration, and helps you prevent outages before they impact users. Take control of your IT landscape and deliver the uptime your business requires.
Start Your Free PRTG Trial
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