Adventure Game Studio
From Just Solve the File Format Problem
An Adventure Game Studio file contains game assets for point-and-click adventure games. The games can be played by the Adventure Game Studio player. The reference implementation has been open source since 2010.
Adventure Game Studio files start with CLIB\x1a, possibly preceded by arbitrary data (this allows them to be embedded in EXE files). The file contains multiple uncompressed game data files, and a header indicating the locations & filenames of these files. The files can have any name, but some have special meaning:
-
game28.dtaorac2game.dta: Global game data. Format is an arbitrary concatenation of binary data. -
acsprset.spr: Sprite file. Contains graphics data in compressed or uncompressed formats. -
sprindex.dat: Sprite index file. Helps locate graphics inacsprset.spr. Optional. -
room*.crm: Rooms. -
agsfnt*.wfn: CorelDraw WFN fonts. -
agsfnt*.ttf: OpenType fonts.
.dta and .crm files contain executable instructions in a "SCOM" format, which always starts with SCOM and ends with 0xbeefcafe (little-endian).