Editor, Experienced Forum User, Expert player (2207)
Joined: 5/15/2007
Posts: 3831
Location: Germany
I tried using Basic Bot in Bizhawk 2.8. Playing a GBA game. When the game runs in unthrottled mode but I use frame-advance, it will update the screen only every few frames when frame advancing. When poking a value to an address in hex editor, Basic Bot doesn't seem to recognize the value in its condition as changed.
MarbleousDave
He/Him
Experienced Forum User, Player (11)
Joined: 9/12/2009
Posts: 1540
Location: Wichita, Kansas
************** Exception Text ************** System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action`1 body) at BizHawk.Client.EmuHawk.PlayMovie.ScanFiles() at BizHawk.Client.EmuHawk.PlayMovie.MatchHashCheckBox_CheckedChanged(Object sender, EventArgs e) at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e) at System.Windows.Forms.CheckBox.set_CheckState(CheckState value) at System.Windows.Forms.CheckBox.set_Checked(Boolean value) at BizHawk.Client.EmuHawk.PlayMovie.PlayMovie_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ---> (Inner Exception #0) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<--- ---> (Inner Exception #1) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<--- ---> (Inner Exception #2) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<--- ---> (Inner Exception #3) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<--- ---> (Inner Exception #4) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<--- ---> (Inner Exception #5) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<--- ---> (Inner Exception #6) System.InvalidOperationException: VirtualAlloc() returned NULL at BizHawk.BizInvoke.MemoryBlockWindowsPal..ctor(UInt64 size) at BizHawk.BizInvoke.MemoryBlock..ctor(UInt64 size) at BizHawk.Client.Common.ZwinderBuffer..ctor(IRewindSettings settings) at BizHawk.Client.Common.ZwinderStateManager.UpdateBuffer(ZwinderBuffer buffer, RewindConfig newConfig, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager.UpdateSettings(ZwinderStateManagerSettings settings, Boolean keepOldStates) at BizHawk.Client.Common.ZwinderStateManager..ctor(ZwinderStateManagerSettings settings, Func`2 reserveCallback) at BizHawk.Client.Common.TasMovie..ctor(IMovieSession session, String path, IQuickBmpFile quickBmpFile) at BizHawk.Client.Common.MovieSession.Get(String path) at BizHawk.Client.EmuHawk.PlayMovie.PreLoadMovieFile(HawkFile hf, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.AddMovieToList(String filename, Boolean force) at BizHawk.Client.EmuHawk.PlayMovie.<>c__DisplayClass24_0.<ScanFiles>b__0(Int32 i) at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)<---
The Thunder Star icon is a creation of mine a few years ago and is associated with Marbleous Racing. Currently watching: - Jelle's Marble Runs: Marbula One Season 4 (2023) - Marble Fubeca: Countryballs League Currently playing: - Super Lesbian Animal RPG (Redoing part 1) Current game projects: - Marbleous Racing (made in Marble World) - Unnamed RPG project (RPG Maker MZ) Currently TASing: - Pokemon Stadium (Unlock Dodrio GB Tower) Soon to be Watching: - Marble Fubeca: GlassCar 2023 (TBA)
Active player, Emulator Coder, Experienced Forum User, Judge, Moderator (447)
Joined: 2/26/2020
Posts: 621
Location: California
The error indicates you ran out of memory. Not much else to that. Just close any unneeded applications and make sure are not maxing out your memory.
MarbleousDave
He/Him
Experienced Forum User, Player (11)
Joined: 9/12/2009
Posts: 1540
Location: Wichita, Kansas
Can't we just have the option to use a standard open window for play movie in case of insufficient memory and warn us of any mismatches?
The Thunder Star icon is a creation of mine a few years ago and is associated with Marbleous Racing. Currently watching: - Jelle's Marble Runs: Marbula One Season 4 (2023) - Marble Fubeca: Countryballs League Currently playing: - Super Lesbian Animal RPG (Redoing part 1) Current game projects: - Marbleous Racing (made in Marble World) - Unnamed RPG project (RPG Maker MZ) Currently TASing: - Pokemon Stadium (Unlock Dodrio GB Tower) Soon to be Watching: - Marble Fubeca: GlassCar 2023 (TBA)
Experienced Forum User
Joined: 3/27/2022
Posts: 9
Location: Netherlands
I'm experiencing audio lag - though no FPS drop - in Samurai Shodown on the Game Boy using the Gambatte or SameBoy core. The problem seems to occur mostly during screen transitions. By the way - no problems with GBHawk or SubGBHawk. The ROM I'm using is from the No-Intro ROM set. Is this a mistake on my part or is it something to do with the cores?
Active player, Emulator Coder, Experienced Forum User, Judge, Moderator (447)
Joined: 2/26/2020
Posts: 621
Location: California
Config -> Speed/Skip -> Audio Throttle
Experienced Forum User
Joined: 3/27/2022
Posts: 9
Location: Netherlands
CasualPokePlayer wrote:
Config -> Speed/Skip -> Audio Throttle
That did the trick - thanks!
Post subject: C64 Desync (loading related?)
DrD2k9
He/Him
Editor, Experienced Forum User, Judge, Skilled player (1880)
Joined: 8/21/2016
Posts: 961
Location: US
copy of github issue: https://github.com/TASEmulators/BizHawk/issues/3563
Summary I have had a number of instances where TASing using the C64 core results in desyncs after TASing a while and then clearing greenzone. Specifically, I'll load/run a game and begin TASing. Then after clearing greenzone the game will load in differently causing a desync for inputs beyond the loading process. I'm wondering if this has to do with changes in input during loading and/or savestates during loading affecting the Loading process of the games, but I don't know how to describe much beyond this. I can say that nearly every time I've had this occur, the loading time after clearing the greenzone appearss to be faster, but not always. I've only ever TASed in BizHawk using TAStudio, so I don't know if anyone donig classic frameadvance TASing would also experience this issue. In discussing with NYMX, he has also seen this issue. I probably should have reported this issue before, but wasn't sure exactly how to describe it. I'm not even sure what I have described is enough for the devs to go on. Repro I unfortunately don't have a way to definitively reproduce this bug. Soemtimes it happens, sometimes it doesn't. Output There are no error codes associated with this bug. Host env. -I've had the issue with multiple host computers from different manufacturers (MSI, Dell, HP) with both AMD and Intel processors. -I've seen this issue over multiple versions of BizHawk. I'm fairly confident I've seen as far back as version 2.0, but I can't remember exactly when I first encountered it to know if I also saw the issue in 1.x.x versions.
Experienced Forum User, Player (153)
Joined: 1/6/2023
Posts: 176
Is import movies not working? Second time this has happened and I end up just getting a blank .bk2 if you open the zip and check the InputLog. [link removed] Movie runs fine on the version it was made on. Anyways, when I try to open it I get:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at BizHawk.Client.Common.MovieConversionExtensions.ToTasMovie(IMovie old) at BizHawk.Client.Common.MovieSession.ConvertToTasProj() at BizHawk.Client.EmuHawk.TAStudio.ConvertCurrentMovieToTasproj() at BizHawk.Client.EmuHawk.TAStudio.LoadMovieFile(String filename, Boolean askToSave) at BizHawk.Client.EmuHawk.TAStudio.OpenTasMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
YoshiRulz
He/Him
Editor, Experienced Forum User
Joined: 8/30/2020
Posts: 43
Location: Sydney, Australia
OtakuTAS wrote:
Is import movies not working? Second time this has happened and I end up just getting a blank .bk2 if you open the zip and check the InputLog.
The problem seems to be that GG is missing from the logkey map: https://github.com/TASEmulators/BizHawk/blob/44322e6a7d5197b1a2d4f5a7c0b17e08cc6c18b2/src/BizHawk.Client.Common/movie/import/bkm/BkmControllerAdapter.cs#L17 edit: opened https://github.com/TASEmulators/BizHawk/issues/3596
I contribute to BizHawk as Linux/cross-platform lead, testing and automation lead, and UI designer. This year, I'm experimenting with streaming BizHawk development on Twitch. nope Links to find me elsewhere and to some of my side projects are on my personal site. I will respond on Discord faster than to PMs on this site.
Hey look buddy, I'm an engineer. That means I solve problems. Not problems like "What is software," because that would fall within the purview of your conundrums of philosophy. I solve practical problems. For instance, how am I gonna stop some high-wattage thread-ripping monster of a CPU dead in its tracks? The answer: use code. And if that don't work? Use more code.
Experienced Forum User, Player (153)
Joined: 1/6/2023
Posts: 176
Thanks!
Experienced Forum User, Player (153)
Joined: 1/6/2023
Posts: 176
Pittfall Mayan Adventure (Jaguar) softlocks on the new BizHawk. BK2 for easy menuing: https://tasvideos.org/UserFiles/Info/638165667520976233
Experienced Forum User, Player (153)
Joined: 1/6/2023
Posts: 176
Club Drive (Jaguar) crashes as well at the start of the first race. Froze the emulator so wasn't able to preserve the BK2. :-(
MrTASer
He/Him
Experienced Forum User, Player (182)
Joined: 7/3/2021
Posts: 145
Location: Udaipur, Rajasthan, India, God'sBeautifulWorld
I was loading the BK2 of my VCop2 TAS created in BizHawk 2.8 to 2.9, but it spammed showed this error. It worked fine when I opened BK2 of my NSMB DS WIP TAS.
My TASing channel ; My MUSIC channel ; My SoundCloud ; My HomePage ; Music Composer ; Mr.TASer#5922 VCop 2 TAS reworked ; And SMB - GAGOTO (WL) TAS COMPLETED TILL W-4 ; Some more...
Active player, Emulator Coder, Experienced Forum User, Judge, Moderator (447)
Joined: 2/26/2020
Posts: 621
Location: California
There is no guarentee at compatibility when loading a movie from an older BizHawk version.
MrTASer
He/Him
Experienced Forum User, Player (182)
Joined: 7/3/2021
Posts: 145
Location: Udaipur, Rajasthan, India, God'sBeautifulWorld
I am getting problems with BizHawk 2.9 in playing a Jaguar game. It just stops on frame 98 with fps dropping gradually from 60 to 9 and then crashing the EmuHawk. I didn't changed any setting for the core.
My TASing channel ; My MUSIC channel ; My SoundCloud ; My HomePage ; Music Composer ; Mr.TASer#5922 VCop 2 TAS reworked ; And SMB - GAGOTO (WL) TAS COMPLETED TILL W-4 ; Some more...