byte magic[8]: "NadeoPak"
int32 version (8 or higher)
if (version >= 8)
{
uint256 ContentsChecksum; // Checksum Sha256 of the pack contents starting at next byte
uint32 Flags;
SAuthorInfo AuthorInfo; (version=0, string login, string nick, string zone, string extra)
string InfoManialinkUrl;
uint64 CreationDate;
string Comment;
if (version >= 12)
{
string Xml;
string TitleID;
}
string UsageSubDir; // to known the kind of pack it is
string CreationBuildInfo;
string AuthorUrl;
if (version >= 10)
{
uint128 unused;
}
== JPG ==
// Blowfish encrypted:
int32 NbIncludedPacks;
struct SIncludedPacksHeaders
{
uint256 ContentsChecksum; // Sha256
string Name;
SAuthorInfo AuthorInfo;
string InfoManialinkUrl;
uint64 CreationDate;
} IncludedPacks[];
}