Hi,
I'd like to have a batch that:
1) runs BizHawk
2) load a specific rom
3) load a savestate of that rom
Maybe the 2nd step is not required as many emulators allow to just load a savestate without having to load a rom first.
It seems like BizHawk is able to do that according to the BizHawk / Command Lines page:
Loadstate:
--load-slot=[num]
Loads the specified quicksave slot number (0-9). Overrides the configuration "AutoLoad Last Save Slot"
--load-state=[path]
Loads the specified savestate file. Overrides the configuration "AutoLoad Last Save Slot"
But for the life of me I can't seem to have it functioning. It's probably just a syntax issue.
Here is my BATCH:
"cd "c:\Downloads\PCE\BizHawk"
EmuHawk --load-state=c:\Downloads\PCE\BizHawk\PCEngine\State\Akumajou Dracula X - Chi no Rondo (J).QuickSave1"
It runs BizHawk but in a "wait" state (i.e no ROM nor any state loaded)
I try different syntaxes and brackets use and the like, but I get this error code which gives me the feeling that it's probably just a syntaxe issue:
"System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
at BizHawk.Common.HawkFile.Open(String path)
at BizHawk.Client.Common.RomLoader.LoadRom(String path, CoreComm nextComm, Boolean forceAccurateCore, Int32 recursiveCount)
at BizHawk.Client.EmuHawk.MainForm._LoadRom(String path, LoadRomArgs args)
at BizHawk.Client.EmuHawk.MainForm.LoadRom(String path, LoadRomArgs args)
at BizHawk.Client.EmuHawk.MainForm..ctor(String[] args)
at BizHawk.Client.EmuHawk.Program.Win32MainLoopCrashHandler.TryCatchFinally(String[] args)"
Yours,
--Jay