TGR Docs

TGR files

Version 1

Status: Implemented

The file starts with a 32 bit version number as header. Following that are the content blocks Every block starts with a 32bit block header, this header can either be a block length or just additional information as well as UINT32_MAX (0xFFFFFFFF) which markes the content types end. This will change content type in the following order

Note: All values are unchecked by the reader, it assumes that data is transfered and baked correctly, this might change in further versions

Version 2

Status: RFC 2 / beta implemented

The file starts with a 32 bit version number as header. Following that are the content blocks. Every block starts with a 32bit block header, this header can either be a block length or just additional information as well as UINT32_MAX (0xFFFFFFFF) which markes the content types end. Each content type starts with the 32bit count of content blocks within this type. Optional content types can be decleared empty with the count being zero followed by the content type end marker. This will change content type in the following order:

Optional

Note: All values are unchecked by the reader, it assumes that data is transfered and baked correctly, this might change in further versions