Skip to content

Can't convert some save files #2

@williamjcm

Description

@williamjcm

I don't know if you still work on this project, but I have an issue converting save files made by the game M.A.S.S. Builder (which uses UE4 version 4.25 as of the current version).

Here's the output for one of the save files:

D:\Downloads\gvas-converter-master\GvasConverter\bin\Release\netcoreapp2.2>dotnet GvasConverter.dll Profile76561197986396475.sav
Parsing UE4 save file structure...

Unhandled Exception: System.FormatException: Offset: 0x0000050d. Expected terminator (0x00), but was (0xa0)
   at GvasFormat.Serialization.UETypes.UEIntProperty..ctor(BinaryReader reader, Int64 valueLength) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UETypes\UEIntProperty.cs:line 18
   at GvasFormat.Serialization.UESerializer.Deserialize(String name, String type, Int64 valueLength, BinaryReader reader) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UESerializer.UETypes.cs:line 19
   at GvasFormat.Serialization.UETypes.UEArrayProperty..ctor(BinaryReader reader, Int64 valueLength) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UETypes\UEArrayProperty.cs:line 34
   at GvasFormat.Serialization.UESerializer.Deserialize(String name, String type, Int64 valueLength, BinaryReader reader) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UESerializer.UETypes.cs:line 38
   at GvasFormat.Serialization.UESerializer.Read(Stream stream) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UESerializer.cs:line 31
   at GvasConverter.Program.Main(String[] args) in D:\Downloads\gvas-converter-master\GvasConverter\Program.cs:line 31

And here's the one from another save file:

D:\Downloads\gvas-converter-master\GvasConverter\bin\Release\netcoreapp2.2>dotnet GvasConverter.dll Unit0076561197986396475.sav
Parsing UE4 save file structure...

Unhandled Exception: System.FormatException: Offset: 0x00000439. Expected struct ID 00000000-0000-0000-0000-000000000000, but was 6e68095c-1b7f-4e52-abb7-821239f4fffd
   at GvasFormat.Serialization.UETypes.UEStructProperty.Read(BinaryReader reader, Int64 valueLength) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UETypes\UEStructProperty.cs:line 15
   at GvasFormat.Serialization.UESerializer.Deserialize(String name, String type, Int64 valueLength, BinaryReader reader) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UESerializer.UETypes.cs:line 35
   at GvasFormat.Serialization.UESerializer.Read(Stream stream) in D:\Downloads\gvas-converter-master\GvasFormat\Serialization\UESerializer.cs:line 31
   at GvasConverter.Program.Main(String[] args) in D:\Downloads\gvas-converter-master\GvasConverter\Program.cs:line 31

Judging by those outputs, it seems the converter has issues with the array and struct property types.

Here are the saves I used: saves.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions