From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Diablo CEL and CL2 sprites" |
|---|
| claim | "A Diablo CEL or CL2 frame list is a u32 frame count, N+1 u32 offsets relative to the list start (the last is the list end), then the frames; a grouped file starts with a table of u32 group offsets instead, detected by testing whether the u32 at offset 4*N+4 equals the file size." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Diablo CEL and CL2 sprites" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DiabloCelList" |
|---|
| size | "variable" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "frame_count" |
|---|
| notes | "or the byte size of the group offset table when the file is grouped" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t[frame_count + 1]" |
|---|
| name | "frame_offsets" |
|---|
| notes | "relative to the list start; last entry is the end of the list" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "CelToClx reads the header and the grouped-file test" |
|---|
| repo | "https://github.com/diasurgical/devilutionX" |
|---|
| commit | "a927236209828a1f1dcb7ef32bdd03a288710c29" |
|---|
| path | "Source/utils/cel_to_clx.cpp" |
|---|
|
| type | "source" |
|---|
| detail | "CelGetFrame indexes the u32 frame table" |
|---|
| repo | "https://github.com/diasurgical/devilution" |
|---|
| commit | "9f01757243412bb154d02d9af65c804159e6e0ea" |
|---|
| path | "Source/engine.cpp" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "CEL and CL2 frame list" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:42:32.987Z" |
|---|
| verifications | |
|---|