Skip to content

list

zpack list <archive.zpak>

Prints one line per entry, in sorted path order:

Terminal window
$ zpack list game.zpak
audio/void_mp_emh_1.wav 35.2 MiB deflate 32.4 MiB
textures/asphalt_old_pt_1.png 153.2 KiB store 153.2 KiB
textures/ui/label.txt 6 B store 6 B
Column Is
1 Path, relative to the archive root, /-separated
2 Original size
3 store or deflate
4 Bytes this entry occupies in the archive

Sizes are human-readable binary units - B, KiB, MiB, GiB - to one decimal place. For exact byte counts, use manifest, which emits raw integers.

Only the index is read, so list on a 70 MiB archive costs the same as on a 70 KiB one. Contents are never touched, which also means list succeeds on an archive whose data region is corrupt. Use verify to check that.

The archive is opened and its index fully validated first, so list surfaces any structural problem:

Terminal window
$ zpack list nope.zpak
zpack: cannot open archive 'nope.zpak': FileNotFound
$ zpack list notes.txt
zpack: cannot open archive 'notes.txt': BadMagic

See validation for everything open rejects.