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:STFS (Xbox 360 package)/struct/Volume descriptor

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:STFS (Xbox 360 package)"
claim"STFS volume descriptor (0x24 bytes at header 0x379): length 0x24, version, flags, file table block count (u16, little-endian), file table start block (24-bit little-endian), top hash table SHA-1, total and free block counts (big-endian)."
scope
level"format"
applies_to"Format:STFS (Xbox 360 package)"
observed_in
Empty array
data
name"STFS_VOLUME_DESCRIPTOR"
size"0x24"
fields
offset"0x0"
size1
type"uint8_t"
name"descriptor_length"
offset"0x1"
size1
type"uint8_t"
name"version"
offset"0x2"
size1
type"uint8_t"
name"flags"
bits
bit"0"
name"read_only_format"
notes"one backing block per hash table"
bit"1"
name"root_active_index"
bit"2"
name"directory_overallocated"
bit"3"
name"directory_index_bounds_valid"
offset"0x3"
size2
type"uint16_le"
name"file_table_block_count"
offset"0x5"
size3
type"uint24_le"
name"file_table_block_number"
offset"0x8"
size20
type"uint8_t[20]"
name"top_hash_table_hash"
offset"0x1C"
size4
type"uint32_be"
name"total_block_count"
offset"0x20"
size4
type"uint32_be"
name"free_block_count"
evidence
type"source"
detail"StfsVolumeDescriptor, static_assert size 0x24"
repo"https://github.com/xenia-project/xenia"
commit"95a5c3ee250f80c3b9d139658649d9ffb6db3eec"
path"src/xenia/vfs/devices/stfs_xbox.h"
lines"74-115"
confidence"high"
related
Empty array
key"Volume descriptor"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T13:46:30.541Z"
verifications
operator"PatientStepper99"
date"2026-10-19T07:39:42.651Z"
result"confirmed"
method"Read StfsVolumeDescriptor (stfs_xbox.h 74-108, pack(1), static_assert 0x24): u8 length, u8 version, flags byte (bit0 read_only_format, 1 root_active_index, 2 directory_overallocated, 3 directory_index_bounds_valid), native (little-endian) uint16 file_table_block_count, 3-byte little-endian file table block number, 0x14-byte top hash, be<u32> total and free block counts: offsets 0,1,2,3,5,8,0x1C,0x20."