steamworks.gml
steamworks.gml copied to clipboard
The extension does not work for me anymore (More details in post)
I have been using Steamworks.gml for over a year, but after updating GMS2 to 2022.2 it suddenly stopped working. I suspected that it had to do with the changes made to Steam integration with GameMaker with this version.
However, I later reverted to 2022.1 with backup game files, and the problem still occurred:
LoadLibraryW Steamworks.gml.gml failed with error code 126
LoadLibraryW Steamworks.gml.gml failed with error code 126
LoadLibraryW Steamworks.gml.gml failed with error code 126
Initializing steamworks.gml with app_id 1354750...
Steamworks.gml binary is not loaded.
I did follow the readme instructions and recompiled the .dll file. Steam is enabled in the global settings, and as you can see it does recognize the steam app_id.
I would love some guidance regarding how to solve this issue, any suggestions will help, Thanks!
You'll need to provide a larger snippet of the output log, but overall I am currently only able to offer limited guidance due to ongoing war in Ukraine.
Thanks for the quick first answer! Here is the rest of the output log:
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483/bin/Igor.exe" -j=24 -options="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run
Loaded Macros from C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB\macros.json
Options: C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483\bin\platform_setting_defaults.json
Options: C:\Users\Elliot\AppData\Roaming/GameMakerStudio2\elliot-p.k_25737\local_settings.json
Options: C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB\targetoptions.json
Setting up the Asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=24 /gn="A-Star Theft" /td="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB" /zpuf="C:\Users\Elliot\AppData\Roaming/GameMakerStudio2\elliot-p.k_25737" /m=windows /tgt=64 /nodnd /cfg="Default" /o="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\A-Star_Theft_1EF138D4_VM" /sh=True /optionsini="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\A-Star_Theft_1EF138D4_VM\options.ini" /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483\BaseProject\BaseProject.yyp" "C:\Users\Elliot\Documents\GameMakerStudio2\a-star-theft\A-Star Theft.yyp" /preprocess="C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB"
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\Elliot\Documents\GameMakerStudio2\a-star-theft
Started: 2022-02-26 22:33:35
Finished: 2022-02-26 22:33:41
Diff: 00:00:05.2930240
Loaded Project: A-Star Theft
finished.
Release build
Options: C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB\ExtensionOptions.json
OptionsIni
Options: C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB\PlatformOptions.json
[Compile] Run asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=24 /gn="A-Star Theft" /td="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB" /zpuf="C:\Users\Elliot\AppData\Roaming/GameMakerStudio2\elliot-p.k_25737" /m=windows /tgt=64 /nodnd /cfg="Default" /o="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\A-Star_Theft_1EF138D4_VM" /sh=True /optionsini="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\A-Star_Theft_1EF138D4_VM\options.ini" /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483\BaseProject\BaseProject.yyp" "C:\Users\Elliot\Documents\GameMakerStudio2\a-star-theft\A-Star Theft.yyp" /bt=run /rt=vm /64bitgame=true
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Looking for built-in particle images in C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2022.1.1.483\bin\ParticleImages
Saving IFF file... C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\A-Star_Theft_1EF138D4_VM\A-Star Theft.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... FEDS
Writing Chunk... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Texture Group - Lights
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Writing Audio Group Sound_Effects
Writing Audio Group Music
Stats : GMA : Elapsed=6985,6438
Stats : GMA : sp=967,au=121,bk=13,pt=177,sc=1041,sh=43,fo=1,tl=217,ob=695,ro=70,da=719,ex=3,ma=18756,fm=0xFA60B7BF7FFFFFB5
DoSteam
Options: C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB\steam_options.yy
Igor complete.
[Run] Run game
Options: C:\Users\Elliot\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\A-Star_The_B85291CF_6682DFFB\MainOptions.json
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483/windows/x64/Runner.exe -debug_steamapi -game "C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\A-Star_Theft_1EF138D4_VM\A-Star Theft.win"
Setting scheduler resolution to 1
steamfile:C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2022.1.1.483\windows\x64/steam_appid.txt
Steam_Init
Steam - SteamAPI_RestartAppIfNecessary
Steam - Steamworks_InitCEGLibrary
Steam - SteamAPI_InitSafe
Setting breakpad minidump AppID = 1354750
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198066173062 [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()
Logged in steam user id 105907334
Found 0 subscribed items
g_bSteamInitialised being set to trueSteam_Init
LoadSteamLib and _steamInit both ok
Attempting to set gamepadcount to 12
DirectX11: Using hardware device
Collision Event time(microsecs)=143
LoadLibraryW Steamworks.gml.gml failed with error code 126
LoadLibraryW Steamworks.gml.gml failed with error code 126
LoadLibraryW Steamworks.gml.gml failed with error code 126
CreateColPairs took 0.000000s 47 usecs for 696 object types obj_col_numb=0 physobjcount=1 resizes 0 final size 221
Initializing steamworks.gml with app_id 1354750...
Steamworks.gml binary is not loaded.
Audio group 2 -> Loading...
Audio group 1 -> Loading...
Total memory used = 312676531(0x12a310b3) bytes 298.19MB
**********************************.
Entering main loop.
**********************************.
Audio group 1 -> Loaded
Audio group 2 -> Loaded
Received stats and achievements from Steam
Resizing swap chain...
Resizing window...Pause event has been registered for this frame
Pause event has been unregistered
###game_end###0
Attempting to set gamepadcount to 0
Steam_Shutdown1
Steam_Shutdown2
Steam_Shutdown3
Steam_Shutdown4
Steam_Shutdown5
Steam_Shutdown6
Steam_Shutdown7
Steam_Shutdown8
Steam_Shutdown9
Script_Free called with 1041 and global 484
Unsetting previous scheduler resolution of 1
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483/windows/x64/Runner.exe DONE (0)
Igor complete.
elapsed time 00:00:21.5955722s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.1.1.483/bin/Igor.exe" -j=24 -options="C:\Users\Elliot\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 02/26/2022 22:33:35
SUCCESS: Run Program Complete
I have managed to solve the issue by (properly, this time) downgrade to version 2022.1. I believe the issue came from GameMaker 2022.2 using a new method for Steamworks integration that the extension may not be compatible with. I hope this will be fixed eventually, but I understand that you must take your time considering your ongoing situation.