From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:GameMaker data file" |
|---|
| claim | "GEN8 byte 1 is the bytecode (WAD) version; UndertaleModTool treats 13 to 17 as supported (GMS2 stays at 17). In the CODE chunk, UndertaleModTool reads Length == 0 as a YYC build, but its own comment limits that to bytecode <= 16 ('YYC, bytecode <= 16, chunk is empty but exists'), so an empty CODE chunk identifies YYC only for those versions; for GMS2 data files at 17 the source says nothing about YYC." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:GameMaker data file" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "read GEN8 payload byte 1; check the CODE chunk length" |
|---|
| indicator | "BytecodeVersion 13-17 supported; CODE length 0 = YYC (no GML bytecode)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "UnsupportedBytecodeVersion = BytecodeVersion < 13 || > 17; Bytecode14OrLower = <= 14; doc comment says the value has been stuck on 17 since early GMS2" |
|---|
| repo | "https://github.com/UnderminersTeam/UndertaleModTool" |
|---|
| commit | "f43e12c445c37d50dc6244caa12ccab232983f3f" |
|---|
| path | "UndertaleModLib/Models/UndertaleGeneralInfo.cs" |
|---|
| lines | "286-293, 643-644" |
|---|
|
| type | "source" |
|---|
| detail | "CODE chunk: if (Length == 0) // YYC, bytecode <= 16, chunk is empty but exists (also in the variables chunk 1778 and the functions chunk 1910 with 14 < bytecode <= 16)" |
|---|
| repo | "https://github.com/UnderminersTeam/UndertaleModTool" |
|---|
| commit | "f43e12c445c37d50dc6244caa12ccab232983f3f" |
|---|
| path | "UndertaleModLib/UndertaleChunks.cs" |
|---|
| lines | "1704-1721" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Bytecode version range and YYC" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:36:09.763Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T03:51:15.359Z" |
|---|
| result | "confirmed" |
|---|
| method | "Re-checked the correction at the cited UndertaleModTool commit: UndertaleChunks.cs 1706 and 1718 test Length == 0 with the comment 'YYC, bytecode <= 16'; UndertaleGeneralInfo.cs line 643 sets UnsupportedBytecodeVersion for < 13 or > 17 and the remarks say the value is stuck on 17." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:51:37.481Z" |
|---|
| summary | "Source comment limits the empty-CODE-means-YYC rule to bytecode <= 16; line numbers corrected (CODE chunk Length == 0 at UndertaleChunks.cs 1706 and 1718)" |
|---|
| changed | | "claim" |
| "evidence replaced" |
|
|---|
|
|
|---|