martyj Posted January 8, 2017 Share Posted January 8, 2017 I cannot get Steamworks to initialize on anybody else steam account. Do I have to have an app approved through greenlight in order for users to play my game attached to steam? Quote Link to comment Share on other sites More sharing options...
gamecreator Posted January 8, 2017 Share Posted January 8, 2017 Definitely not. At least, not when I last tried it. The stuff I posted here I tested with a random friend: http://www.leadwerks.com/werkspace/topic/9663-introduction-to-steam-code-in-leadwerks/ But that was a while back and I'm not sure if Josh changed code since then. Quote Link to comment Share on other sites More sharing options...
Josh Posted January 8, 2017 Share Posted January 8, 2017 You've got to have the steam_appid.txt file in the same folder as you game executable. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
reepblue Posted January 8, 2017 Share Posted January 8, 2017 If you change it to 480, it will call the Spacewar app which is a test app that all accounts have access too. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
gamecreator Posted January 8, 2017 Share Posted January 8, 2017 You've got to have the steam_appid.txt file in the same folder as you game executable. Ah. Leadwerks doesn't include this file by default when you Publish. Probably makes sense. Quote Link to comment Share on other sites More sharing options...
martyj Posted January 9, 2017 Author Share Posted January 9, 2017 You've got to have the steam_appid.txt file in the same folder as you game executable. Even with the file there, it won't work. I'll try having it set to 480. Right now it is set to 355500. Edit ------------- Even with the value set to 480 the game doesn't work. You can download it here if you want to give it a shot. http://dl.worldfactions.net/pre_alpha_0.2.7z Quote Link to comment Share on other sites More sharing options...
macklebee Posted January 9, 2017 Share Posted January 9, 2017 The steamworks overlay works for me with either 355500 or 480 but only if Steam is running. Though only the game's hud is visible when I use the Game Launcher number (355500) and not the game's world. If I use 480, then I see the world, the hud and the steam overlay. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
martyj Posted January 9, 2017 Author Share Posted January 9, 2017 @macklebee is that on the link I posted? Here is my friend running the app. As you can see there is a steam_appid file. The message that prints is around this code. if (!Steamworks::Initialize()) { System::Print("Error: Failed to initialize Steam."); return false; } Quote Link to comment Share on other sites More sharing options...
gamecreator Posted January 9, 2017 Share Posted January 9, 2017 I got into the game fine with the link you posted above. Quote Link to comment Share on other sites More sharing options...
macklebee Posted January 9, 2017 Share Posted January 9, 2017 @macklebee is that on the link I posted? Yes its with the link you posted. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Josh Posted January 9, 2017 Share Posted January 9, 2017 He has to have Steam already running, too. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
macklebee Posted January 9, 2017 Share Posted January 9, 2017 He has to have Steam already running, too. Looking at the video posted, it appears that he does. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Josh Posted January 9, 2017 Share Posted January 9, 2017 Nothing there looks strange. That's exactly what I do when developing, just running the EXE directly. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
macklebee Posted January 9, 2017 Share Posted January 9, 2017 I can get it to do exactly what he is showing in that video if I change the steam_appid.text file to contain anything other than 480 (or 355500). Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
martyj Posted January 9, 2017 Author Share Posted January 9, 2017 I can confirm that switching to 480 fixed it. Thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted January 9, 2017 Share Posted January 9, 2017 Does your friend have Game Launcher installed? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.