integration_code
Generate Steamworks SDK code for Unity, Godot, Unreal, or C++ from steamworks.yaml, covering init, achievements, stats, leaderboards, and Cloud without editing game files.
Instructions
Steamworks SDK code for the game's engine that uses exactly the app id and the achievement, stat and leaderboard names in steamworks.yaml: starting Steam (restart through Steam, checked init, callbacks, shutdown), unlocking achievements and setting stats (StoreStats included), uploading leaderboard scores, and where to save files for Steam Cloud. Written to .steam-mcp/exports/code//, never into the game.
Args:
path: The game's folder (with steamworks.yaml).
features: Which parts (default all): init, achievements, stats, leaderboards, cloud.
target: unity-steamworks-net, unity-facepunch, godot (GodotSteam 4), unreal or cpp. Default: from the
engine and the Steam wrapper the code already uses.
source_dir: The engine project folder, when it is not path itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| target | No | ||
| features | No | ||
| source_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||