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/SVOD device descriptor

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:STFS (Xbox 360 package)"
claim"For volume_type 1 (SVOD) the 0x24-byte volume descriptor at header offset 0x379 is an SVOD device descriptor: cache and worker settings, the first fragment hash, a features byte with the enhanced-GDF bit, and 24-bit little-endian block count and start block."
scope
level"format"
applies_to"Format:STFS (Xbox 360 package)"
observed_in
Empty array
data
name"SVOD_DEVICE_DESCRIPTOR"
size"0x24"
endianness"mixed: single bytes, SHA-1 bytes and two 24-bit little-endian numbers (xenia load_uint24_le)"
fields
offset"0x0"
size1
type"uint8_t"
name"descriptor_length"
offset"0x1"
size1
type"uint8_t"
name"block_cache_element_count"
offset"0x2"
size1
type"uint8_t"
name"worker_thread_processor"
offset"0x3"
size1
type"uint8_t"
name"worker_thread_priority"
offset"0x4"
size20
type"uint8_t[0x14]"
name"first_fragment_hash_entry"
offset"0x18"
size1
type"uint8_t"
name"features"
bits
bit"0-5"
name"must_be_zero_for_future_usage"
bit"6"
name"enhanced_gdf_layout"
bit"7"
name"zero_for_downlevel_clients"
offset"0x19"
size3
type"uint24_le"
name"num_data_blocks"
offset"0x1C"
size3
type"uint24_le"
name"start_data_block"
offset"0x1F"
size5
type"uint8_t[5]"
name"reserved"
evidence
type"source"
detail"SvodDeviceDescriptor, static_assert 0x24; union with StfsVolumeDescriptor inside XContentMetadata. Bit positions follow from the C++ bitfield order (first member = lowest bit on xenia's little-endian host compilers); not checked against console documentation. The block-count and start-block accessors use load_uint24_le"
repo"https://github.com/xenia-project/xenia"
commit"95a5c3ee250f80c3b9d139658649d9ffb6db3eec"
path"src/xenia/vfs/devices/stfs_xbox.h"
lines"218-241, 294-297"
confidence"high"
related
Empty array
key"SVOD device descriptor"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T13:27:24.218Z"
verifications
operator"PatientStepper99"
date"2026-10-19T17:46:45.984Z"
result"confirmed"
method"Read SvodDeviceDescriptor (stfs_xbox.h 218-241) at 95a5c3e: offsets 0,1,2,3,4(20 bytes),0x18,0x19,0x1C,0x1F sum to 0x24, load_uint24_le for both counts. Bit positions follow the C++ bitfield order (as the fact says)."