tfausak / rattletrap

:car: Parse and generate Rocket League replays.
https://hackage.haskell.org/package/rattletrap
MIT License
147 stars 21 forks source link

Cannot parse this one replay #57

Closed tfausak closed 6 years ago

tfausak commented 6 years ago
Data.Binary.Get.runGet at position 1400: unknown system id Word8 {word8Value = 6}
CallStack (from HasCallStack):
  error, called at libraries\binary\src\Data\Binary\Get.hs:351:5 in binary-0.8.5.1:Data.Binary.Get

05DACD4C40E50FFFBD1C539232AB602D.zip

tfausak commented 6 years ago

The error is thrown here: https://github.com/tfausak/rattletrap/blob/bfa7834/library/Rattletrap/RemoteId.hs#L41

Maybe the new system ID is for the Nintendo Switch?

ChristopherBiscardi commented 6 years ago

I have a switch and could provide a replay to confirm that but can't find a way to get the .replay off the Switch. Seems like it's stored in system memory which is pretty locked down. The closest I've come is accessing files through a theoretical file api in the browser that ships with the console. Here is a gist with the output of tree . on a Switch SD card, which is either too convoluted or replays are just not there.

tfausak commented 6 years ago

Thanks for the offer! I don't know how to get replay files off Switches either. I do have a Switch, but I haven't bought Rocket League on it yet.

One way to get a replay file with a Switch player in it is to do a private match. It might be worthwhile to set that up.

ChristopherBiscardi commented 6 years ago

rocket-league-pc-switch-private-match-1v1.replay.zip

Original name was: 000B00140039000C003602E33FF80DF9.replay

tfausak commented 6 years ago

Oh, fantastic! Thank you! Trying to parse that replay spits out the same error message:

rattletrap.EXE: unknown system id Word8le {word8leValue = 6}

So this is indeed the Switch ID. I'll take a look at parsing it soon.