added .umap support sort of

This commit is contained in:
iAmAsval 2019-12-14 22:58:11 +01:00
parent 31c3c0ba3f
commit 8b66257ca7

View File

@ -226,7 +226,9 @@ namespace PakReader
public FPakEntry(BinaryReader reader, string mountPoint, int pakVersion)
{
Name = mountPoint + reader.ReadString(FPakInfo.MAX_PACKAGE_PATH);
//replace .umap to .uasset to serialize umap files
//this will be refactored with the updated pak reader
Name = mountPoint + reader.ReadString(FPakInfo.MAX_PACKAGE_PATH).Replace(".umap", ".uasset");
// FPakEntry is duplicated before each stored file, without a filename. So,
// remember the serialized size of this structure to avoid recomputation later.