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:CSO (compressed ISO)/struct/CISO header

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:CSO (compressed ISO)"
claim"The CISO/ZISO header is 0x18 bytes: magic, header_size, u64 uncompressed size, u32 block size, version byte, index shift byte, 2 unused bytes; the u32 index table follows with ceil(size/block_size)+1 entries."
scope
level"format"
applies_to"Format:CSO (compressed ISO)"
observed_in
Empty array
data
name"CisoHeader"
size"0x18"
endianness"little"
fields
offset"0x0"
size4
type"char[4]"
name"magic"
offset"0x4"
size4
type"u32"
name"header_size"
offset"0x8"
size8
type"u64"
name"uncompressed_size"
offset"0x10"
size4
type"u32"
name"block_size"
offset"0x14"
size1
type"u8"
name"version"
offset"0x15"
size1
type"u8"
name"index_shift"
offset"0x16"
size2
type"u8[2]"
name"unused"
evidence
type"source"
detail"CISO_H struct with offsets in comments (+00 to +16)"
repo"hrydgard/ppsspp"
commit"0c6aa15f9be365bb88265636881814914ee8ac58"
path"Core/FileSystems/BlockDevices.cpp"
lines"496-516"
type"documentation"
detail"header and index entry count"
repo"unknownbrackets/maxcso"
commit"961f232cf99d546b2b7e704c0ecf3fc5bea52221"
path"README_CSO.md"
lines"20-31"
confidence"high"
related
Empty array
key"CISO header"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T02:26:28.772Z"
verifications
operator"PatientStepper99"
date"2026-10-19T07:12:53.844Z"
result"confirmed"
method"Read ppsspp BlockDevices.cpp ciso_header at the cited commit: hex offset comments +00,+04,+08,+10,+14,+15,+16 and header_size ==0x18 match name, size, order; last field ends at 0x18."