This process is absolutly necessary for the overlay to become enabled. I bet you will have the same issue with the Facepunch.Steamworks integration, because the overlay injection is happening on steam-side and doesn’t directly has something to do with Steamworks.Net.
Please read the official support site for the steam overlay to eliminate all possible issues (like virus scanners, firewalls, other programs interfering the overlay like “RivaTuner Statistics Server”, etc.).
I did a small test: When launching the “RivaTuner Statistics Server” (for example) before I launching the steamworks integration project, then the steam overlay isn’t working anymore.
There a quite a lot of reasons why the overlay can’t be succesfully injected. That you can’t find the “gameoverlayui.exe” process in the task manager, tells that something went wrong during the injection. You should read the article I linked above.
By the way, I did check out Facepunch.Steamworks. Looks very neat, but I will nevertheless use SteamWorks.Net since the documentation seems to be better and it has more or less all functionality included.
I wanted to update to the newest Steam SDK 1.41, but I will wait for a stable Steamworks.Net release, because Riley Labrecque is currently making a bigger change (removing “CSteamworks”). So updating now to the latest version could brake things. But of course you can try the latest updates by yourself. You just need the current files from https://github.com/rlabrecque/Steamworks.NET
If you want to stay on the safe site, then just use my latest repo update, which I linked on top of this post.
SteamUGC (interacting with the Steam Workshop or the Steam Cloud)
SteamInventory (interacting with the Steam Inventory System)
SteamNetworking (creating a Steam powered peer to peer session)
… just to mention a few!
They are made for Unity3D but they are also written in C#, so it’s pretty easy to learn from and use the steam features you like to see in your MonoGame project!
PS: If you have problems to open the Steam Overlay, then you should visit the official support site for the overlay and read it completly - it’s important and useful!
I finally came to update the Steamworks.Net to the current version. Works like a charm, thanks a lot and keep up the good work!
Once the game is published (hopefully around autum), I’ll send you some more info.
I plan to further enhance it with meaningful samples for the MonoGame community, like how to create a Workshop and how to use the Steam Controller in a MonoGame project.
But i’m very busy and I can’t tell when this will happen.
Curious… Anyone got the Steam overlay working with WindowsDX? I’ve got Steamworks running fine and initialized and even reading my profile ID and avatar, but I can’t get the overlay to work. The sample is DesktopGL and I’m wondering if that’s the issue.
The overlay is working fine in the example app being run from outside steam so I don’t think that’s it. I’ve tried it with my app id as well as the standard ‘test’ id of 480. Like I said everything is working but the overlay. shrug
No, the DirectX version behaves differently / the overlay gets differently injected.
I can only open the overlay in a DirectX project, when launching the corresponding app from the Steam-Library.
Within a DesktopGL project the overlay is even working in a quick debugging session.
You can test this in a fast way by adding your application as a “Non-Steam-Game” to your library.
There is a high chance that this is working for you. If it’s not, then you need to take a closer look at the support site, which I have posted above.
Hello! I know this is a rather old topic, but I’ve been trying to use Steamworks for a couple days with your handy MonoGame integration. I managed to make the overlay work, but only when I use the SpaceWar AppID. When I use my own AppID, I get this:
[S_API FAIL] SteamAPI_Init() failed; connect to global user failed.
This means I can’t test achievements for my game. The problem probably comes from the Steamworks setup. From what I understand from steam_api.h (Steamworks Documentation), , it’s because my "App ID is not completely set up, i.e. in Release State: Unavailable".
Am I supposed to upload the game before I can use the Steamworks API to test it? This question is probably more Steamwork-related than MonoGame related, but I figured I would ask because I can’t find any other information about this online.
No, it should work without uploading your game first.
It’s also neccessary to correctly setup the achievements in your steamworks backend. Just as a general notice.
You need to run the Steam client and login with a user which owns the AppID of your game. This could probably be your first, second, third etc. account.