Star Wars: The Force Unleashed LP: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (34 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian<br> | ||
* ''' Signature ''': kaPA <br> | * ''' Signature ''': kaPA / APak <br> | ||
| 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 | ||
4 bytes (uint32) - version // 5 | 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 - 1 | |||
12 bytes - unknown // always nulls? | |||
4 bytes (uint32) - data offset (repeated again) | |||
4 bytes (uint32) - archive size - 1 (repeated) | |||
4 bytes (uint32) - unknown // always nulls? | |||
// extra header (only if extra_header_size > 0) | |||
x bytes - extra header data | |||
// 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" | |||
} | |||
32 bytes (char) - end string // "/**** END asset name table ****/" | |||
// info table (64 bytes per entry) | |||
num_of_files * | |||
{ | |||
20 bytes - unknown | |||
4 bytes (uint32) - name offset (relative for name table) | |||
16 bytes - unknown | |||
4 bytes (uint32) - file size | |||
4 bytes (uint32) - file size (repeated) | |||
16 bytes - unknown | |||
} | |||
// offset table (16 bytes per entry) | |||
num_of_files * | |||
{ | |||
4 bytes (uint32) - file ID | |||
4 bytes (uint32) - file data offset (relative) | |||
4 bytes (uint32) - always nulls | |||
4 bytes (uint32) - always nulls | |||
} | |||
// data | |||
num_of_files * | |||
{ | |||
x bytes - file data | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 21: | Line 79: | ||
* LP stands for "Level Pack". | * LP stands for "Level Pack". | ||
* There are also some *.LP archives in SWTFU II, but it seems they are just standard [[GRAF:ZIP Archive|ZIP Archives]] with changed extension. | |||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Star Wars: The Force Unleashed (PC) (*.LP) | * Star Wars: The Force Unleashed Ultimate Sith Edition (PC) (*.LP) | ||
* Star Wars: The Force Unleashed II (X360/PS3) (*.LP) | |||
=== QuickBMS Script === | === QuickBMS Script === | ||
* [http://aluigi.altervista.org/bms/star_wars_lp.bms star_wars_lp.bms] | * [http://aluigi.altervista.org/bms/star_wars_lp.bms star_wars_lp.bms] | ||
* [https://forum.xentax.com/viewtopic.php?p=33723#p33723 lp extractor script] | |||
* [https://forum.xentax.com/viewtopic.php?p=53353#p53353 Star Wars The Force Unleashed II (PS3) script] | |||
=== Compatible Programs === | === Compatible Programs === | ||
| Line 36: | Line 98: | ||
[[Category:Complete | [[Category:Complete Almost Done|Star Wars: The Force Unleashed LP]] | ||
[[Category:Platform PC|Star Wars: The Force Unleashed LP]] | [[Category:Platform PC|Star Wars: The Force Unleashed LP]] | ||
[[Category:Platform X360]] | |||
[[Category:Platform PS3]] | |||
[[Category:CE None|Star Wars: The Force Unleashed LP]] | [[Category:CE None|Star Wars: The Force Unleashed LP]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[Category:Extension_lp | Extension: lp]] | [[Category:Extension_lp | Extension: lp]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
Latest revision as of 12:48, 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 - 1
12 bytes - unknown // always nulls?
4 bytes (uint32) - data offset (repeated again)
4 bytes (uint32) - archive size - 1 (repeated)
4 bytes (uint32) - unknown // always nulls?
// extra header (only if extra_header_size > 0)
x bytes - extra header data
// 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"
}
32 bytes (char) - end string // "/**** END asset name table ****/"
// info table (64 bytes per entry)
num_of_files *
{
20 bytes - unknown
4 bytes (uint32) - name offset (relative for name table)
16 bytes - unknown
4 bytes (uint32) - file size
4 bytes (uint32) - file size (repeated)
16 bytes - unknown
}
// offset table (16 bytes per entry)
num_of_files *
{
4 bytes (uint32) - file ID
4 bytes (uint32) - file data offset (relative)
4 bytes (uint32) - always nulls
4 bytes (uint32) - always nulls
}
// data
num_of_files *
{
x bytes - file data
}
Notes and Comments
- LP stands for "Level Pack".
- There are also some *.LP archives in SWTFU II, but it seems they are just standard ZIP Archives with changed extension.
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.