B936.6 Can't Find lua52.dll

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
User avatar
DavidRob0
Posts: 90
Joined: Sat Apr 05, 2008 3:21 am
Location: Western Australia

B936.6 Can't Find lua52.dll

Post by DavidRob0 »

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
User avatar
Stilletto
Posts: 128
Joined: Tue Jan 07, 2003 10:55 pm
Location: Texas

RE: B936.6 Can't Find lua52.dll

Post by Stilletto »

If I remember correctly you are missing the install of one of the needed prerequisites.

This thread has details: 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
User avatar
DavidRob0
Posts: 90
Joined: Sat Apr 05, 2008 3:21 am
Location: Western Australia

RE: B936.6 Can't Find lua52.dll

Post by DavidRob0 »

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
User avatar
DavidRob0
Posts: 90
Joined: Sat Apr 05, 2008 3:21 am
Location: Western Australia

RE: B936.6 Can't Find lua52.dll

Post by DavidRob0 »

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
User avatar
Stilletto
Posts: 128
Joined: Tue Jan 07, 2003 10:55 pm
Location: Texas

RE: B936.6 Can't Find lua52.dll

Post by Stilletto »

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.
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
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: B936.6 Can't Find lua52.dll

Post by michaelm75au »

Check that you have 'VS C++ 2015 Redist (x86)' version installed. It needs this one even if you have the (x64) installed.
Michael
User avatar
DavidRob0
Posts: 90
Joined: Sat Apr 05, 2008 3:21 am
Location: Western Australia

RE: B936.6 Can't Find lua52.dll

Post by DavidRob0 »

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
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: B936.6 Can't Find lua52.dll

Post by michaelm75au »

Did you reinstall from 1.10, then apply 1.11 (which had the updated Lua 5.2 libraries), and then 1.12?
Michael
User avatar
DavidRob0
Posts: 90
Joined: Sat Apr 05, 2008 3:21 am
Location: Western Australia

RE: B936.6 Can't Find lua52.dll

Post by DavidRob0 »

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
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: B936.6 Can't Find lua52.dll

Post by michaelm75au »

if you were running 1.11.sr7, then it should have been installed.
Michael
User avatar
DavidRob0
Posts: 90
Joined: Sat Apr 05, 2008 3:21 am
Location: Western Australia

RE: B936.6 Can't Find lua52.dll

Post by DavidRob0 »

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
chrisp
Posts: 74
Joined: Fri May 31, 2002 4:45 am
Location: Wichita, KS

RE: B936.6 Can't Find lua52.dll

Post by chrisp »

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.
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: B936.6 Can't Find lua52.dll

Post by michaelm75au »

Check the thread fb.asp?m=3762880
It needs the VS2015 x86 installed.
Michael
Post Reply

Return to “Tech Support”