Official Forumula 1 Racing LKF FAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
m (Reverted edits by 80.243.191.178 (talk) to last revision by Captain)
(What is Luminess)
Line 1: Line 1:
* [[GRAFs|Return to the list of games]]


Choose archive extension:
== LKF + FAT ==
* ''' Format Type ''':    Archive <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
=== Format Specifications ===
<tt><b>
char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename of the LKF archive this FAT file references <br>
uint64 {8}&nbsp;&nbsp; - null <br>
byte {496}&nbsp;&nbsp; - Padding to offset 513 <br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File Type ID? <font color="purple">(Stop loop when = 65535)</font> '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Offset <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Length <br>
: uint32 {4}&nbsp;&nbsp; - null <br>
<br>
char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Blank file entries of the pattern above, until offset 755 <br>
<br>
<font color="blue"> ''' // continue until offset 30116 ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - null <br>
<br>
byte {1120}&nbsp; - Padding <br>
<br>
<font color="blue"> ''' // continue until the extension is XXX ''' </font> <br>
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Tag Name <font color="purple">(eg XXX )</font> <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Tag Name Terminator
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Extension <font color="purple">(eg .xxx)</font> <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Extension Terminator
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Directory Name <font color="purple">(eg XXX/)</font> <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Directory Name Terminator
: uint32 {4}&nbsp;&nbsp; - Number of Files, or offsets <br>
<br>
<font color="blue"> ''' // 1144 bytes of the following pattern ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>
: byte {23}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(32-terminated)</font> <br>
<br>
</b></tt>
=== MultiEx BMS Script ===
Not written yet<br><br>
=== Notes and Comments ===
* The *.lkf file contains the file data, the *.fat file contains the directory<br><br>
=== Compatible Programs ===
* [[Game Extractor|Game Extractor]]<br>

Revision as of 18:53, 16 July 2012