FAQ  •  Login

Steam version Failed to launch

<<

_Azza

Turbocharged
Turbocharged

Posts: 14

Joined: Tue Feb 21, 2012 12:08 pm

Cars: VL Commodore!

Post Fri Mar 13, 2015 11:49 am

Re: Steam version Failed to launch

Disturbed2k14 wrote:if it helps at all i'm getting the exact same issue

Well its kind of good to know I'm not the only one haha :/

Has the game engine changed much between the steam and non steam version? Because I could run the latest non-steam version fine.
<<

Disturbed2k14

Naturally Aspirated

Posts: 5

Joined: Fri Sep 26, 2014 6:49 am

Cars: 2006 Mazda 3

Post Fri Mar 13, 2015 12:30 pm

Re: Steam version Failed to launch

_Azza wrote:
Disturbed2k14 wrote:if it helps at all i'm getting the exact same issue

Well its kind of good to know I'm not the only one haha :/

Has the game engine changed much between the steam and non steam version? Because I could run the latest non-steam version fine.


there must be significant changes in the latest update, i was able to run it before as well
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Fri Mar 13, 2015 3:56 pm

Re: Steam version Failed to launch

arg my poor brain. I just realised that I have had this issue, before during development, and it was a real stickler to pin down.

Scratching my brain to try and remember what on earth it was.
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

_Azza

Turbocharged
Turbocharged

Posts: 14

Joined: Tue Feb 21, 2012 12:08 pm

Cars: VL Commodore!

Post Fri Mar 13, 2015 5:33 pm

Re: Steam version Failed to launch

Keep thinking Zeussy! I'm counting on ya :)

I ran a RAM test that win7 has built in and it came back with no errors after restarting..
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Fri Mar 13, 2015 7:19 pm

Re: Steam version Failed to launch

So I talked this problem over on #lua but lost the logs. Talk to a friend and found the logs the final chat line was:

<caswal> I don't have time to figure this out, I'll revert all my changes that caused it.


Thanks past self. Working on a way to help debug this on the first small bug fix update.
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Fri Mar 13, 2015 7:29 pm

Re: Steam version Failed to launch

I do have a crazy theory, which is a foreign lua51.dll is being run instead of ours.

The crazy issue that I never managed to solve was the table length operator # in lua just broke and did not work.

If you delete the lua51.dll from the Automation folder, does it still Play?
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

_Azza

Turbocharged
Turbocharged

Posts: 14

Joined: Tue Feb 21, 2012 12:08 pm

Cars: VL Commodore!

Post Sat Mar 14, 2015 7:46 am

Re: Steam version Failed to launch

zeussy wrote:I do have a crazy theory, which is a foreign lua51.dll is being run instead of ours.

The crazy issue that I never managed to solve was the table length operator # in lua just broke and did not work.

If you delete the lua51.dll from the Automation folder, does it still Play?


Okay so I moved lua51.dll out of my automation folder, started the game I get the window open to select Options and Play game, click play game and it tells me it failed due to missing lua51.dll file.

Still not working after the latest patch. (I didn't assume it was for my benefit but thought id let you know)

Cheers for your help thus far, I hope we can nut it out soon.
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Sat Mar 14, 2015 9:18 am

Re: Steam version Failed to launch

Alright, let's try and work this problem. 2 things to try:

Thing 1

Take this file:

scripts.zip
(1.48 KiB) Downloaded 317 times


And place the scripts folder in the zip into your automation folder. Make sure to not do the accidental extracting of having a folder called scripts made, with then the scripts folder in that. If that makes sense?

If correct it should be like this when you go into the scripts folder, and it's various sub folders:

ScriptsTest.PNG
ScriptsTest.PNG (119.49 KiB) Viewed 3946 times


If you start the game (Just double click on Automation_Shipping_Steam.exe)

It should say:

Automation Console wrote:Init
Lua Version: "Lua 5.1"
LuaJIT 2.0.3


If that all works, we can then start more complex scripts and see if the problem is what I think it is.

Thing 2 (A possible work around)

Download this zip:
lua51.zip
(79.87 KiB) Downloaded 307 times


Place that in the automation folder and overwrite the existing lua51.dll . You should now have 2 dll's lua51.dll and lua5.1.dll

Run automation again, you should get this:

Automation Console wrote:Init
Lua Version: "Lua 5.1"
Lua: No jit found


Now delete the scripts folder and run Automation, and see if the crash persists.

I hope that all makes sense?
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

_Azza

Turbocharged
Turbocharged

Posts: 14

Joined: Tue Feb 21, 2012 12:08 pm

Cars: VL Commodore!

Post Sat Mar 14, 2015 11:40 am

Re: Steam version Failed to launch

Shit man, It worked after following all of your steps.

This mean that I will have to repeat this process after every new patch update?

Cheers for your help, much appreciated.
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Sat Mar 14, 2015 11:48 am

Re: Steam version Failed to launch

So it worked after applying that lua51.zip? And all of the console steps matched? Display the same text as I quoted?

Could I get a dxdiag from you? http://wiki.automationgame.com/index.ph ... ation_File

The cavaet with this, is you are now using normal lua, not luajit. Which can result in significant slower performance. The real question is why luajit is not working for you.

For future updates you only need to apply the last zip file, and replace our lua51.dll. You may not need to do this until Steam detects a change in the updates lua51.dll file compared to the previous update. I could be wrong, still learning quite how that updater works, but that is what it feels like.
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Sat Mar 14, 2015 11:51 am

Re: Steam version Failed to launch

Also if I can get a dxdiag from disturbed as well that would be appreciated.
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

_Azza

Turbocharged
Turbocharged

Posts: 14

Joined: Tue Feb 21, 2012 12:08 pm

Cars: VL Commodore!

Post Sat Mar 14, 2015 3:36 pm

Re: Steam version Failed to launch

Yeah, I followed your steps, written perfectly and I did get the correct messages pop up in the cmd window.

Here is my DxDiag.txt
Attachments
DxDiag.txt
(46.9 KiB) Downloaded 208 times
<<

RedRiot

User avatar

Naturally Aspirated

Posts: 127

Joined: Thu Jan 27, 2011 12:18 am

Location: Budapest, HUNGARY

Cars: 1991 Mercedes-Benz 200E

Post Sat Mar 14, 2015 8:05 pm

Re: Steam version Failed to launch

I've got a different problem with the Steam version: the game starts and runs fine, but at every start it tries to re-install DirectX and .NET FX 3.5. I use Win XP, maybe that's the reason of the errors - maybe that's why it's not possible to install the latest DirectX version and my .NET FX install seems to be messed up a little bit. I downloaded and run the .NET FX repair tool from Microsoft - no success, still hasn't managed to apply the 3.5 update.

Anyway, after the failed DX and .NET FX installs Automation runs fine! :) My only pain is that I have to wait at every game starts those two long install attempts. Is there any way to remove the DirectX and .NET FX check/install procedure from the start-script of the game? Thank you in advance!
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Sun Mar 15, 2015 4:52 pm

Re: Steam version Failed to launch

RedRiot wrote:I've got a different problem with the Steam version: the game starts and runs fine, but at every start it tries to re-install DirectX and .NET FX 3.5. I use Win XP, maybe that's the reason of the errors - maybe that's why it's not possible to install the latest DirectX version and my .NET FX install seems to be messed up a little bit. I downloaded and run the .NET FX repair tool from Microsoft - no success, still hasn't managed to apply the 3.5 update.

Anyway, after the failed DX and .NET FX installs Automation runs fine! :) My only pain is that I have to wait at every game starts those two long install attempts. Is there any way to remove the DirectX and .NET FX check/install procedure from the start-script of the game? Thank you in advance!


This is a Steam Bug, Go into the Steam\SteamApps Folder, find the file: appmanifest_293760.acf

Open it with notepad. and Delete the Text between the { } below "InstallScripts".
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Sun Mar 15, 2015 4:52 pm

Re: Steam version Failed to launch

_Azza,

The next update may have a proper fix for your issue.
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
PreviousNext

Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests