From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:AGS game data file" |
|---|
| claim | "The main game file of an AGS game starts with the 30 ASCII bytes "Adventure Creator Game File v2" (no terminator), immediately followed by the int32 data version; this is the same text for 2.x and 3.x games, but the engine's reader accepts only data versions from kGameVersion_250 (2.5) up to its current one. The file is stored as an asset named game28.dta (3.x) or ac2game.dta (2.x) inside the game's asset library." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:AGS game data file" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "41 64 76 65 6E 74 75 72 65 20 43 72 65 61 74 6F 72 20 47 61 6D 65 20 46 69 6C 65 20 76 32" |
|---|
| offset | "0x0" |
|---|
| meaning | "MainGameSource::Signature, compared against the first 30 bytes of the game asset; mismatch gives kMGFErr_SignatureFailed" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Signature constant and the comparison via String::FromStreamCount(in, Signature.GetLength()) in OpenMainGameFileBase; names game28.dta and ac2game.dta at lines 44-45." |
|---|
| repo | "https://github.com/adventuregamestudio/ags" |
|---|
| commit | "01cc4c3dafea4a5fc5804d887ca21975f738ce4e" |
|---|
| path | "Common/game/main_game_file.cpp" |
|---|
| lines | "44-46, 161-170" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Main game file signature" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T11:04:24.621Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:16:21.342Z" |
|---|
| summary | "Signature (30 bytes, no terminator), file names and the int32 version read right after it re-checked in main_game_file.cpp, but the reader also refuses by version: data versions below…" |
|---|
| changed | |
|---|
|
|
|---|