Official Forumula 1 Racing LKF FAT: Difference between revisions
Jump to navigation
Jump to search
(canadian pharmacy) |
imported>Ikskoks m (Ikskoks moved page Official Forumula 1 Racing to Official Forumula 1 Racing LKF FAT) |
||
| (22 intermediate revisions by 8 users not shown) | |||
| Line 3: | Line 3: | ||
Choose archive extension: | 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} - Filename of the LKF archive this FAT file references <br> | |||
uint64 {8} - null <br> | |||
byte {496} - Padding to offset 513 <br> | |||
<br> | |||
<font color="blue"> ''' // for each file ''' </font> <br> | |||
: uint32 {4} - <font color="red"> '' File Type ID? <font color="purple">(Stop loop when = 65535)</font> '' </font> <br> | |||
: uint32 {4} - Offset <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - Length <br> | |||
: uint32 {4} - null <br> | |||
<br> | |||
char {X} - Blank file entries of the pattern above, until offset 755 <br> | |||
<br> | |||
<font color="blue"> ''' // continue until offset 30116 ''' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - null <br> | |||
<br> | |||
byte {1120} - Padding <br> | |||
<br> | |||
<font color="blue"> ''' // continue until the extension is XXX ''' </font> <br> | |||
: char {X} - Tag Name <font color="purple">(eg XXX )</font> <br> | |||
: byte {1} - null Tag Name Terminator | |||
: char {X} - File Extension <font color="purple">(eg .xxx)</font> <br> | |||
: byte {1} - null Extension Terminator | |||
: char {X} - Directory Name <font color="purple">(eg XXX/)</font> <br> | |||
: byte {1} - null Directory Name Terminator | |||
: uint32 {4} - Number of Files, or offsets <br> | |||
<br> | |||
<font color="blue"> ''' // 1144 bytes of the following pattern ''' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
: uint32 {4} - <font color="red"> '' Unknown '' </font> <br> | |||
<br> | |||
<font color="blue"> ''' // for each file ''' </font> <br> | |||
: byte {1} - null <br> | |||
: byte {23} - 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> | |||
[[Category:File Format]] | |||
Latest revision as of 22:37, 16 January 2021
Choose archive extension:
LKF + FAT
- Format Type : Archive
- Endian Order : Little Endian
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