Documentation
About Installation File Format

File format

An archive produced by the star program is called a starfile. The following table describes the standard starfile format.

Total bytes Byte Value Meaning
16 \x73\x20\x74\x20\x61\x20
\x72\x20\x31\x00\x00...
s t a r 1\x00*16 (file magic)
8 \xCA\xFE\xCA\xFE
\xBA\xBE\xBA\xBE
Beginning of file list
n filename{*&*}filehash{:\x00:}
filename{*&*}filehash{:\x00:}...
File list separated by {:\x00:}
8 \xBA\xBE\xBA\xBE
\xCA\xFE\xCA\xFE
End of the file list
24 \x53\x20\x54\x20\x41\x20
\x52\x20\x42\x20\x45\x20
\x47\x20\x49\x20\x4e\x20
\x5c\x20\x5c\x20\x26\x24
Beginning of file
(S T A R B E G I N \ \ &$)
n file contents The contents of the file
24 \x53\x20\x54\x20\x41\x20
\x52\x20\x45\x20\x4e\x20
\x44\x20\x4f\x20\x46\x20
\x5c\x20\x5c\x20\x26\x24
End of file
(S T A R E N D O F \ \ &$)
n {begin file hex}{file contents}
{end of file hex}
Basic layout for file contents.
Repeats for every file in
the archive.
16 \x65\x20\x73\x20\x74\x20
\x61\x20\x72\x00\x00...
End of star file

If you are interested in reading more about the file specification, go check out the whitepaper.