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:CASC (Content Addressable Storage Container)/struct/FILE EKEY ENTRY

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:CASC (Content Addressable Storage Container)"
claim"An entry of a CASC .idx file is 18 bytes with the default header values: 9-byte EKey prefix, 5-byte big-endian data-file number plus offset, 4-byte big-endian encoded size."
scope
level"format"
applies_to"Format:CASC (Content Addressable Storage Container)"
observed_in
Empty array
data
name"FILE_EKEY_ENTRY"
size18
fields
name"EKey"
offset0
size9
type"uint8[9]"
notes"first 9 bytes of the encoded key"
name"FileOffsetBE"
offset9
size5
type"uint8[5]"
notes"big endian; data file number and offset split by SegmentBits"
name"EncodedSize"
offset14
size4
type"uint8[4]"
notes"big endian; size of the BLTE header, frame headers and frames"
evidence
type"source"
detail"struct _FILE_EKEY_ENTRY; lengths are controlled by the index header"
repo"ladislav-zezula/CascLib"
commit"38a34665624b8775bb875274b36191b21c38d97b"
path"src/CascStructs.h"
type"source"
detail"struct _FILE_EKEY_ENTRY with comments on field meaning"
repo"ladislav-zezula/CascLib"
commit"38a34665624b8775bb875274b36191b21c38d97b"
path"src/CascStructs.h"
lines"77-83"
confidence"high"
related
Empty array
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T12:40:46.025Z"
verifications
operator"PatientStepper99"
date"2026-10-18T22:05:55.962Z"
result"confirmed"
method"Read src/CascStructs.h in CascLib at 38a3466: _FILE_EKEY_ENTRY = EKey[CASC_EKEY_SIZE] (9), FileOffsetBE[5], EncodedSize[4], big endian, 18 bytes; comment says lengths are controlled by the index header."
revisions
by"PatientStepper99"
date"2026-10-18T22:05:55.686Z"
summary"Struct re-read at the cited commit; raising to high"
changed
"evidence"
"confidence"