VOGONS


Allegro dat replacement

Topic actions

First post, by dontbugster

User metadata
Rank Newbie
Rank
Newbie

Allegro is a great library for developing DOS games.
My first DOS game (rio inmaculado https://github.com/jsmolina/rio-inmaculado) playable at itch https://jbinary.itch.io/
was created with allegro. Now with much more experience I'm working on another one that (I hope) it will be way better.

But I had to create a dockerfile just to generate the allegro dat files, as the allegro tools really struggled to compile in MacOs.
I tried to extract the dat/grabber tools from allegro, but they are absolutely tight to the library (so much). So I started creating my own DAT generator.

I took documentation information from "https://liballeg.org/stabledocs/en/datafile.html" and "https://formats.kaitai.io/allegro_dat/index.html" although I needed to gather some help from AI (mostly, Claude) when things got a bit blurry, and I crafted a WORKING dat file that includes bmp, wav, midi, fonts, ...

So feel free to modify/fork/blame me, the repo is here: 😁
https://github.com/jsmolina/allegro-dat-replacement/

It's ansi C so it should compile even for a zx spectrum (joking)

Reply 1 of 1, by dontbugster

User metadata
Rank Newbie
Rank
Newbie

new release

https://github.com/jsmolina/allegro-dat-repla … eleases/tag/0.9
feat: add fli by @jsmolina in #4
feat: list support and modify readme by @jsmolina in #5
feat: bmp palettes by @jsmolina in #6
feature: wildcard implementation by @warrior-rockk in #7
Feature: header definition implementation by @warrior-rockk in #8