Official Forumula 1 Racing LKF FAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
(What is Luminess)
imported>Dinoguy1000
m (Reverted edits by 68.169.35.164 (talk) to last revision by Dinoguy1000)
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 20:07, 16 July 2012

Choose archive extension:

LKF + FAT


Format Specifications

char {X}     - Filename of the LKF archive this FAT file references
uint64 {8}   - null
byte {496}   - Padding to offset 513

// for each file

uint32 {4}   - File Type ID? (Stop loop when = 65535)
uint32 {4}   - Offset
uint32 {4}   - Unknown
uint32 {4}   - Length
uint32 {4}   - null


char {X}     - Blank file entries of the pattern above, until offset 755

// continue until offset 30116

uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - null


byte {1120}  - Padding

// continue until the extension is XXX

char {X}     - Tag Name (eg XXX )
byte {1}     - null Tag Name Terminator
char {X}     - File Extension (eg .xxx)
byte {1}     - null Extension Terminator
char {X}     - Directory Name (eg XXX/)
byte {1}     - null Directory Name Terminator
uint32 {4}   - Number of Files, or offsets


// 1144 bytes of the following pattern

uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown


// for each file

byte {1}     - null
byte {23}    - Filename (32-terminated)


MultiEx BMS Script

Not written yet

Notes and Comments

  • The *.lkf file contains the file data, the *.fat file contains the directory

Compatible Programs