Author Topic: Recording input at slower cpu speed has problem when play back  (Read 3201 times)

Offline norman0093

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
Hello everyone,

I'm using FinalBurn Neo v1.0.0.02.

I want to record some games at 50% of cpu speed to make a kind of TAS.

Everything's fine during the recording, but when I replay it at normal cpu speed, the inputs are always out of sync (it's ok when I play back at same cpu speed).

Did I miss some settings or it's just what it is?

Any advice or help will be appreciated.

Thank you.

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 1090
  • Karma: +59/-1
  • Helper
Re: Recording input at slower cpu speed has problem when play back
« Reply #1 on: June 17, 2022, 06:59:11 AM »
it's just what it is?

Indeed, it can't be in sync if you are running different number of cycles when replaying.
« Last Edit: June 17, 2022, 07:00:17 AM by barbudreadmon »

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #2 on: June 17, 2022, 08:51:10 AM »
The cpu % option is more for games that use mysterious wait-states that haven't been figured out yet, for example:
cv1000, and maybe a few cps-1/2 games.  It doesn't work on a lot of games, such as those that sync w/interrupts or sync to vdp.

I have an idea for a tas feature where input recordings would actually work, and it would work with -every- game:
An option to slow down the framerate, and some macro keys to select between like 25/50/75/100%

I've been thinking about how to impl. this for several years now.  Might have to do some experiments soon!

best regards,
- dink

Offline Neildark

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +1/-0
Re: Recording input at slower cpu speed has problem when play back
« Reply #3 on: June 18, 2022, 03:00:35 AM »
Well, it would be great, there are many fans of FBNeo who do TAS and upload our games to YouTube, and any new option is always welcome ;) In this aspect, it is one of the most intuitive emulators. A greeting, and as always thanks for your work  :biggrin: :biggrin:

PS: Hopefully one day you can solve the synchronization problems that the Neo Geo Cd system had when replaying Recording input...  :wink:

Offline norman0093

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Recording input at slower cpu speed has problem when play back
« Reply #4 on: June 18, 2022, 04:57:22 AM »
Thank you very much for the responses.

Now I know the reason clearly, and hope FBNeo will have that feature soon.


Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #5 on: June 18, 2022, 09:13:48 AM »
Well, it would be great, there are many fans of FBNeo who do TAS and upload our games to YouTube, and any new option is always welcome ;) In this aspect, it is one of the most intuitive emulators. A greeting, and as always thanks for your work  :biggrin: :biggrin:

PS: Hopefully one day you can solve the synchronization problems that the Neo Geo Cd system had when replaying Recording input...  :wink:

NeilDark,
NGCD recordings have been fixed for a while now (July 18, 2020), at least in my tests of playing Double Dragon, rbff2, Pulstar, Cyber Lip and Alpha Mission II to end without a problem.

Unfortunately a recent timing change broke all of my recordings, Well, at least I can say input recordings worked up until that timing change a month or 2 ago.  If you have a reproducable input recording desync let me know and I'll give it a try on my side, then try to fix it.

best regards,
- dink

Offline Neildark

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +1/-0
Re: Recording input at slower cpu speed has problem when play back
« Reply #6 on: June 18, 2022, 02:42:05 PM »
?I did not know it!  :confused: We were talking about this problem privately precisely in 2019, doing some tests and you told me that later you would try to solve it; great. I've done a check with Art of fighting 2 and Real Bout Fatal Fury 2, and yes, indeed the recording now plays without problems, ?thank you very much!  :biggrin:

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #7 on: June 19, 2022, 01:25:19 AM »
NeilDark now I remember :)   I think it was some problem when switching to and from fullscreen while recording inputs would sometimes cause a desync on your system at the time, but I could never reproduce it here.

best regards,
- dink

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #8 on: June 19, 2022, 01:35:27 AM »
Introducing: SlowMo T.A.  PREVIEW!

Slow down time like in the Matrix: weave around bullets in a bullet-hell game.  Then play back the recording at full speed - yay!!

Select from "Game -> SlowMo", from normal, 75%, 50%, 25% and 16%

Tomorrow I'll add the hotkeys :)

best regards,
- dink

Offline Neildark

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +1/-0
Re: Recording input at slower cpu speed has problem when play back
« Reply #9 on: June 19, 2022, 01:49:47 AM »
Wow! what speed! :cool: Thank you very much, as soon as I can I will try the new function and give some feedback, you are a genius! :biggrin:

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #10 on: June 19, 2022, 08:12:56 PM »
NeilDark, You're welcome :) 

best regards,
- dink

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #11 on: June 19, 2022, 08:23:18 PM »
norman0093,
Grab the latest update here to try the new SlowMo feature:
https://github.com/finalburnneo/FBNeo/releases/tag/latest

The exe's released here are updated whenever we make changes to the code.  If you don't see anything there, wait about 5 minutes and check again (it's building a new set of exe's from code that was submitted)

best regards,
- dink

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #12 on: June 20, 2022, 01:28:13 AM »
The macros are now in for the SlowMo feature :)

Offline Neildark

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +1/-0
Re: Recording input at slower cpu speed has problem when play back
« Reply #13 on: June 28, 2022, 07:53:13 AM »
Hello again! I have already tried the SlowMo feature, in several games, an hour playing '1943' and 'Varth - Operation Thunderstorm', and everything is correct, no errors and the Macros are great. Congratulations.

I hope that later, you will consider also implementing the rewind option, as it exists in Snes9x and other emulators, it is the only thing that is missing to make this emulator perfect for people who like to do TAS. Regards and thanks for everything! ;)

Offline dink

  • Administrator
  • *****
  • Posts: 5010
  • Karma: +449/-1
  • pie? I nearly bought one!
Re: Recording input at slower cpu speed has problem when play back
« Reply #14 on: July 27, 2022, 12:13:42 AM »
Hi NeilDark,
Glad the SlowMo feature worked well and without exploding, thanks for testing it.

It's been a while, and I finally almost got the rewind code working!  Stay tuned... :)

best regards,
- dink