Library:Adventure Game Studio
| License | Artistic-2.0 (stated in the source headers and License.txt) |
|---|---|
| Website | https://github.com/adventuregamestudio/ags |
| On this wiki | Facts · Code · Notes · Topics |
Adventure Game Studio (AGS) is an open-source engine and editor for 2D point-and-click adventure games; a game is one packed data library (.ags, or appended to an .exe) holding the compiled main game file, rooms, sprites and sounds.
Overview
The engine source (adventuregamestudio/ags) states in its file headers that it is provided under the Artistic License 2.0 (Common/ac/game_version.h lines 5-11 at 01cc4c3). A finished game is a single asset library in the CLIB (MFL) container, see Format:AGS asset library. Inside it the compiled game definition is the asset game28.dta (3.x games) or ac2game.dta (2.x games), see Format:AGS game data file; each room is a separate asset in the room format, see Format:AGS room file.
Finding the data
The engine's FindGameData looks in a directory for files named *.ags, ac2game.dat, agsgame.dat or *.exe and accepts the first one whose table of contents contains game28.dta or ac2game.dta (Common/game/main_game_file.cpp lines 105-158 at 01cc4c3). A Windows game exe is therefore usually the engine with the library appended to it; see the asset library page for how the appended library is located.
Related
Unverified: the room assets are named roomN.crm and sprites live in acsprset.spr; these names were not read in the sources used here.
Code & repositories
- https://github.com/adventuregamestudio/ags @
01cc4c3dafea4a5fc5804d887ca21975f738ce4e· license: Artistic-2.0 (declared by the contributor; GitHub's detector did not recognize License.txt)
AGS engine and editor source: Common/ac/game_version.h, Common/game/main_game_file.cpp, Common/data/multifilelib.cpp, Common/game/room_version.h and room_file.cpp.
Tested on: source read, not run · checked 2026-10-19; last activity 2026-10-19; Note: the latest release ships binaries; the wiki links only the source, never the binaries