nymx
He/Him
Editor, Judge, Expert player (2234)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Because I'm needing a lot more speed with my BOTing needs, I'm turning now towards using ApiHawk. The object model makes perfect sense; however, I need some information that is not given. I've searched for documentation, but not finding anything. If there is documentation on the basics of how to implement, I would appreciate any direction to that location. If not, here are some items that I'm having trouble with: I am assuming that I will control all the functions from within my own environment via calls to this DLL (or in this case a .NET binary), which references the BizHawk.Client.ApiHawk.dll. So basically, I programatically open the emulator, create my own savestates, apply inputs, etc..., via the methods provided. One problem I am having is that the "Static" methods are not allowing for me to make direct calls to the library. At one point, I got the methods to expose themselves in my code, but when I went to compile for a test I get errors about them being statically called only. Of course, with static designed methods...I can't instantiate them. It probably comes down to needing help with understanding environment this was designed for, since I see some functions without their counterpart. For examples. CloseEmulatr() exists, but not OpenEmulator(). If someone can point me in the right direction, hopefully i can start learning this environment and be independent. Thanks.
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
nymx
He/Him
Editor, Judge, Expert player (2234)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Nobody with any experience using the ApiHawk binary? I'll settle for any documentation. Just need to know some basics of this DLL. Mainly its environmental implementation and intrinsic items that may not be apparent.
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
nymx
He/Him
Editor, Judge, Expert player (2234)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Thank you feos.
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX