Posts for bpm46

bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
I've been trying the bot in a few areas of the TV Colosso game where I suspected there were improvements and it just saved 10 frames in a level which is nice. After going through and removing unnecessary inputs, I see it found some kind of tech where making 2 frame-perfect jump inputs alters the way your Y-speed changes and your jump is a few pixels shorter. It looks indistinguishable from a normal jump and I probably would have never noticed it. Should save a few frames throughout the run.
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
tom_mai78101 wrote:
Hello, I believed I fixed the bug you have reported. https://github.com/tommai78101/Bizhawk-GeneticAlgorithmBot/releases/tag/1.0.2 Can you check and test this out for me?
Seems to be working now, thanks!
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
tom_mai78101 wrote:
Oh like that? Is this reproducible using Basic Bot? My bot is based on Basic Bot, so if the bug appears in Basic Bot, there's nothing I can do about it. Also, what game and core are you using to reproduce this issue?
Just tried it with Basic Bot and it works fine. Side note, I have the inputs displayed on BizHawk and it IS reading the inputs, but the game screen is static. The game is "As Aventuras de TV Colosso" with SMSHawk.
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
tom_mai78101 wrote:
While the bot is running, were you touching the settings and flags?
I did not touch any settings. Once setting up the bot with audio/visuals on and entering Recording Mode, I press Run and it works normally. If I then press Stop and Start again, the bot continues running but the screen is frozen.
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
tom_mai78101 wrote:
Wait, how were you pausing the bot? I don't have a "Pause" button in the bot itself. You mean "Stop", right? Since you have TAStudio opened, make sure TAStudio has "Recording Mode" enabled. The bot needs "Recording Mode" to function.
Sorry yes, I meant "Stop". It is in Recording Mode when this happens.
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
tom_mai78101 wrote:
1. When you say "pause it and play it again", are you referring to the bot being paused while the emulator is running, or the emulator paused while the bot is running?
The bot was paused and the emulator was running.
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
Noticed a few bugs: 1: After starting the bot with audio & video enabled, if you pause it and play it again, the screen seems to be frozen though the bot still works. Closing and reopening EmuHawk lets you playback the movie. 2: While the bot was running with audio & video enabled, I minimized everything on the desktop and it crashed with this error: Fatal Error: Direct3D9Exception EmuHawk has thrown a fatal exception and is about to close. A movie has been detected. Would you like to try to save? (Note: Depending on what caused this error, this may or may not succeed)
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
Hey, I saw this today and tried it out. I had some silly issues on my end at first (I tried using the latest build in BizHawk 2.8, oof), but on the current build in 2.9 it seems to be working great. Here are 2 cases where I tested it in a 2D platformer I'm TASing: 1: At the end of one level where you just hold right to get to the end, you can jump at the right moment to save 1 frame. I ran it here and it didn't take very long to find at all, maybe a few hundred attempts at most. 2: A more complex maneuver where you jump on an enemy and move left a bit to land on a platform and collect an item. It finally managed to pick up the item after around 1050 attempts, then became more and more consistent. It kind of flubbed what you're supposed to do afterward, but it didn't know that, so that's fine. So yeah, very cool tool! I assume the longer you let it sit, the better?
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
Seems to be working now, thank you!
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
CasualPokePlayer wrote:
I'm assuming you disabled state compression, which case you need to increase the state buffer sizes as the defaults are too small. They can be increased in Meta -> Savestate History Settings
Just to be sure, is the first setting you mention the "use compressed states" toggle in the Dolphin Wii settings? Also should I set the buffers to anything in particular or just some large numbers (I should have space)? Sorry, I'm new.
bpm46
He/Him
Experienced Forum User
Joined: 3/16/2023
Posts: 11
Hi, I was messing with Wario Land: Shake It! and got this crash:
System.IO.IOException: A single state must not be larger than the buffer at BizHawk.Client.Common.ZwinderBuffer.<>c__DisplayClass32_0.<Capture>b__0() at BizHawk.Client.Common.ZwinderBuffer.SaveStateStream.Write(ReadOnlySpan`1 buffer) at BizHawk.Client.Common.ZwinderBuffer.SaveStateStream.Write(Byte[] buffer, Int32 offset, Int32 count) at BizHawk.Emulation.Cores.Nintendo.Dolphin.Dolphin.SaveStateBinary(BinaryWriter writer) at BizHawk.Client.Common.ZwinderBuffer.Capture(Int32 frame, Action`1 callback, Action`1 indexInvalidated, Boolean force) at BizHawk.Client.Common.ZwinderStateManager.CaptureGap(Int32 frame, IStatable source) at BizHawk.Client.Common.TasMovie.GreenzoneCurrentFrame() at BizHawk.Client.Common.MovieSession.HandleFrameAfter() at BizHawk.Client.EmuHawk.MainForm.StepRunLoop_Core(Boolean force) at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop() at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)
If it helps, it happened while I was using TAStudio and making inputs during a section where the game doesn't take them.