Skip to main content
The header command displays information about disc image files, including game metadata, compression settings, and format-specific details.

Usage

Options

string
required
Path to the disc image file to inspect.
Supported formats:
  • ISO/GCM
  • GCZ
  • WIA
  • RVZ
  • WBFS
flag
Output information as JSON format, then exit.
Overrides other print options (-b, -c, -l).
flag
Print only the block size of GCZ/WIA/RVZ formats, then exit.
Output: 131072 (or N/A for formats without block size)
flag
Print only the compression method of GCZ/WIA/RVZ formats, then exit.
Output: Zstandard (or N/A for uncompressed formats)
flag
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:
Example output:

JSON Output

Example 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:
Format: GALE01 where:
  • G - Platform (G=GameCube, R=Wii)
  • ALE - Game code
  • 01 - Region/version

Title ID

The 64-bit title ID (Wii games only):
GameCube games show 0.

Revision

The disc revision number:
Higher numbers indicate later releases.

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

Output:
Note: No compression information for ISO files.

Inspect RVZ File

Output:

Get JSON Output

Useful for parsing with jq or other JSON tools:

Check Block Size

Output:

Check Compression Method

Output:

Check Compression Level

Output:

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 with jq 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