Post subject: Re: SNES mouse on TAStudio
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
ViGadeomes wrote:
I had a little problem when I added new frames on a TAStudio file, it was like I copy-paste a frame on each new ones just with play button. Is it a mistake by my person or is it a bug ?
I don't understand what you're asking. Record a video.
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.
ViGadeomes
He/Him
Judge, Active player (310)
Joined: 10/16/2017
Posts: 461
Location: France
feos wrote:
I don't understand what you're asking. Record a video.
Sorry for my bad english : Link to video I have more informations about it, that happens when you have two SNES mouse inputs separated by frames, you remove all frames between these two frames and then the bug happens.
J
Joined: 9/8/2017
Posts: 6
Commodore 64 games tend to have a long load period (1000-6000 frames), and when I have a marker on the first non-lag frame, I need to wait for TAStudio to scan in from the beginning of the lag frame clump when I try to hop back to said marker. Example .tasproj Jumping to Level 1(+1), Level 2 or Level 3 markers should trigger the problem.
Mittenz
He/Him
Active player (415)
Joined: 6/21/2017
Posts: 41
I mentioned this on the IRC a while ago and was asked to put it here but forgot. When working with TAStudio and the current mgba core. The game(? emulator? Core? Idk) tends to enter a state where load times are shortened and the bios will not boot when going back to frame 0. I have witnessed this with many games (ty2, hi hi puffy ami Yumi, banjo pilot, and klonoa). Closing and reopening TAStudio tends to fix it. And I have yet to witness this state when running the movie without TAStudio open. Not sure if it's an issue with TAStudio, mGBA, or just some bad compatibility between the 2.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3810)
Joined: 11/30/2014
Posts: 2829
Location: US
^ issue is known and there is already a issue for it in the tracker. Most likely a savestate issue related to mapping out the BIOS in memory (there was a near identical bug in EMU7800 a whle back) but not sure when it might get fixed.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
J wrote:
Commodore 64 games tend to have a long load period (1000-6000 frames), and when I have a marker on the first non-lag frame, I need to wait for TAStudio to scan in from the beginning of the lag frame clump when I try to hop back to said marker. Example .tasproj Jumping to Level 1(+1), Level 2 or Level 3 markers should trigger the problem.
Fixed by spending several weeks on implementing an entirely new (even compared to fceux taseditor) greenzone decay algorithm. Crazy props to r57shell.
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.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Alyosha wrote:
Here is what I was doing that didn't work. Open 2 instances of BizHawk. Open 2 instances of TAStudio. paint some inputs in one instance, then copy them. On the other instance Edit -> paste will not be available. (But, right click paste is still possible, as is ctrl+v. After you paste in this way once, the edit -> paste option becomes available.) So I guess it's just a minor anomaly, I should have experimented more.
Fixed.
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.
Post subject: Re: SNES mouse on TAStudio
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
ViGadeomes wrote:
https://youtu.be/3IPIl1868Z0
Fixed.
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.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
MESHUGGAH wrote:
Rewritten my "frames won't color" stuff: 1. I check a part of my movie from frame 800, 1.0 speed 2. I see I need to delay input so I pause the game 3. I insert 2 or more frames. When you insert more than 1 frame at frame N, TAStudio will remove the new color from frame N-1 (from green to light green) and fails to recolor the next frames.
Works fine for me.
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.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
I JUST MERGED A HUGE PULL REQUEST. https://github.com/TASVideos/BizHawk/commit/6580c2abef2fac5af82ecee8d035c4f99c897dfe TO EVERYONE USING TASTUDIO: Try out the dev build and test it extensively. Report critical bugs so they don't get into the release (which will happen soon).
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.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3810)
Joined: 11/30/2014
Posts: 2829
Location: US
I don't do too much fancy stuff in TAStudio but it seems to work without issue and is quite a bit quicker then before, great work feos!
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
How can it be quicker tho? :D
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.
MESHUGGAH
Other
Skilled player (1917)
Joined: 11/14/2009
Posts: 1353
Location: 𝔐𝔞𝔤𝑦𝔞𝔯
0.0.0.2052 38a07e82 virtualboy tests 1. tastudio insert more than 1 frame recolor fail not fixed, repro steps: https://pastebin.com/8pzm8uvb 2. ctrl+shift+i state history check: Bad data between 0 and 16th frame. Now I'm unsure about the usefulness of this, but I guess it means I have changed the non-sync settings from anaglyph to side by side but how should I know which frames have these states....? If I ctrl+a, clear state history, ctrl+s, close, reopen the tasproj file, I still get bad data between 0 and 16th frame. 3. After doing step 2, I fucked up metadata - history settings (unsure about being the result of step 2):
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '64' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
   at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
   at BizHawk.Client.EmuHawk.StateHistorySettingsForm.StateHistorySettings_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)
Before step 2 I had a nice table similar to virtual boy sync settings, now I had to press continue and presented with the old history settings. (I mixed up default and normal savestate history settings) A7800 tests: 1. shift+up: when holding down it skips multiple frames (because it reacts so fast). shift+down: only works when not holding. If I hold it down, it only jumps back and forth between 2 frames 2. ctrl+left right, ctrl+shift left right: you can go out of bounds (for example behind 0th frame)
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at BizHawk.Client.Common.MovieAction..ctor(Int32 firstFrame, Int32 lastFrame, TasMovie movie)
   at BizHawk.Client.Common.TasMovie.InsertEmptyFrame(Int32 frame, Int32 count, Boolean fromHistory)
   at BizHawk.Client.EmuHawk.TAStudio.InsertFrameMenuItem_Click(Object sender, EventArgs e)
   at BizHawk.Client.EmuHawk.MainForm.CheckHotkey(String trigger)
   at BizHawk.Client.EmuHawk.MainForm.<ProcessInput>b__94_0(Boolean current, String trigger)
   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
   at BizHawk.Client.EmuHawk.MainForm.ProcessInput()
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)
PhD in TASing 🎓 speedrun enthusiast ❤🚷🔥 white hat hacker ▓ black box tester ░ censorships and rules...
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
MESHUGGAH wrote:
0.0.0.2052 38a07e82 virtualboy tests 1. tastudio insert more than 1 frame recolor fail not fixed, repro steps: https://pastebin.com/8pzm8uvb 3. After doing step 2, I fucked up metadata - history settings (unsure about being the result of step 2):
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '64' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
   at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
   at BizHawk.Client.EmuHawk.StateHistorySettingsForm.StateHistorySettings_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)
Fixed!!!
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.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
MESHUGGAH wrote:
1. shift+up: when holding down it skips multiple frames (because it reacts so fast). shift+down: only works when not holding. If I hold it down, it only jumps back and forth between 2 frames 2. ctrl+left right, ctrl+shift left right: you can go out of bounds (for example behind 0th frame)
#2 is fixed in master by TASeditor. #1 is probably not needed at all, since we already have THREE ways to advance and rewind. And this FOURTH way would require adding a whole new event to InputRoll class just to catch KeyUp. I might disable this thing altogether, or just ignore it.
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.
MESHUGGAH
Other
Skilled player (1917)
Joined: 11/14/2009
Posts: 1353
Location: 𝔐𝔞𝔤𝑦𝔞𝔯
0.0.2060 post above me by feos: 1. shift+up holding: for me this isn't needed and won't use it, I think it should be removed or disabled. I would like to use the previous method to select multiple frames which was: -select a frame with mouse left click -shift+up to increase selection upwards -shift+down to increase selection downwards 2. ctrl+left right, ctrl+shift left right: you can go out of bounds (for example behind 0th frame) -> fixed, but ctrl+up goes behind 0th frame, repro steps: 01. Select 0th frame with left mouse click 02. Press ctrl+up, you are at -1st frame now 03. Go to menu, Edit > Insert. You get this exception:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at BizHawk.Client.Common.MovieAction..ctor(Int32 firstFrame, Int32 lastFrame, TasMovie movie)
   at BizHawk.Client.Common.TasMovie.InsertEmptyFrame(Int32 frame, Int32 count, Boolean fromHistory)
   at BizHawk.Client.EmuHawk.TAStudio.InsertFrameMenuItem_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)

Doing the same but using a hotkey instead of using the menus for the 3rd step (I have decimal 0 button for "Insert", so I see "Insert D0" at my menu item) will throw the same exception but also crashes BizHawk. 2nd post above me by feos: 1. tastudio frame recolor after inserting 2 or more: FIXED! WOOHOO! :) 3. value of '64' not valid: fixed! performance test (not finished writing it down!) comparison to 2.2.1: vboy, scratch, no follow cursor, turbo: 140 fps (+8 fps) a78, waterski TAS playback / edit, no follow cursor, turbo: 83 fps (+2 fps)
PhD in TASing 🎓 speedrun enthusiast ❤🚷🔥 white hat hacker ▓ black box tester ░ censorships and rules...
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
MESHUGGAH wrote:
2. ctrl+left right, ctrl+shift left right: you can go out of bounds (for example behind 0th frame) -> fixed, but ctrl+up goes behind 0th frame, repro steps: 01. Select 0th frame with left mouse click 02. Press ctrl+up, you are at -1st frame now 03. Go to menu, Edit > Insert. You get this exception:
Fixed.
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.
MESHUGGAH
Other
Skilled player (1917)
Joined: 11/14/2009
Posts: 1353
Location: 𝔐𝔞𝔤𝑦𝔞𝔯
2063, vboy test ctrl+up oob: fixed! save state history settings: 1: tastudio freezes (you need to close it, no exception) when setting very low memory capacity like 0, 1 or 3. There should be a minimum value based on state size and other varibles. 2: the bottom status bar counting the states probably not working properly. 00 - used vboy, save state size is 1 MB 01 - new tasproject, open state history settings 02 - memory usage 10 MB, project usage 10 MB. you have a maximum of 9 states (it's ok) 03 - let it emulate. only 9 states created 04 - pause emulation and press a button on frame 300 05 - seek back to beginning, emulate. Observations: 1 - the state counter at bottom only counts when follow cursor is checked 2 - the state counter goes over the maximum around frame 450 If it doesn't works, just try pressing buttons after 160th frame and 320th frame and emulate it from beginning with follow cursor checked. Use clear savestate history to repeat from step 4.
PhD in TASing 🎓 speedrun enthusiast ❤🚷🔥 white hat hacker ▓ black box tester ░ censorships and rules...
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
This counter is only for debugging, it updates whenever input roll updates. No need to update it more, since it doesn't affect anything. Committed a few fixes, update!
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.
Editor, Skilled player (1535)
Joined: 7/9/2010
Posts: 1319
MESHUGGAH wrote:
I would like to use the previous method to select multiple frames which was: -select a frame with mouse left click -shift+up to increase selection upwards -shift+down to increase selection downwards
I rewrote that, because it only allowed extending the selection, not shrinking it.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
MESHUGGAH
Other
Skilled player (1917)
Joined: 11/14/2009
Posts: 1353
Location: 𝔐𝔞𝔤𝑦𝔞𝔯
0.0.0.2068 Everything looks OK. Only shift+down, shift+up holding remains from my posts.
PhD in TASing 🎓 speedrun enthusiast ❤🚷🔥 white hat hacker ▓ black box tester ░ censorships and rules...
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
I decided to ignore it instead of disabling for the time being. We'll see later on.
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.
MarbleousDave
He/Him
Player (13)
Joined: 9/12/2009
Posts: 1559
The "New from Current SRAM" feature still doesn't work. It needs fixed so that we don't need to go to Movie > Record new movie and select "Record from SRAM" before opening TAStudio.
RGL
Joined: 7/13/2017
Posts: 57
Version 2.2.2 Playback of a Genesis TAS movie starts to stutter heavily after like 2-3 minutes. I tried another tas file which was recorded with 2.2.1 and was already succesfully played back. Same bug with 2.2.2 I loaded both (the old and the new TAS movie) with Bizhawk 2.2.1 and they work fine there. No lag at all. I noticed that the memory usage of 2.2.2 increases a lot when this problem happens : 2.2.1 around 1.5 - 1.7 GB stable. 2.2.2 over 3 GB.. at the exact same position of the movie. I repeated both tests to be sure.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Is it during normal replay of a regular movie, or in tastudio?
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.