Jump to content

Recommended Posts

Posted

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?

Posted

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.

  • Thanks 1
Posted

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.

Posted

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.

 

Posted

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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...

  • Like 1
Posted

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?

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...