tag · cozy-steamworks

Writing on “cozy-steamworks”

4 articles tagged cozy-steamworks. See all posts.

Shipping a Rust native module to four targets from one CI

How cozy-steamworks turns one Rust crate into four prebuilt .node binaries, packs them into a tarball on GitHub Releases, and why a plain git dependency on the repo cannot work.

Read article

Adding leaderboards and global stats to steamworks.js: what Steam doesn't tell you

Notes from adding leaderboards, aggregated global stats and screenshots to my steamworks.js fork, covering handles that only last one Steam session, throttled uploads that resolve as if nothing went wrong, and global totals that run about a day behind.

Read article

Deciding Steam session requests in Rust, before JavaScript can answer

ISteamNetworkingMessages expects a session to be accepted or rejected before its callback returns, and JavaScript can't run in time. So my steamworks.js fork decides from a Rust-side allow list that JavaScript fills in ahead of time.

Read article

Forking steamworks.js for Cozy Coast's multiplayer hub

Upstream steamworks.js 0.4.0 only offered legacy P2P, an unfiltered lobby list and no friends API, which was not enough for Cozy Coast's multiplayer. This covers what the fork added, what it removed, and what it costs to maintain a fork for a single game.

Read article