Rahlys Test Archive: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Rahly
No edit summary
 
imported>Ikskoks
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Format for testing with the plugin managee with a fairly simple format.
Format for testing with the plugin managee with a fairly simple format.


Header
'''Header'''
----
----


Signature - 4 Bytes 'R' 'T' 'A' #0
<tt>Signature&nbsp; - 4 Bytes 'R' 'T' 'A' #0<br>
File Count - Unsigned 32 bit Little Endian Integer
File Count - Unsigned 32 bit Little Endian Integer</tt>
<br>


File Records
'''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
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
<tt>Filename Position - Unsigned 64 bit Little Endian Integer<br>
File Position     - Unsigned 64 bit Little Endian Integer
File Position&nbsp;&nbsp;&nbsp;&nbsp; - Unsigned 64 bit Little Endian Integer<br>
File Size         - Unsigned 64 bit Little Endian Integer
File Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Unsigned 64 bit Little Endian Integer<br>
File Date         - Double sized float in Little Endian format
File Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Double sized float in Little Endian format<br>
Archived Date     - Double sized float in Little Endian format
Archived Date&nbsp;&nbsp;&nbsp;&nbsp; - Double sized float in Little Endian format</tt>




Line 22: Line 23:


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.
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.
<br><br>
[[Category:File Format]]

Latest revision as of 13:09, 25 July 2021

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.