Open zmarotrix opened 6 years ago
I don't know really how BizHawk's Lua works, but this is definitely something to investigate. From what I see from the API, it should probably work, I should check if I can reproduce it. Until then:
No other error lines, Everything is in the same folder and settings has been renamed.
one thing I noticed for Bizhawk, is your joypad.set needs to be reversed. (joypad.set(input, null) rather than (1, input) )
How are you running it? Because I'm using Bizhawks build in Lua script feature.
Been a while I used this software, I don't quite remember, but back then I used it with FCEUX and Snes9x-rr and it was working well.
The Lua API may or may not be exactly the same in BizHawk as these emulators, plus there's compiled Lua libraries in there I'm not sure it would work too. Might want to talk with the devs at TASVideos on their IRC or forums if possible.
So I get a different error if it's the 1st time running the xcript after opening the emulator.
NLua.Exceptions.LuaScriptException: error loading module 'socket.core' from file '.\socket\core.dll': dynamic libraries not enabled; check your Lua installation
Guess I need to update my Lua installation?
Bizhawk DOES natively support Lua, however, if I run it without the LuaSocket, it fails to find needed files. If I run it WITH LuaSocks, it gives me this error;
"NLua.Exceptions.LuaScriptException: [string "main"]:1: loop or previous error loading module 'irc'"
Any ideas?