s2prot
screp
s2prot | screp | |
---|---|---|
3 | 2 | |
51 | 78 | |
- | - | |
4.8 | 3.5 | |
about 1 month ago | 26 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
s2prot
-
Show HN: Rust nom parsing Starcraft2 Replays into Arrow for Polars data analysis
SC2 replays are MPQ files, which is a proprietary format created and used by Blizzard. It's an archive that may contain multiple files stored with different compression and optionally encrypted. I wrote a lib to parse MPQ files that embodies SC2Replays: https://github.com/icza/mpq. I also wrote an SC2 replay parser that is more or less a port of the official s2protocol: https://github.com/icza/s2prot
-
Rust 2024 the Year of Everywhere?
vm = virtual machine/memory?
I'm porting this Python library to Rust: https://github.com/Blizzard/s2protocol.
For the shitty, first pass prototype code I've written so far I've seen a ~30-40x speedup compared to the Python implementation and a ~2x speedup compared to a Go implementation by someone else: https://github.com/icza/s2prot.
That is why I chose Rust over a GC language like Go. It's a lot faster out of the box, even without me having a strong understanding of memory operations.
- Could humans theoretically read the code of a SC-replay?
screp
-
Starcaster: show 1v1 match results on your stream
Also, I wonder how you determine Victory/Defeat, afaik its impossible to know that for sure, and the algorithms to calculate that can't be 100% guaranteed even in some simple 1v1 matches, more info here.
What are some alternatives?
parse-rosetta-rs - Comparing parser APIs
go-rosbag - Rosbag parser written in pure Go
Tims-PackageServer - Lightweight Package Server for WoltLab Community Framework
sonnet - High performance JSON decoder in Go
nom - Rust parser combinator framework
s2protocol-rs - Starcraft 2 Protocol Replay Reader
pdx-tools - View maps, graphs, and tables of your save and compete in a casual, evergreen leaderboard of EU4 achievement speed runs. Upload and share your save with the world.
zephyrus-sc2-parser - A parser for .SC2Replay files
rust-parser
mpq - Decoder/parser of Blizzard's MPQ archive file format
usbarmory - USB armory - The open source compact secure computer
hn-search - Hacker News Search