Allegro packfile
From Just Solve the File Format Problem
(Difference between revisions)
m (Add Kaitai Struct schema) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|subcat=Game data files | |subcat=Game data files | ||
|extensions={{ext|dat}} | |extensions={{ext|dat}} | ||
+ | |kaitai struct=allegro_dat | ||
}} | }} | ||
− | '''Allegro''' is a game programming library. The PACKFILE format is a format containing the game's assets in a way which allegro can read (normally: bitmaps, run-length-encoded sprites, | + | '''Allegro''' is a game programming library. The PACKFILE format is a format containing the game's assets in a way which allegro can read (normally: bitmaps, run-length-encoded sprites, [[Amiga Module]] music files from libdumb). |
The magic for this file format is {{magic|slh!}} (compressed) or {{magic|slh.}} (uncompressed). | The magic for this file format is {{magic|slh!}} (compressed) or {{magic|slh.}} (uncompressed). | ||
Line 12: | Line 13: | ||
Version 5 of Allegro replaces PACKFILE with standard zip utilities. | Version 5 of Allegro replaces PACKFILE with standard zip utilities. | ||
− | == | + | == Sample files == |
+ | * {{DexvertSamples|archive/allegroPackfile}} | ||
+ | == Links == | ||
* [http://liballeg.org/ liballegro] | * [http://liballeg.org/ liballegro] | ||
* [https://github.com/liballeg/allegro5/blob/4.4/docs/src/packfile._tx Overview of the format] | * [https://github.com/liballeg/allegro5/blob/4.4/docs/src/packfile._tx Overview of the format] | ||
* [https://www.allegro.cc/manual/4/api/file-and-compression-routines/ C API documentation] | * [https://www.allegro.cc/manual/4/api/file-and-compression-routines/ C API documentation] | ||
− | * [https://github.com/liballeg/allegro5/blob/4.4/src/file.c Source code] | + | * [https://github.com/liballeg/allegro5/blob/4.4/src/file.c Source code (file.c)] |
Latest revision as of 17:46, 26 December 2024
Allegro is a game programming library. The PACKFILE format is a format containing the game's assets in a way which allegro can read (normally: bitmaps, run-length-encoded sprites, Amiga Module music files from libdumb).
The magic for this file format is slh!
(compressed) or slh.
(uncompressed).
The allegro library is open source and comes with utility libraries for editing PACKFILEs.
Version 5 of Allegro replaces PACKFILE with standard zip utilities.