Slimwaffle Posted September 11, 2018 Share Posted September 11, 2018 I uploaded my build to steam after using the publish as standalone in leadwerks. For some reason I can only play the game on the pc I built it on. All other computers it runs the task for the game then immediately shuts down. Is anyone able to help me? Quote Link to comment Share on other sites More sharing options...
gamecreator Posted September 11, 2018 Share Posted September 11, 2018 Make sure OpenAL is installed on the other computers. If it isn't, the program will immediately crash on startup. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 11, 2018 Share Posted September 11, 2018 Does steam have its own installer where you can include additional dependencies? Or can we use our own to install OpenAL? Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 11, 2018 Author Share Posted September 11, 2018 I already had Open AL and all the visual c++ redistributes installed. It still crashes on launch. You can actually use steamworks to make it install common redistributables when installing your game. 1 Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 11, 2018 Share Posted September 11, 2018 Is your game downloadable from Steam? I can give it a go if you like. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 11, 2018 Author Share Posted September 11, 2018 Nah not yet. I have to resolve this before I set it as live. I am happy to give you a copy though once its fixed. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted September 11, 2018 Share Posted September 11, 2018 For C, you can enable a console which prints out useful information, like when things load (and fail to load). Does Lua have an equivalent? The only other thing I was thinking of earlier was that your project might not include the steam_appid.txt with the proper app ID. But I don't know if that would crash your game if you're not using the Steam SDK. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 11, 2018 Author Share Posted September 11, 2018 So I updated the build to install redistributables wasn't sure which ones so I selected all. On a friends PC he can get into the main menu and everything works. As soon as he selects new game which loads the map it crashes. For my two computers. One I built the game on runs fine downloaded through steam. Pc number 2 (intel gpu) crashes before reaching the splashscreen. I'm not sure how to add console prints. But it has steamworks initialised. And comes packaged with a steam_api.dll. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 12, 2018 Share Posted September 12, 2018 Is there a chance there are files not being packaged with the game? Are you publishing with the "only include used files" option? Could try publishing without that checked and see if that works any different. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 12, 2018 Author Share Posted September 12, 2018 Even publishing without the "only include option" doesn't help Quote Link to comment Share on other sites More sharing options...
gamecreator Posted September 12, 2018 Share Posted September 12, 2018 You could give your friend and your other computer the project folders (Materials, Models, Maps, Fonts, Shaders, Scripts, etc.) then remove them one by one to isolate the problem (assuming it works with all of them there). And of course make sure the EXE folder contains everything it should. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 12, 2018 Share Posted September 12, 2018 Also are you including the right vs_redistributable.exe? Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 12, 2018 Author Share Posted September 12, 2018 Well I must be using the right redistributable. I made steam install all the common ones. And the game actually opens for him. The problem is the game crashing when the call to load map is made. My game creates an empty map only containing the player and then add the rest after the map is loaded. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 12, 2018 Author Share Posted September 12, 2018 If you guys want I will private message you guys Steam Beta keys allowing access to latest build even if its not yet approved by steam. You should be able to test it straight away. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted September 12, 2018 Share Posted September 12, 2018 I'll try it for you if you'd like. 1 Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 12, 2018 Share Posted September 12, 2018 I can try it too if you like. 1 Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 12, 2018 Author Share Posted September 12, 2018 Sorry it took so long to get back to you guys. I fixed some bugs and put up a more stable lightweight build to steam. As soon as the keys are approved I will private message you guys with the keys. And thanks for helping me out. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 12, 2018 Share Posted September 12, 2018 No worries. I'll be on for a few hours yet so send when ready. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 12, 2018 Share Posted September 12, 2018 I've tested it on my main PC that I use Leadwerks on and no issues. I'll try my other PC tomorrow too. On the your PC that its not running on, you can run the EXE via a BAT with this code. It'll print out the log to log.txt so if its crashing on map load it may show up something. Waffles.exe > log.txt I also noticed steam was installing PhysX? it was only on for a second so maybe it didn't... does Leadwerks need that? I didn't think it did but I might be wrong... 1 Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 12, 2018 Author Share Posted September 12, 2018 OMG your an absolute legend mate. Yeah I selected all possible redistributables just to cover my basis. Now I know it works I will adjust it to just theones it needs when I figure out which ones they are. Again thanks heaps mate. Out of curiosity what size GPU cpu and how much ram did you use? Is the framerate ok? Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted September 12, 2018 Share Posted September 12, 2018 Not a problem mate Hope it helps. To get my game working on my other PC I had to install only openAL and vc_redist.x86.exe 2017 Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted September 12, 2018 Author Share Posted September 12, 2018 So it worked? You sir are a legend. That puts my mind at rest. I was literally having a mental breakdown. Thank you so much. Quote 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.