FabianFG / CUE4Parse

Apache License 2.0
282 stars 115 forks source link

Usmap version parsing bad #172

Closed Hiro420 closed 1 month ago

Hiro420 commented 1 month ago

So I tried loading latest Usmap (from https://fortnitecentral.genxgames.gg/api/v1/mappings), same Usmap FModel uses, like this:

var provider = new DefaultFileProvider(_gameDirectory, SearchOption.TopDirectoryOnly, true, new VersionContainer(EGame.GAME_UE5_4));
provider.MappingsContainer = new FileUsmapTypeMappingsProvider(_mapping);

_mapping being the path to mappings file. CUE4 raises an exception: An error occurred: Usmap has invalid version (3), while FModel doesn't when using the EXACT SAME usmaps. wtf is going on?

GMatrixGames commented 1 month ago

Use the submodule, not the nuget package.