header command displays information about disc image files, including game metadata, compression settings, and format-specific details.
Usage
Options
Path to the disc image file to inspect.Supported formats:
- ISO/GCM
- GCZ
- WIA
- RVZ
- WBFS
Output information as JSON format, then exit.Overrides other print options (
-b, -c, -l).Print only the block size of GCZ/WIA/RVZ formats, then exit.Output:
131072 (or N/A for formats without block size)Print only the compression method of GCZ/WIA/RVZ formats, then exit.Output:
Zstandard (or N/A for uncompressed formats)Print only the compression level for WIA/RVZ formats, then exit.Output:
5 (or N/A for formats without compression levels)Output Formats
Default Human-Readable Output
Without flags, displays all available information:JSON Output
Single Value Output
For scripting, use specific flags:Information Fields
File Format Information
Block Size
The block size used for compression (GCZ/WIA/RVZ only).- Measured in bytes
- Common values: 16384, 32768, 65536, 131072, 262144
- Larger blocks = better compression, slower random access
Compression Method
The algorithm used for compression:- None - Uncompressed (ISO)
- Deflate - GCZ compression
- Bzip2 - Bzip2 compression (WIA/RVZ)
- LZMA - LZMA compression (WIA/RVZ)
- LZMA2 - LZMA2 compression (WIA/RVZ)
- Zstandard - Zstandard compression (RVZ only)
- Purge - Purge mode (WIA only)
Compression Level
The compression level (WIA/RVZ only):- Range depends on compression method
- Higher = better compression, slower
- WIA/RVZ only; not applicable to GCZ
Game Metadata
Internal Name
The game’s internal title as stored on the disc:Game ID
The 6-character game identifier:GALE01 where:
- G - Platform (G=GameCube, R=Wii)
- ALE - Game code
- 01 - Region/version
Title ID
The 64-bit title ID (Wii games only):0.
Revision
The disc revision number:Region
The disc region:- NTSC-U - North America
- NTSC-J - Japan
- NTSC-K - South Korea
- PAL - Europe/Australia
Country
Specific country/region:- United States
- Japan
- Europe
- South Korea
- etc.
Examples
Inspect ISO File
Inspect RVZ File
Get JSON Output
jq or other JSON tools:
Check Block Size
Check Compression Method
Check Compression Level
Scripting Examples
List All Game IDs
Check Compression Settings
Identify Game by Title ID
Generate CSV Database
Compare Compression Settings
Integration with jq
The JSON output works well withjq for advanced queries:
Use Cases
Identify Unknown Images
Quickly identify what game an image contains:Verify Compression Settings
Check if images are compressed optimally:Organize Game Library
Sort games by region, ID, or name using metadata.Quality Control
Verify converted images have expected settings:Error Messages
”Error: No input set”
Missing-i option. Specify input file:
“Error: Unable to open disc image”
Check:- File exists and path is correct
- File is a valid disc image
- You have read permissions
Performance
Header inspection is very fast (< 1 second) as it only reads metadata, not the entire file.See Also
- Verify Command - Verify image integrity
- Convert Command - Format conversion
- DolphinTool Overview - Other utilities