hohav / peppi

Rust parser for Slippi SSBM replay files
MIT License
37 stars 9 forks source link

Parse fourth version byte #16

Closed NickCondron closed 2 years ago

NickCondron commented 2 years ago

Adds fourth version byte to the Version struct and parses it (instead of dropping it like before). I know it is currently unused, but I'm interested in adding it because slippc stores a value there for compressed replay files (which I'm looking into adding support for). Maybe a future replay spec will use it too?

Updates MAX_SUPPORTED_VERSION to v3.12

Fixes incorrect index used in TryFrom<&str> for Version

hohav commented 2 years ago

If Slippi ever starts using this field I'd parse it, but since I'm not currently interested in supporting .zlp files I'm going to close this for now.