tfausak / octane

:rocket: Parse Rocket League replays.
https://www.stackage.org/nightly/package/octane
Other
39 stars 1 forks source link

Fix parsing of painted items #34

Closed tfausak closed 8 years ago

tfausak commented 8 years ago

This will fix #33. It's a work in progress.

tfausak commented 8 years ago

I finally got a painted item. It's a forest green birthday cake topper. I made a replay with it, but this branch can't parse it. I got the following output:

(0x0c,0x00,0x00,0x00,0x00,0x00,0x01,0x26,0x02,0x00,0x00,0x0e,Just 0x00,Nothing,Just 1)
octane.EXE: Data.Binary.Get.runGet at position 275: could not find thing for closed actor 204

The first line is all the online loadout values. The 7th one (g) is 0x01, which means my code read an extra 37 bits. That either wasn't enough or was too much.

I saw that @jjbott did some work here around the online loadouts. His guess seems to be that the first values is the number of other values to read. So maybe this is an array of some kind. Still not clear exactly what's being encoded, though.

tfausak commented 8 years ago

I got another painted topper to work with. It's the same color (forest green) as the other one I already have. So I made 4 replays:

painted-toppers.zip