imported>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} - 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>
| |