Post subject: Bizhawk LUA: savestate.load crash
Arie2002
He/Him
Joined: 1/4/2015
Posts: 7
Whenever I try to load a savestate, it always crashes with this crash report:
"LuaInterface.LuaScriptException: [string "main"]:829: A .NET exception occured in user-code"
This is the code:
829: savestate.load("SMB1-1.state");
And this is the file where the script is in: I've got no clue what I'm doing wrong...
Post subject: Re: Bizhawk LUA: savestate.load crash
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
Arie2002 wrote:
Whenever I try to load a savestate, it always crashes with this crash report:
"LuaInterface.LuaScriptException: [string "main"]:829: A .NET exception occured in user-code"
This is the code:
829: savestate.load("SMB1-1.state");
I've got no clue what I'm doing wrong...
It may be due to how LUA references the path to the state. If I remember correctly, it needs to be in the root folder. Your state should be in BizHawk. Not BizHawk\neatEvolve See if that fixes it.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Post subject: Re: Bizhawk LUA: savestate.load crash
Arie2002
He/Him
Joined: 1/4/2015
Posts: 7
hegyak wrote:
Arie2002 wrote:
Whenever I try to load a savestate, it always crashes with this crash report:
"LuaInterface.LuaScriptException: [string "main"]:829: A .NET exception occured in user-code"
This is the code:
829: savestate.load("SMB1-1.state");
I've got no clue what I'm doing wrong...
It may be due to how LUA references the path to the state. If I remember correctly, it needs to be in the root folder. Your state should be in BizHawk. Not BizHawk\neatEvolve See if that fixes it.
Somehow, making a new savestate fixed it...
Joined: 6/14/2015
Posts: 19
I had the same problem with the path. Yes the root folder thing fixes it. But so does moving to the more recent version of bizhawk (1.10)