Difference between revisions of "UnrealEngine4PAK"

From XentaxWiki
Jump to: navigation, search
(Redirected page to Unreal Engine 4 PAK)
 
Line 1: Line 1:
 
+
#REDIRECT [[Unreal Engine 4 PAK]]
[[Category:Complete_Complete | Status: Complete]]
 
[[Category:Extension_pak | Extension: pak]]
 
{{CompactGRAFTOC}}
 
 
 
<div style="border:solid 1px #AAAAAA; padding:4px; background-color:#F9F9F9;">
 
<i>Format Type:</i> Archive<br />
 
<i>Extensions:</i> pak <br />
 
<i>Platforms:</i> <i>unknown</i><br />
 
<i>Endian Order:</i> Little Endian
 
</div>
 
[[Category:Format_Archive | Type: Archive]]
 
<br /><br />
 
== Format Specifications ==
 
<div style="border:solid 1px #AAAAAA; padding:4px; background-color:#F9F9F9; font-weight:bold;">
 
<tt>
 
<font color="blue"><i>Uses ZLib, GZip, or Snappy Compression</i></font><br />
 
<font color="blue"><i>FILE DATA</i></font><br />
 
&nbsp;&nbsp;<font color="blue"><i>for each file</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Compressed Length  <font color="purple">(not including the file header fields or padding)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Decompressed Length<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Compression Type  <font color="purple">(0=uncompressed, 1=ZLib, 2=GZip, 4=Snappy)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;byte {20}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<font color="red">Unknown</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>if (compressed){</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Number of Compressed Blocks<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>for each compressed block</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Offset to the start of the compressed data block  <font color="purple">(relative to the start of the archive)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Offset to the end of the compressed data block  <font color="purple">(relative to the start of the archive)</font><br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>for each compressed block</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Decompressed Length of thie block<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {X}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;File Data  <font color="purple">(ZLib Compression)</font><br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null Padding to a multiple of 2048 bytes  <font color="purple">(sometimes, not always)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>}</i></font><br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>else if (uncompressed){</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {X}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;File Data<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {0-2047}&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null Padding to a multiple of 2048 bytes  <font color="purple">(sometimes, not always)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>}</i></font><br />
 
<br />
 
<font color="blue"><i>DIRECTORY</i></font><br />
 
&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Relative Directory Name Length  <font color="purple">(including null terminator)</font> <font color="purple">(10)</font><br />
 
&nbsp;&nbsp;byte {9}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Relative Directory Name  <font color="purple">(../../../)</font><br />
 
&nbsp;&nbsp;byte {1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null Relative Directory Name Terminator<br />
 
&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Number of Files<br />
 
&nbsp;&nbsp;<font color="blue"><i>for each file</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Filename Length  <font color="purple">(including null terminator)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;byte {X}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Filename<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;byte {1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null Filename Terminator<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;File Offset<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Compressed Length  <font color="purple">(not including the file header fields or padding)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Decompressed Length<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Compression Type  <font color="purple">(0=uncompressed, 1=ZLib, 2=GZip, 4=Snappy)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;byte {20}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<font color="red">Unknown</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>if (compressed){</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Number of Compressed Blocks<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>for each compressed block</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Offset to the start of the compressed data block  <font color="purple">(relative to the start of the archive)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Offset to the end of the compressed data block  <font color="purple">(relative to the start of the archive)</font><br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Decompressed Block Size  <font color="purple">(65536 if multiple blocks, otherwise the same as the decompressed length)</font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>}</i></font><br />
 
<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>else if (uncompressed){</i></font><br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte {1}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;null<br />
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="blue"><i>}</i></font><br />
 
<br />
 
<font color="blue"><i>FOOTER (44 bytes)</i></font><br />
 
&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Magic Number  <font color="purple">((bytes)225,18,111,90)</font><br />
 
&nbsp;&nbsp;uint32 {4}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Version  <font color="purple">(3)</font><br />
 
&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Directory Offset<br />
 
&nbsp;&nbsp;uint64 {8}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Directory Length  <font color="purple">(not including FOOTER)</font><br />
 
&nbsp;&nbsp;byte {20}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;<font color="red">Unknown</font><br />
 
<br />
 
</tt>
 
</div>
 
<br /><br />
 
== MultiEx BMS Script ==
 
 
 
<tt>
 
<i>No BMS script</i>
 
</tt>
 
<br /><br />
 
[[Category:BMS_None | BMS: None]]
 
== Supported Programs ==
 
 
 
* [[Game Extractor|Game Extractor]]<br />
 
<br /><br />
 
[[Category:Program_Game_Extractor | Program: Game Extractor]]
 
== Notes ==
 
 
 
<i>No additional notes</i>
 
<br /><br />
 
[[Category:CE_None | Compression: None]]
 
== Games ==
 
 
 
* BARBAR_BAR
 
* Legendary Hunter VR
 
* Styx: Shards of Darkness
 
* The Fall of Lazarus
 
 
 
<br /><br />
 
== Navigation ==
 
 
 
{{Format Navigation}}
 
<br /><br />
 
 
 
 
 
[[Category:File Format]]
 

Latest revision as of 17:18, 20 September 2021