Josh
Josh
`Serializer.seek(bytes)` adds the given number of bytes to the current offset in the data buffer and sets the offset to the resulting value: ```js seek(bytes) { this._offset += bytes //...
This section of the code I commented out in `StructProperty.deserialize()` would handle that for `AnimalSkin`, but it doesn't work on `LastPlayerLocation` and `LastPlayerRotation`: ```js // let end = serial.tell +...
I see, I wrote a semi-generic `VectorProperty` class for both `Vector` and `Rotator` and can see `SkinName` is a `NameProperty`, which might be similar to `StrProperty`. Let me look a...
Okay, so here is the structure of `SkinName`: | Bytes | Description | Value |:--|:--|:-- | 09 00 00 00 | Property Name Size | 9 bytes | 53 6B...
Yeah, so this is the same structure as `StrProperty`, you can just add `NameProperty` as an alias to `PropertyFactory`, let me see if I can get that working.
I was able to get it working with 1 new line in the `index.js` that contains the aliases for properites for `PropertyFactory` [output1.zip](https://github.com/ch1pset/UESaveTool/files/7478294/output1.zip)
The 1 line I added was: ```js PropertyFactory.Properties['NameProperty'] = StrProperty; ``` ***EDIT*** NOTE: this doesn't work with `Vector` or `Rotator` in our case, but I would like a generic implementation...
I've pushed a commit to the `issue-7-fix` branch. You can test it out.
Ah, I see, I overlooked the `StructProperty.from()` static function. What's happening is, the script is trying to parse the json, and the `from()` function tries to create a property but...
I pushed a commit that fixes the serialization of `VectorProperty` which was the main issue there. I was able to produce an identical copy of the first .sav you provided...