0.6.0 won't run without Steam running (even if dlls are deleted)

OS: WINE
version 0.6.0

I’ve been archiving versions of the game as they are released.

Version 0.5.11 runs fine if I delete Steam related files

Version 0.6.0 exits with this message in the terminal

Running Siralim3.exe directly gives these messages in 0.6.0

steamfile:Z:\home\alex\games\Siralim_3_0.6.0/steam_appid.txt
Steam being initialised with appId 841770
Steam_Init
Steam - SteamAPI_RestartAppIfNecessary
0009:fixme:ver:GetCurrentPackageId (0x32ea78 (nil)): stub
Steam - Steamworks_InitCEGLibrary
Steam - SteamAPI_InitSafe
SteamAPI_InitSafe() failed
Steam_Init
SteamInit failed: Steam must be running to play this game (SteamAPI_InitSafe() failed)
Steam restarting via client
Attempting to set gamepadcount to 0

minFPS, maxFPS, avgFPS
2147483647, -2147483648, 30


minFPS, maxFPS, avgFPS
2147483647, -2147483648, 30

0009:fixme:ver:GetCurrentPackageId (0x32fe24 (nil)): stub
[

Deleting the dll and stea_appid.txt gives this message

steamfile:Z:\home\alex\games\Siralim_3_0.6.0/steam_appid.txt
Steam being initialised with appId 841770
Steam_Init
ERROR: Failed to load steam_api.dll error 126
Failed LoadSteamLib() call: Error loading steam_api.dll
SteamInit failed: Error loading steam_api.dll
Steam restarting via client
Attempting to set gamepadcount to 0

minFPS, maxFPS, avgFPS
2147483647, -2147483648, 30


minFPS, maxFPS, avgFPS
2147483647, -2147483648, 30

0009:fixme:ver:GetCurrentPackageId (0x32fe24 (nil)): stub

Here’s the message from 0.5.11
the game launches fine

steamfile:Z:\home\alex\games\Siralim_3_0.5.11/steam_appid.txt
Steam_Init
ERROR: Failed to load steam_api.dll error 126
Failed LoadSteamLib() call: Error loading steam_api.dll
SteamInit failed: Error loading steam_api.dll
Attempting to set gamepadcount to 12

On Windows 10, if the Steam client is running (because I killed it)
then launching Siralim3.exe from cmd will result in no output.

If the steam client is running, then the game launches fine.

It seems that this started after I updated GameMaker (which, unfortunately, I was forced to do). I’ve submitted a support ticket with them to see if this a bug or an intentional change. It might be required by Steam as part of a new update to their API as well.

Thanks for the status update.

I figured it was related to the new GameMaker version (2.1.4 perhaps from their licence check bug, it sounds like)

Or, if its 1.4 this sounds more likely. GM2 and GM1 may have some parts of the code shared?

1.4.1804 had this in their release notes

Misc In-Game
    Fixed issues with Steam-enabled games not forcibly relaunching the Steam copy of the game if you manually run the exe you have built

Fixed issues with Steam-enabled games not insisting on the Steam client being running at the time

Any update on this?

I’ve been using 0.5 version since I do a lot of playing off Steam. I’ll update to check out new features/bug fixes (and to test if it works off-Steam), then roll myself back to 0.5 again.

No, No new posts from this thread yet.
https://forum.yoyogames.com/index.php?threads/running-game-without-steam.48790/

Maybe Zack could compile a version that doesn’t use Steam Works?
https://docs.yoyogames.com/source/dadiospice/000_using%20gamemaker/009_distributing%20your%20game.html

[quote=“bluequakeralex, post:7, topic:4497”]No, No new posts from this thread yet.

Maybe Zack could compile a version that doesn’t use Steam Workshop?
https://docs.yoyogames.com/source/dadiospice/000_using%20gamemaker/009_distributing%20your%20game.html[/quote]
Thanks for the thread link!
Oddly, I don’t have to delete the .dll files for the game to work outside of Steam. Maybe that’s just me?

I can simply run the .exe and it fires up without Steam even running. Of course, that’s v 0.5.x.

The new versions are no dice.

I don’t know why GMS doesn’t offer the option to optionally use Steam.

It was specifically listed as a fix that the Steam client must be running.

Sure, I’ll use Steam as an update mechanism, but only for that.

But, when I can’t play the games I purchased due to.

A. I’m offline and I didn’t know an update had been queued
B. Steam prompts for login credentials after not playing for months (can’t play any games until I put them in)
C. Steam is down

Or, in the future, Steam no longer exists. Now none of your games work that required Steam. Can’t show them off 20+ years from now.

For me i never need to delete any dll or files in the game folder to run S3 without running the steam client. For S1 and S2 its a posted Feature in the game description that they are without DRM and i was thinking its the same for S3 because all Versions from 0.1 - 0.5.x runs without a active steam client. And many other people are thinking the same… we know its not Zacks fail but there are questions to need a answer!

Now i have two question to Zack:

  1. Do you have any reply from Gamemaker why this is changed now and can you change it?
  2. If you cannot change this, would you build a drm and steam free build (like a .zip archive export) in the furture or not?

Thanks for understanding and your furture reply :wink:

0.8.6 got worse (no response from YoYo games yet either)

Now it looks like we have CEG (Custom executable Generation)
Possibly tying the game to a Steam account now.
https://www.theinquirer.net/inquirer/news/1051534/a-closer-look-valve-ceg

From game output under WINE

Steam being initialised with appId 841770
Steam_Init
Steam - SteamAPI_RestartAppIfNecessary
Steam - Steamworks_InitCEGLibrary <–
Steam - SteamAPI_InitSafe
Setting breakpad minidump AppID = 841770
Steam_SetMinidumpSteamID: Caching Steam ID: 7**************** [API loaded no]
Steam - SteamApps()->BIsSubscribed()
Steam - SteamClient()->SetWarningMessageHook()
Steam - Steamworks_SelfCheck()
Steam - Steam_UserStats_Init()
Steam - Steam_RemoteStorage_Init()
Steam - Steam_Screenshots_Init()
Steam - Steam_Friends_Init()
Steam - Steam_UGC_Init()

Although, Steam’s API indicates that it should be possible to run the game without the steam client if steam_appid.txt is present when launching the exe directly. The game currently still says the Steam client needs to be running. It tries to restart the client anyway.

SteamInit failed: Steam must be running to play this game (SteamAPI_InitSafe() failed) Steam restarting via client
One exception is if a steam_appid.txt file is present then this will return false regardless. This allows you to develop and test without launching your game through the Steam client. Make sure to remove the steam_appid.txt file when uploading the game to your Steam depot!

NOTE: If you use the Steam DRM wrapper on your primary executable file, this check is unnecessary as the DRM wrapper will perform this internally.

https://partner.steamgames.com/doc/api/steam_api#SteamAPI_RestartAppIfNecessary

I am still waiting for Zack’s answer :wink:

I am waiting for news about this issue since 7 days…

Can you (Zack) fix it in the furture or will you build a completely non steam package?

Sorry, there’s no news to report yet.

I’m not sure if there will be a non-Steam version of Siralim 3 for Windows/Mac/Linux. I don’t want to use itch.io for this game, so it depends on if GOG accepts the game.

Thank you for your reply Zack.

Any news yet if the new gamemaker runtime allows the game to run without steam running?