ue5.6 support
Kudos for the project. This seems the most recent one. Can't figure out what's wrong with ue5.6 saves (there are steam games that use 5.6 already):
Header:
```text
version 3
package_ue5 1017
package 522
minor 5
major 6
buildId ++UE5+Release-5.6
{ id: '{9C54D522-4FBE-A826-4607-2194D082B461}', value: 44 }
(...)
gametype /Script/DynamicSave.DynamicSaveGame
```
Looks like header needs an extra byte and then there's just a string table. Hex dump after the header and the guids (note 1 extra byte in the beginning, can't read the property name right away). It's not utf-16 because it's just 4096. Looks like header wants an extra byte (bCooked maybe?) or alignment.
Data after the guids and gametype:
```text
00000000 00 10 00 00 00 44 79 6e 61 6d 69 63 53 61 76 65 .....DynamicSave
00000010 44 61 74 61 00 0f 00 00 00 53 74 72 75 63 74 50 Data.....StructP
00000020 72 6f 70 65 72 74 79 00 01 00 00 00 10 00 00 00 roperty.........
00000030 44 79 6e 61 6d 69 63 53 61 76 65 44 61 74 61 00 DynamicSaveData.
00000040 01 00 00 00 14 00 00 00 2f 53 63 72 69 70 74 2f ......../Script/
00000050 44 79 6e 61 6d 69 63 53 61 76 65 00 00 00 00 00 DynamicSave.....
00000060 c3 82 6b 12 00 00 0b 00 00 00 4f 62 6a 65 63 74 ..k.......Object
00000070 44 61 74 61 00 0c 00 00 00 4d 61 70 50 72 6f 70 Data.....MapProp
00000080 65 72 74 79 00 02 00 00 00 13 00 00 00 53 6f 66 erty.........Sof
00000090 74 4f 62 6a 65 63 74 50 72 6f 70 65 72 74 79 00 tObjectProperty.
000000a0 00 00 00 00 0f 00 00 00 53 74 72 75 63 74 50 72 ........StructPr
000000b0 6f 70 65 72 74 79 00 01 00 00 00 1a 00 00 00 44 operty.........D
000000c0 79 6e 61 6d 69 63 53 61 76 65 44 61 74 61 5f 43 ynamicSaveData_C
000000d0 6f 6e 74 61 69 6e 65 72 00 01 00 00 00 14 00 00 ontainer........
000000e0 00 2f 53 63 72 69 70 74 2f 44 79 6e 61 6d 69 63 ./Script/Dynamic
000000f0 53 61 76 65 00 00 00 00 00 37 c2 b6 10 00 00 00 Save.....7......
```
Uesave fails on the first property name apparently with:
```
assertion `left == right` failed
left: 0
right: 1285
```
Could you please take a look?
Attached save: [SaveGame.sav.zip](https://github.com/user-attachments/files/21923482/SaveGame.sav.zip)
关闭于 2025-08-21 2 条评论