From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Defold game archive" |
|---|
| claim | "Defold archive index version 6: 32-byte big-endian header, 64-byte hash slots, 16-byte entries with a 60-bit offset and 4 flag bits." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Defold game archive" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ArchiveIndexV6" |
|---|
| size_min | 32 |
|---|
| variant | "version 6, big endian" |
|---|
| fields | | name | "version" |
|---|
| type | "i32" |
|---|
| note | "6" |
|---|
|
|
|
| name | "entry_count" |
|---|
| type | "i32" |
|---|
|
| name | "entry_offset" |
|---|
| type | "i32" |
|---|
|
| name | "hash_offset" |
|---|
| type | "i32" |
|---|
|
| name | "hash_length" |
|---|
| type | "i32" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "readArchiveData; entry = i64 (offset low 60 bits, flags top 4), i32 size, i32 compressed size" |
|---|
| repo | "https://github.com/defold/defold" |
|---|
| commit | "4019b8f249383f281c03463fca74b13afe4828b1" |
|---|
| path | "com.dynamo.cr/com.dynamo.cr.bob/src/com/dynamo/bob/archive/ArchiveReader.java" |
|---|
| lines | "76-120" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:32:57.088Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:12:54.679Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ArchiveReader.java at the cited commit: version int, pad int, userdata long, entryCount, entryOffset, hashOffset, hashLength ints (32 bytes), HASH_BUFFER_BYTESIZE 64 per hash slot, entry = long (offset & 0x0fff...f, flags >>> 60), size int, compressed size int (16 bytes)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:37:02.892Z" |
|---|
| summary | "Set byte order big: ArchiveReader reads the index with DataInput readInt (big endian)." |
|---|
| changed | |
|---|
|
|
|---|