Adventure Game Studio

From Just Solve the File Format Problem
Jump to: navigation, search
File Format
Name Adventure Game Studio
Ontology
Extension(s) .ags, .exe
Magic Bytes CLIB\x1a
Reference Implementation AGS GitHub repository
Endianness Little-endian
Developed By Chris Jones
Released 1997

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.dta or ac2game.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 in acsprset.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).

Software

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox