FYI: I created a new repo which integrates the Facepunch.Steamworks library. This library allows to code in native C#!
Feel free to check it out:
FYI: I created a new repo which integrates the Facepunch.Steamworks library. This library allows to code in native C#!
Feel free to check it out:
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.
Thank you for your answer. In the meantime I contacted the Steam support and turns out it was an issue on their end where the default package wasnāt created after the game creation. They solved it quickly.
Hi, Iām following your guide and Iām getting issues with loading steam_api64 - the DLLImport canāt see it at all, even though itās there. Itās in the same place as the steam_api.dll in the example projects.
Iāve put the WINDOWS build constant in as well, but it doesāt seem to affect anything.
I previously had an issue with the Steamworks.NET dll not being loaded correctly, but I managed to fix that by deleting and recreating the reference.
Iām using 64bit windows with JetBrains rider, and my game so far is just the desktopgl template with your additions from the guide.
Thanks in advance
EDIT: Managed to fix it with some help
Jetbrains rider doesnāt have the copy if newer thing, so the DLLs should be put in projectname/bin/debug/net6.0/