0
I've been trying to set up a co-op emulator experience with some friends (emu-coop and bizhawk-co-op are two different ones that both exhibit the same symptoms). On my old computer, the download and run worked just fine. However, I built a new computer and moved from Windows 7 to Windows 10 (not sure if this is relevant).
Now, when I try to run the scripts that use Lua, I get exceptions saying it can't find my modules:
NLua.Exceptions.LuaScriptException: [string "main"]:35: module 'bizhawk-co-op\sync' not found:
no field package.preload['bizhawk-co-op\sync']
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop'
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop\modes'
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop\pl'
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop\socket'
no file '.\bizhawk-co-op\sync.dll'
no file 'C:\Users\Kevin\Desktop\BizHawk-2.3\bizhawk-co-op\sync.dll'
no file 'C:\Users\Kevin\Desktop\BizHawk-2.3\loadall.dll'
The sync.lua
files seem to exist, but it seems to specifically be looking for a DLL file instead. I've exhausted internet searches and can't seem to find any similar issues.
Worth noting I'm having the same issue with a standalone Lua installation that I just built:
C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1>lua coop\coop.lua
lua: coop\coop.lua:1: module 'pl.class' not found:
no field package.preload['pl.class']
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop'
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop\modes'
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop\pl'
no file 'C:\Users\Kevin\Desktop\Randomizer Stuff\Snes 9x COOP\coop-full-1key14-1\coop\socket'
no file 'C:\Users\Kevin\Desktop\lua-5.3.5.tar\lua\bin\pl\class.dll'
no file 'C:\Users\Kevin\Desktop\lua-5.3.5.tar\lua\bin\..\lib\lua\5.3\pl\class.dll'
no file 'C:\Users\Kevin\Desktop\lua-5.3.5.tar\lua\bin\loadall.dll'
no file '.\pl\class.dll'
no file 'C:\Users\Kevin\Desktop\lua-5.3.5.tar\lua\bin\pl.dll'
no file 'C:\Users\Kevin\Desktop\lua-5.3.5.tar\lua\bin\..\lib\lua\5.3\pl.dll'
no file 'C:\Users\Kevin\Desktop\lua-5.3.5.tar\lua\bin\loadall.dll'
no file '.\pl.dll'
stack traceback:
[C]: in function 'require'
coop\coop.lua:1: in main chunk
[C]: in ?
Did you install the software or simply transfer the folder to the new machine? – Ramhound – 2018-12-02T02:53:01.543
I originally transferred, but there isn't a direct installer for it anyway. I also re-downloaded it fresh from the website and that didn't work either. I also (as you maybe can tell) added a lot of places to the lua path and path variables hoping it might pick it up, but it didn't. – DivineWolfwood – 2018-12-02T05:10:32.813