Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Steamworks.gml example

Sample project for Steam-based networking for GameMaker. · By YellowAfterlife

Sandboxie Runner won't connect to alternate Steam account

A topic by Ethereums created Jan 04, 2021 Views: 165 Replies: 3
Viewing posts 1 to 2

I installed Sandboxie on my PC

I ran Steam regularly and logged into my main account

I ran Steam in Sandboxie and logged into my alternate (second) account

I then ran the example from GMS2 regularly (works, can create lobbies/press shift+tab, etc)

I then copied the parameter string to my clipboard:

W://windows/Runner.exe -debug_steamapi -game X:/SteamworksGmlExample_24BF7CD3_VM\

I ran that command in my Steam Sandboxie, it spawned another game runner

However, this game runner is refusing to connect to my alternate Steam account. I can't press shift+tab to view Steam, can't create lobbies or refresh lobbies. But I can clearly see the runner and Steam are both running in the same Sandbox environment:

Any ideas on why the sandbox game isn't connecting to my second steam client?


Someone asked this before and I couldn’t reproduce

The good news are that the issue is not specific to this extension (or maybe even GameMaker) and has something to do with Steam in Sandboxie in general.

(8 edits)

So basically I've got a separate Steam installation on another folder on my Desktop, that's the one I launch with Sandboxie.

I made a shortcut to that, and ensured it runs as administrator and placed "-initbootstrap" in the target.

I then ran the shortcut:

And then after I logged into Steam (second account), I ran the second version of the game like so:

I'm also clicking "Run as UAC Administrator" for everything I'm running in Sandboxie.

Unfortunately even after all that, it's still not working. Second game client does not want to connect to Steam.

Are we sure at this point that it's not the runner/GameMaker doing something that's not allowing it to connect to Steam? Maybe it has something to do with the Steam App ID? I couldn't find out where to type it in in GMS2:

Are my game options fine?

Also my Steam SDK version:

And my GMS2 IDE/Runtime versions:


That seems normal, aside of using SDK 1.35a instead of the recommended 1.42