Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

B936.6 Can't Find lua52.dll

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Air / Naval Operations >> Tech Support >> B936.6 Can't Find lua52.dll Page: [1]
Login
Message << Older Topic   Newer Topic >>
B936.6 Can't Find lua52.dll - 4/25/2017 12:25:00 AM   
DavidRob0


Posts: 279
Joined: 4/5/2008
Status: offline
At start up from the splash screen, Command reports "Failed to Load lua! Error: Unable to load DLL 'lua52'. Not Found; (Exception from HRESULT: 0X8007007E).

The file is in the root directory for Command (C:/Matrix Games/Command..../....

Is this a WIN7 problem? I've checked the spelling in the error dialog and the in Explorer's reporting of the contents of the directory and they match just fine.

WinZip has no trouble identifying the file.

_____________________________

Only the Dead have seen an end to war

David Rob
Post #: 1
RE: B936.6 Can't Find lua52.dll - 4/25/2017 1:10:34 AM   
Stilletto

 

Posts: 112
Joined: 1/8/2003
From: Texas
Status: offline
If I remember correctly you are missing the install of one of the needed prerequisites.

This thread has details: http://www.matrixgames.com/forums/tm.asp?m=3762756&mpage=1&key=lua52%EF%BF%BD

You can also look in your Command folder. In that folder is a Prerequisites folder. Run all the stuff in there and that should fix the problem.



_____________________________

When in danger, when in doubt, run in circles, scream and shout.

"Ms. Betty has sharp thorns, but underneath is a delicate flower." -ltfightr

(in reply to DavidRob0)
Post #: 2
RE: B936.6 Can't Find lua52.dll - 4/25/2017 3:14:16 AM   
DavidRob0


Posts: 279
Joined: 4/5/2008
Status: offline
Thanks for that Stilletto, but I've just been there, done all that, but missed the T-Shirt stall and still have the same error after re-booting.

I'll do a total shutdown and then a clean boot and see if that helps.


_____________________________

Only the Dead have seen an end to war

David Rob

(in reply to Stilletto)
Post #: 3
RE: B936.6 Can't Find lua52.dll - 4/25/2017 3:59:29 AM   
DavidRob0


Posts: 279
Joined: 4/5/2008
Status: offline
A cold restart didn't help.

BTW, the dotNetFx exe files ran, but did not update as there was already a same or later version installed.


_____________________________

Only the Dead have seen an end to war

David Rob

(in reply to DavidRob0)
Post #: 4
RE: B936.6 Can't Find lua52.dll - 4/25/2017 4:20:11 AM   
Stilletto

 

Posts: 112
Joined: 1/8/2003
From: Texas
Status: offline

quote:

ORIGINAL: DavidRob

A cold restart didn't help.

BTW, the dotNetFx exe files ran, but did not update as there was already a same or later version installed.


quote:

Failed to Load lua


Hmm. Running this one fixed it for me: A newer version of VC++ must be installed before starting up. To do this, run vc_redist.x86.exe from the "\PreRequisites" folder. Otherwise you may receive Lua-related errors/crashes on startup.

Maybe you should have purchased the T-Shirt. I hear shirts that say "I went to a Lua-oww! and all I got was this lousy t-shirt" are really in style.

_____________________________

When in danger, when in doubt, run in circles, scream and shout.

"Ms. Betty has sharp thorns, but underneath is a delicate flower." -ltfightr

(in reply to DavidRob0)
Post #: 5
RE: B936.6 Can't Find lua52.dll - 4/25/2017 8:39:27 AM   
michaelm75au


Posts: 12282
Joined: 5/5/2001
From: Sydney, Australia
Status: offline
Check that you have 'VS C++ 2015 Redist (x86)' version installed. It needs this one even if you have the (x64) installed.

_____________________________

Michael

(in reply to Stilletto)
Post #: 6
RE: B936.6 Can't Find lua52.dll - 4/25/2017 9:34:03 AM   
DavidRob0


Posts: 279
Joined: 4/5/2008
Status: offline
Thanks to both of you gentlemen, but it ain't working.

I've run both the X64 and X86 redist install routines from the Prerequisites directory, and downloaded the installers from M/S and run them both.

There have been no new software installs done since I last ran the game (about 2 weeks ago now), and no uninstalls either.

Have not yet used lua in the game (unless it is included in one of the distributed scenarios - haven't checked for that).

I might try re-installing the B936 update and see if anything different happens. It did seem to run OK the first time though.



_____________________________

Only the Dead have seen an end to war

David Rob

(in reply to michaelm75au)
Post #: 7
RE: B936.6 Can't Find lua52.dll - 4/25/2017 10:31:58 AM   
michaelm75au


Posts: 12282
Joined: 5/5/2001
From: Sydney, Australia
Status: offline
Did you reinstall from 1.10, then apply 1.11 (which had the updated Lua 5.2 libraries), and then 1.12?

_____________________________

Michael

(in reply to DavidRob0)
Post #: 8
RE: B936.6 Can't Find lua52.dll - 4/25/2017 10:39:10 PM   
DavidRob0


Posts: 279
Joined: 4/5/2008
Status: offline
That was my next step Michael. I went straight to 936.6.

Do I need to go right back to 1.10? I've been running 1.11 for as long as it has been current.

In any case, once I get back to 1.12, I'll start with B936.1.


_____________________________

Only the Dead have seen an end to war

David Rob

(in reply to michaelm75au)
Post #: 9
RE: B936.6 Can't Find lua52.dll - 4/26/2017 10:43:57 AM   
michaelm75au


Posts: 12282
Joined: 5/5/2001
From: Sydney, Australia
Status: offline
if you were running 1.11.sr7, then it should have been installed.

_____________________________

Michael

(in reply to DavidRob0)
Post #: 10
RE: B936.6 Can't Find lua52.dll - 4/27/2017 1:42:16 AM   
DavidRob0


Posts: 279
Joined: 4/5/2008
Status: offline
quote:

if you were running 1.11.sr7, then it should have been installed.


That's the latest version I was running. And in any case I downloaded and installed the latest versions of the runtime extensions when the problem first showed up.

When Windows tells me that the program is not responding, clicking OK sends it searching for "a solution to the problem" - which of course it never finds, and doesn't show a dialog with an "analysis" of the situation.

The dll has clearly been linked to the main routine otherwise other people would not be running the program as they are.

I'm not sure where to go from here, will have to drop into trial and error mode.



_____________________________

Only the Dead have seen an end to war

David Rob

(in reply to michaelm75au)
Post #: 11
RE: B936.6 Can't Find lua52.dll - 5/12/2017 7:53:25 PM   
chrisp

 

Posts: 74
Joined: 5/31/2002
From: Wichita, KS
Status: offline
Don't know if anybody is still listening to this thread, nut I'm having the same problem.

I've bought a new desktop and am installing my old software on it. I bought Command from Matrix and Northern Inferno from Steam. Works fine on my old (Win 10) machine -- games are completely integrated.

Now Command works, but Northern Inferno generates the Lua error. Downloaded it at least twice. This strikes me as being really weird. Any ideas?

Chris P.

(in reply to DavidRob0)
Post #: 12
RE: B936.6 Can't Find lua52.dll - 5/13/2017 1:42:13 AM   
michaelm75au


Posts: 12282
Joined: 5/5/2001
From: Sydney, Australia
Status: offline
Check the thread http://www.matrixgames.com/forums/fb.asp?m=3762880
It needs the VS2015 x86 installed.

_____________________________

Michael

(in reply to chrisp)
Post #: 13
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Air / Naval Operations >> Tech Support >> B936.6 Can't Find lua52.dll Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.133