tfausak / rattletrap

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

Allow skipping CRC #202

Closed tfausak closed 3 years ago

tfausak commented 3 years ago

This will fix #201. For now I've done a lot of little clean up. Actually allowing the CRC to be skipped is going to be a little involved. Here's my game plan:

In other words:

  1. Replay Section Section
  2. Replay Header Section
  3. Replay Header (Content Section)
  4. Replay Header (Content Frames)
tfausak commented 3 years ago

That was surprisingly easy.

Turns out the frames part is going to be harder. Since the stream size is part of the content, I'll have to carefully shuffle things around to avoid breaking anything. Once again #190 and #191 would be nice to have.