Post subject: Help with scripts in BizHawk and some other things.
Fox_Dreemurr
He/Him
Joined: 2/21/2016
Posts: 4
First, I'm sorry if the things I'll say here have been already been answered. I'm using BizHawk, I want to try to do a Aria of Sorrow TAS. I wanted to use rhebus general drop script. It's link is off. Also, I don't even know how to put a script to work. So, I'd like to ask if someone can explain to me where to get a script, how to put it to work, and how to use it.
Samsara
She/They
Senior Judge, Site Admin, Expert player (2122)
Joined: 11/13/2006
Posts: 2793
Location: Northern California
That script is for VBA anyway. This post has a version of the script updated for use in BizHawk. I also recommend reading the rest of that thread for more information on TASing Aria of Sorrow and posting there with further questions and updates. Also, welcome to the site!
TASvideos Admin and acting Senior Judge 💙 | Cohost
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
Fox_Dreemurr
He/Him
Joined: 2/21/2016
Posts: 4
Samsara wrote:
That script is for VBA anyway. This post has a version of the script updated for use in BizHawk. I also recommend reading the rest of that thread for more information on TASing Aria of Sorrow and posting there with further questions and updates. Also, welcome to the site!
Thank you! One more question though, I just need to put it on Lua Console?
Samsara
She/They
Senior Judge, Site Admin, Expert player (2122)
Joined: 11/13/2006
Posts: 2793
Location: Northern California
Yep, just open up the script via the Lua Console and activate it and you should be good to go.
TASvideos Admin and acting Senior Judge 💙 | Cohost
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
Fox_Dreemurr
He/Him
Joined: 2/21/2016
Posts: 4
Samsara wrote:
Yep, just open up the script via the Lua Console and activate it and you should be good to go.
Nope, I opened up the script, activated it. When I loaded the rom, it deactivated itself and the rom was super slow. Then, I restarted the rom and it went back the normal, but when I tried to activate the script it deactivates itself again.
Samsara
She/They
Senior Judge, Site Admin, Expert player (2122)
Joined: 11/13/2006
Posts: 2793
Location: Northern California
If the script deactivates itself, the Lua Console should display a message related to what went wrong. Could you post what it says? EDIT: Also make sure you're only activating the script with the ROM loaded first, since trying to load it without a ROM will always return an error.
TASvideos Admin and acting Senior Judge 💙 | Cohost
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
Fox_Dreemurr
He/Him
Joined: 2/21/2016
Posts: 4
When it deactivates it self it doesn't add nothing, but when I load it, it shows this:
Error: NullHawk does not implement memory domains
Unable to find domain: ROM
Error: NullHawk does not implement memory domains
LuaInterface.LuaException: unprotected error in call to Lua API (0)
   em LuaInterface.Lua.PanicCallback(IntPtr luaState)
   em lua_error(lua_State* )
   em LuaInterface.ObjectTranslator.throwError(IntPtr luaState, Object e)
   em LuaInterface.Lua.SetPendingException(Exception e)
   em LuaInterface.LuaMethodWrapper.SetPendingException(Exception e)
   em LuaInterface.LuaMethodWrapper.call(IntPtr luaState)
   em LuaInterface.MetaFunctions.runFunctionDelegate(IntPtr luaState)
   em lua_resume(lua_State* , Int32 )
   em BizHawk.Client.EmuHawk.EmuLuaLibrary.ResumeScript(Lua script)
   em BizHawk.Client.EmuHawk.LuaConsole.<>c__DisplayClass3c.<ResumeScripts>b__35()
   em BizHawk.Client.Common.EnvironmentSandbox.Sandbox(Action callback)
   em BizHawk.Client.Common.LuaSandbox.Sandbox(Action callback, Action exceptionCallback)
Editor, Skilled player (1404)
Joined: 3/31/2010
Posts: 2086
Open the ROM first, then load the script.