Skip to content

Commit

Permalink
Fixed work with huge files in UE4 pak files
Browse files Browse the repository at this point in the history
FPakEntry::StructSize is now 32 bit
  • Loading branch information
gildor2 committed Apr 16, 2022
1 parent 80b1558 commit c444911
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Unreal/FileSystem/UnArchivePak.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ struct FPakEntry
TArray<FPakCompressedBlock> CompressionBlocks;
byte bEncrypted; // replaced with 'Flags' in UE4.21

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

CGameFileInfo* FileInfo;
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ LZO data compression library

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

LZ4
(c) Yann Collet
Expand Down
Binary file modified umodel.exe
Binary file not shown.

0 comments on commit c444911

Please sign in to comment.