Skip to content

Commit c444911

Browse files
committed
Fixed work with huge files in UE4 pak files
FPakEntry::StructSize is now 32 bit
1 parent 80b1558 commit c444911

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Unreal/FileSystem/UnArchivePak.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct FPakEntry
7676
TArray<FPakCompressedBlock> CompressionBlocks;
7777
byte bEncrypted; // replaced with 'Flags' in UE4.21
7878

79-
uint16 StructSize; // computed value: size of FPakEntry prepended to each file
79+
uint32 StructSize; // computed value: size of FPakEntry prepended to each file
8080
FPakEntry* HashNext; // computed value: used for fast name lookup
8181

8282
CGameFileInfo* FileInfo;

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ LZO data compression library
192192

193193
libmspack - a library for Microsoft compression formats
194194
(c) Stuart Caie
195-
http://www.cabextract.org.uk/libmspack/
195+
https://github.com/kyz/libmspack
196196

197197
LZ4
198198
(c) Yann Collet

umodel.exe

-512 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)