Star Wars: The Force Unleashed LP: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
//header | // header | ||
4 bytes (char) - signature // "APak" - big endian | 4 bytes (char) - signature // "APak" - big endian | ||
// "kaPA" - little endian | // "kaPA" - little endian | ||
| Line 21: | Line 21: | ||
4 bytes (uint32) - offset-table offset | 4 bytes (uint32) - offset-table offset | ||
4 bytes (uint32) - data offset | 4 bytes (uint32) - data offset | ||
4 bytes (uint32) - unknown | |||
4 bytes (uint32) - number of files (repeated) | |||
4 bytes (uint32) - data offset (repeated) | |||
4 bytes (uint32) - archive size | |||
12 bytes - unknown // always nulls? | |||
4 bytes (uint32) - data offset (repeated again) | |||
4 bytes (uint32) - archive size (repeated) | |||
4 bytes (uint32) - unknown // always nulls? | |||
// name table | |||
35 bytes (char) - start string // "/**** START asset name table ****/" | |||
num_of_files * | |||
{ | |||
x bytes (char) - file path // e.g. "Scum/handheld/PCDX/oneHandCylinder | |||
/rigs/lightSaberDarthVader/lightSaberDarthVader.gto" | |||
} | |||
</pre> | </pre> | ||
Revision as of 12:08, 30 April 2022
Back to index | Edit this page
LP
- Format Type : Archive
- Endian Order : Little Endian / Big Endian
- Signature : kaPA / APak
Format Specifications
// header
4 bytes (char) - signature // "APak" - big endian
// "kaPA" - little endian
4 bytes (uint32) - version // 5
4 bytes (uint32) - number of files
12 bytes - unknown
4 bytes (uint32) - extra header size
4 bytes (uint32) - name table size
4 bytes (uint32) - offset-table offset
4 bytes (uint32) - data offset
4 bytes (uint32) - unknown
4 bytes (uint32) - number of files (repeated)
4 bytes (uint32) - data offset (repeated)
4 bytes (uint32) - archive size
12 bytes - unknown // always nulls?
4 bytes (uint32) - data offset (repeated again)
4 bytes (uint32) - archive size (repeated)
4 bytes (uint32) - unknown // always nulls?
// name table
35 bytes (char) - start string // "/**** START asset name table ****/"
num_of_files *
{
x bytes (char) - file path // e.g. "Scum/handheld/PCDX/oneHandCylinder
/rigs/lightSaberDarthVader/lightSaberDarthVader.gto"
}
Notes and Comments
- LP stands for "Level Pack".
Games
List of games using this file format:
- Star Wars: The Force Unleashed Ultimate Sith Edition (PC) (*.LP)
- Star Wars: The Force Unleashed II (X360/PS3) (*.LP)
QuickBMS Script
Compatible Programs
None.