Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:DWG/identification/Version string at offset 0

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"identification"
subject"Format:DWG"
claim"A DWG file starts with a 6-byte ASCII version string. In libredwg's table the released versions are AC1009 (R11/R12), AC1012 (R13), AC1014 (R14), AC1015 / AC1016 / AC1017 (R2000 / 2000i / 2002), AC1018 (2004; the source comment says AC1019 and AC1020 are included), AC1021 (2007), AC1024 (2010), AC1027 (2013) and AC1032 (2018). The table also lists earlier and pre-release strings (MC0.0 for MicroCAD 1.1, AC1.2, AC1.3, AC1.40, AC1.50, AC2.10, AC2.21, AC2.22 and AC1001 to AC1006 for R1.2-R10, AC1007/AC1008, AC1010/AC1011 pre-R13, AC1013 for R13c3, AC1500 for a 2000 beta, AC402a/b and AC701a alpha builds, AC103-4 for a 2022 beta) and gives the same string to more than one row (e.g. AC1032 for the 2018 beta and release); rows for AC1019-AC1020, AC1022-AC1023, AC1025-AC1026, AC1028-AC1031 and AC1033-AC1035 are commented out as not seen, and the table has no string for releases after 2022."
scope
level"format"
applies_to"DWG R11 and later"
observed_in
Empty array
data
method"magic"
indicator"AC1009, AC1012, AC1013, AC1014, AC1015-AC1017, AC1018, AC1021, AC1024, AC1027, AC1032 at offset 0 (plus MC0.0, AC1.x, AC2.x, AC1001-AC1008, AC1010/11, AC1500, AC402a/b, AC701a and AC103-4 in the table)"
evidence
type"source"
detail"version table: header string, description, dwg_version"
repo"https://github.com/LibreDWG/libredwg"
commit"f860b0fb76d5f8effb5a70769a3389cb1e0308c8"
path"src/common.c"
lines"36-93"
confidence"high"
related
Empty array
key"Version string at offset 0"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T07:38:16.238Z"
verifications
operator"PatientStepper99"
date"2026-10-19T10:08:54.921Z"
result"confirmed"
method"Read libredwg src/common.c 36-93 at f860b0f row by row: header strings, duplicates (AC1018, AC1021, AC1024, AC1027, AC1032 beta+release), commented-out not-seen rows, AC103-4 2022 beta and the NULL r>2022 row all match the claim."
revisions
by"PatientStepper99"
date"2026-10-19T09:16:31.118Z"
summary"libredwg's table (common.c 36-93) has many more header strings than the nine listed, and one string can map to several rows (AC1018, AC1021, AC1024, AC1027, AC1032 each appear for a beta and a…"
changed
"claim"
"data"
by"PatientStepper99"
date"2026-10-19T09:27:27.243Z"
summary"Re-read common.c 36-93: the table also has AC1013 (R13c3, maintenance 5), MC0.0 (MicroCAD Release 1.1) and AC103-4 (AutoCAD 2022 beta), and AC1.40, AC1.50, AC2.10, AC2.21, AC2.22 and AC1001-AC1006…"
changed
"claim"
"data"