Rahlys Test Archive: Difference between revisions
imported>Rahly No edit summary |
imported>Rahly No edit summary |
||
| Line 4: | Line 4: | ||
---- | ---- | ||
<tt>Signature | <tt>Signature - 4 Bytes 'R' 'T' 'A' #0<br> | ||
File Count - Unsigned 32 bit Little Endian Integer</tt> | File Count - Unsigned 32 bit Little Endian Integer</tt> | ||
<br> | <br> | ||
| Line 14: | Line 14: | ||
<tt>Filename Position - Unsigned 64 bit Little Endian Integer<br> | <tt>Filename Position - Unsigned 64 bit Little Endian Integer<br> | ||
File Position | File Position - Unsigned 64 bit Little Endian Integer<br> | ||
File Size | File Size - Unsigned 64 bit Little Endian Integer<br> | ||
File Date | File Date - Double sized float in Little Endian format<br> | ||
Archived Date | Archived Date - Double sized float in Little Endian format</tt> | ||
Revision as of 01:48, 1 September 2005
Format for testing with the plugin managee with a fairly simple format.
Header
Signature - 4 Bytes 'R' 'T' 'A' #0
File Count - Unsigned 32 bit Little Endian Integer
File Records
All file records are at the end, to know where it starts, take the number of files and multiply it by the size of a single file record, then subtract from the file size
Filename Position - Unsigned 64 bit Little Endian Integer
File Position - Unsigned 64 bit Little Endian Integer
File Size - Unsigned 64 bit Little Endian Integer
File Date - Double sized float in Little Endian format
Archived Date - Double sized float in Little Endian format
Filename are stored as first a single Unsigned 32 bit Little Endian Integer that represents the size, followed by the actual string data.
All positioning is represented as absolute from the beginning of the file. 64bit integers were used to support archive and file sizes over 4 gigs. This is still dependant of the underlying filesystem as well. if the file system doesn't support files this big, neither will this.