Skip to content

Steam and PC games

Scope: architecture concerns specific to shipping and running a game on Steam and on Windows and Linux PCs, whatever the engine: SteamPipe builds and branches, Steamworks account and key security, player authentication and in-game purchases, stats, achievements and leaderboards, Steam Cloud, controllers and Steam Input, Steam Deck, Steam Machine and Proton compatibility, PC settings, crash reporting and code signing. It follows the Steamworks documentation as of November 2026, including the compatibility review for Steam Deck, Steam Machine and other SteamOS devices; VR is out of scope. Engine-independent rules, such as save-data versioning, server authority and accessibility, are in Game development, the counterpart for phones is Mobile games, and engine-specific guidance is in Unity, Godot, Unreal Engine and GameMaker. Build pipelines also follow GitHub Actions or GitLab CI/CD, and keys, purchases and crash data follow Security and Privacy.

Entries are sorted by score from 1 to 10 (criteria): 9–10 start here or strongly recommended, 6–8 recommended, 1–5 further reading or conditional.

Adopted references

  • 9 Steamworks Documentation (Valve): the baseline: the release process, SteamPipe builds and branches, Steamworks features such as Steam Cloud, stats and achievements, Steam Input and microtransactions, the Web API, and the compatibility program for Steam hardware.
  • 8 Uploading to Steam (Steamworks): SteamPipe depots, app_build and depot_build scripts, build accounts, uploads from CI with steamcmd, and content layouts that keep patches small. Testing on Steam covers testing builds before they reach players.
  • 8 Steam Deck and Steam Machine Compatibility Review (Steamworks): the Verified, Playable and Unsupported ratings and the checklist behind them, with Valve's non-blocking recommendations for input, graphics, saves, offline play and launchers.
  • 8 User Authentication and Ownership (Steamworks): session tickets, Encrypted Application Tickets, OpenID and ownership checks between game clients, game servers and backends.
  • 7 Steam Hardware and Proton (Steamworks): testing under Proton, turning on Easy Anti-Cheat and BattlEye support, and the technologies that are known to cause Proton problems.
  • 7 Steam Cloud (Steamworks): Auto-Cloud and the Cloud API, quotas and file size limits, cross-platform paths, and Dynamic Cloud Sync for suspended sessions.
  • 7 Stats and Achievements and Steam Leaderboards (Steamworks): defining, setting and storing stats, game server stats, global stats, and who may write leaderboard scores.
  • 7 Steam Input: getting started for developers (Steamworks): what full controller support means, in-game action sets, default configurations and on-screen glyphs.
  • 7 Microtransactions implementation guide (Steamworks): the server-side purchase flow, settlement reports and reversed transactions.
  • 7 Steam Playtest (Steamworks): Valve's preferred way to run closed and open tests, as a separate app with its own signups or keys that doesn't affect the main game. Demos are separate apps too, and can share depots and cloud storage with the full game.
  • 7 Online Subsystem Steam (Unreal Engine): Unreal's built-in Steam integration, behind the engine's Online Subsystem interfaces, so that other platforms need only configuration changes.
  • 6 GameMaker Steamworks extension (YoYo Games): GameMaker's official Steamworks integration. Version 3.0.0 rewrote its API.
  • 6 Steam Hardware & Software Survey (Valve): monthly data on the operating systems, CPUs, GPUs, video memory, system memory and screen resolutions of Steam users, for choosing minimum and recommended specifications and default settings.

Key rules

Builds and releases

  • 7 STEAM-1 Upload builds from CI with steamcmd under a dedicated Steam build account that has only the Edit App Metadata and Publish App Changes To Steam permissions, and keep its login token in the CI secret store. Log in once with the password and Steam Guard code, then keep the resulting config.vdf, which holds the login token, as a CI secret: restore it for every run, keep the updates steamcmd makes to it, and never commit it (SEC-2). Logging in with the password again issues a new Steam Guard token. For itch.io, push with butler push and keep the API key in the BUTLER_API_KEY secret. (Steamworks, Steam build account, Using SteamPipe in a CI/CD environment, itch.io, Running butler from CI builds)
  • 7 STEAM-2 Let CI set builds live only on a beta branch with a password, test each build there, and set it live on the default branch by hand in Steamworks. To roll back, set the previous build live again. Build scripts can't set the default branch live, and for a released game Steam asks the account that does it to confirm through the Steam Mobile Authenticator or by SMS, so give that account one of them. After a security change to the account, such as a new email address or phone number, it can't set builds live for a released game for three days. Set the branch password before the first build goes live on it, so that the branch stays private. (Steamworks, Updating your game: uploading your update, Advanced build scripts, Authorizing default build updates, Beta branches, Steam build account, Introduction to SteamPipe)
  • 7 STEAM-3 Ship updates and extra content through SteamPipe depots or DLC, not as downloads inside the game, and lay out pack files so that patches stay small: no more than about one or two GB each, grouped by level or feature, with new content in new pack files, no reordered assets or build timestamps, and compression only per asset. SteamPipe compares files in 1 MB chunks, so a change that shifts data through a pack file makes players download most of it again; in Unreal Engine, Valve suggests a pak padding alignment of 1 MB. Leave steam_appid.txt out of depots, because it's for development only. (Steamworks, Updating your game: best practices, Game content structure: best practices, SteamAPI_Init)

Accounts, keys and purchases

  • 9 STEAM-4 Keep the publisher Web API key and the Encrypted App Ticket key on your servers only, never in the game or its repository, and limit each publisher key to the permissions and calling IP addresses it needs. Publisher keys give access to sensitive user data and protected methods such as microtransactions and sales data, Valve says they must not be distributed with a game client, and requests that contain them should use HTTPS. Create them in a dedicated Steamworks group. This applies SEC-11 and SEC-2. (Steamworks, Publisher keys, Creating a publisher Web API key, Encrypted Application Tickets)
  • 7 STEAM-5 Identify players on your game servers and backends by verifying a Steam session ticket, not by a Steam ID that the client reports: a game server or peer passes the ticket to BeginAuthSession, and a backend sends a ticket from GetAuthTicketForWebApi to the ISteamUserAuth/AuthenticateUserTicket Web API. Use each ticket only once, refuse players whose ticket is invalid, and check ownership of the game and its DLC for the verified identity, for example with UserHasLicenseForApp or ISteamUser/CheckAppOwnership. This applies SEC-1. (Steamworks, Authentication between clients and game servers, Authentication with a backend server)
  • 7 STEAM-6 Run in-game purchases from your server: start each one with ISteamMicroTxn/InitTxn, grant the items only after your server's FinalizeTxn call succeeds, and call GetReport at least once a day to take back the items of refunded and charged-back orders. The game's MicroTxnAuthorizationResponse_t callback only reports that the player approved the purchase, for the game to pass on to your server. This is the Steam counterpart of MOBGAME-1 and MOBGAME-3. (Steamworks, Microtransactions: in-game purchasing, Status values)
  • 7 STEAM-7 Grant Steamworks permissions through groups that contain only the apps each person works on, give each person only the permissions they need, keep Administrator, Manage Users, Manage Signing and Actual Authority to a few people, and review who has them regularly. Manage Signing controls the anti-cheat and SDK Auth settings, and Valve recommends reviewing Actual Authority periodically; the User History page shows who added or removed whom, and with which permissions. This applies SEC-1. (Steamworks, Managing groups, Actual Authority, Group permissions, User history)

Stats, achievements and saves

  • 7 STEAM-8 Let only servers you host set the stats, achievements and leaderboard scores that competition or rewards depend on: set the stat's Set By to Official GS and register your servers' IP ranges, and set competitive leaderboards' Writes to Trusted, so that only your server can submit scores, with the SetLeaderboardScore Web API. Players can modify their own game servers or pretend to be one, so GS is weaker than Official GS. For stats that clients set, use minimum and maximum values, Increment Only and Max Change, especially for aggregated stats. This applies GAMEDEV-5. (Steamworks, Define your game's stats, Game server stats, Global stats, Leaderboards: creating via the web)
  • 7 STEAM-9 Write Steam Cloud saves to a folder for each Steam user, such as {64BitSteamID} in an Auto-Cloud path, keep Auto-Cloud root paths Cross-Platform, split saves into small files by how often they change, and never sync machine-specific settings such as resolution or graphics quality. Use the Cloud API (ISteamRemoteStorage) instead of Auto-Cloud when the game needs to choose which files to sync, and set a demo's Shared cloud APP ID to the full game, so that demo saves carry over. Versioning saves and keeping the last good one are GAMEDEV-10 and GAMEDEV-11. (Steamworks, Steam Cloud: notes and best practices, Save file paths, Cross-platform saves, Cloud API and Auto-Cloud, Initial setup, Getting your game ready for Steam Deck: game features)
  • 6 STEAM-10 Let Steam keep stats and achievements: call SetStat whenever a stat changes and StoreStats at checkpoints and right after unlocking achievements, and don't keep a copy of them in your own files. Steam caches them for offline play and merges progress from several computers, and a separate cache can conflict with it and make players' progress look reverted. Store independent stats and compute the ones derived from them, such as games played from games won and lost. (Steamworks, How to use stats and achievements, Offline mode, Stat consistency)

Controllers, Steam Deck and PC settings

  • 7 STEAM-11 Make the whole game playable with a controller in its default configuration: read input as actions grouped into action sets, through the Steam Input API or your engine's action-based input (UNREAL-29, GODOT-22), show glyphs for the device in use, accept mouse and controller input at the same time, and open the on-screen keyboard with ShowGamepadTextInput or ShowFloatingGamepadTextInput when the game needs text. The Verified rating on Steam Deck and Steam Machine requires full access with the default controller configuration, matching glyphs, and text entry with a controller alone. Publish an official Steam Input configuration for every controller type, don't restrict how players customize their controls (remapping is GAMEDEV-18), and look up glyphs every frame, because players can change their bindings at any time. (Steamworks, Compatibility checklist, Steam Input: overview, Playing nicely with Steam Input, In-game actions file, On-screen glyphs, Getting your game ready for Steam Deck: input)
  • 7 STEAM-12 Save graphics settings for each device and keep them out of Steam Cloud, choose defaults for the detected hardware without hiding any setting, support aspect ratios other than 16:9 and 16:10, and match the display's resolution on first launch. For the Verified rating, the default configuration must reach 30 fps at 800p on Steam Deck and at 1080p on Steam Machine, and the smallest text must be at least 9 pixels high at 1280×800; Valve recommends 12 pixels and a text size setting, which is part of GAMEDEV-18. (Steamworks, Getting your game ready for Steam Deck: game features, Compatibility checklist, Steam Deck requirements, Steam Input: overview)
  • 7 STEAM-13 Make all single-player content playable without an Internet connection, and test it offline, including the first launch on a new Steam account. Valve strongly recommends this, especially for Steam Deck players, whose network access may be more sporadic. (Steamworks, Getting your game ready for Steam Deck: game features)
  • 6 STEAM-14 Build everything the player needs into the game instead of a separate launcher, choose middleware that runs under Proton, and test the Windows build under Proton, on Linux or a Steam Deck. Valve recommends user-space anti-cheat with its Proton support turned on, such as Easy Anti-Cheat or BattlEye, standalone video codecs such as VP9 or AV1 instead of Media Foundation, and no anti-tamper. Kernel-level anti-cheat isn't supported, and middleware that doesn't run makes a game Unsupported on Steam Deck and Steam Machine. Launchers built on .NET or WPF are a known Proton problem and hard to use with a controller. (Steamworks, Proton anti-cheat support, Easy Anti-Cheat, Known Proton issues, Compatibility review FAQ, Getting your game ready for Steam Deck: game features)

Crashes and code signing

  • 7 STEAM-15 Collect crash reports from players' release builds through your engine's crash reporter or a crash-reporting service, and archive the debug symbols of every build you upload, outside the depots. Steam Error Reporting is near the end of its life and supports only 32-bit Windows games. Unreal's Crash Report Client isn't packaged by default and needs a crash report server, and projects on Unity 6.2 and later can use Unity Diagnostics. Exclude *.pdb files from depots with FileExclusion, and keep them, for example, in a symbol store built with SymStore. A crash-reporting service receives personal data, so vet it as PRIV-11 asks. (Steamworks, Steam Error Reporting, Unreal Engine, Crash Reporting, Unity, Diagnostics, Steamworks, Advanced build scripts, Microsoft, SymStore)
  • 5 STEAM-16 Sign the Windows executables, libraries and installers you ship, in the release pipeline, with one consistent signing identity, such as Azure Artifact Signing or an OV certificate, and sign after every step that changes the files, such as the Steam DRM wrapper. Unsigned files must build SmartScreen reputation again with every update, and on Windows 11, Smart App Control blocks unsigned executables without a positive reputation, however they were installed. (Microsoft, Code signing options for Windows app developers, SmartScreen reputation: minimizing warnings, Steamworks, Automated Steam DRM wrapper)

How to enforce

Tools that check the key rules above automatically, in CI, the IDE or a commit hook. "Partly" means the tool covers only some of what the rule asks.

  • 6 SignTool verify (Windows SDK): signtool verify /pa checks that a file has a valid signature that chains to a trusted authority, and exits with code 1 if it doesn't, so a release job can fail on unsigned executables before uploading them. It doesn't check which identity signed the files. Partly checks STEAM-16.

Tutorials and further reading

  • 5 Steamworks.NET, Facepunch.Steamworks and GodotSteam: community bindings for C# and Unity, and for Godot, which have no built-in Steamworks integration. Valve lists them in the Steamworks API overview's engine support table.
  • 5 The 5 Golden Rules of Input (Zach Burke, Game Developer, 2015): matching icons and cursor to the input device, letting every device work at any time, and pausing when a gamepad disconnects, which Valve recommends for games that don't use the Steam Input API.