Post subject: Bsnes now has save states
Joined: 2/13/2006
Posts: 39
Location: Finland
Yes, it's true, byuu added save state support to bsnes recently. There are no releases yet, but byuu has written about it on his page (http://www.byuu.org). For those who don't know or don't care to read the site: bsnes is currently the most compatible and accurate Snes emulator. It also has really good cross-platform support. With save states it should be possible to tas with bsnes. I'm really excited about this right now, but I know it'll take a long time before we see the first tas made with bsnes. The save states don't currently support for example SA-1 or SFX games, bsnes is also completely missing recording support. I bet byuu himself won't implement these features. Therefore I started this topic to increase publicity and to catch the attention of eager coders lurking here. By the way I really don't care for the save states other than for tasing. Without save states bsnes didn't allow me to cheat in games. Perhaps in the future I need to strip out save state code to prevent this :)
Joined: 4/25/2004
Posts: 498
:O wtf I thought he said savestate support would be impossible at one point... *checks out the site* oh awesome. :D I can see some very good things potentially coming from this. :)
Joined: 10/21/2008
Posts: 16
..
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
byuusan wrote:
I used a very minor trick. Wait until the CPU is at a good stopping point. All the other threads can step by an opcode or less, so to prevent them from desyncing the CPU again, I temporarily suspend processor synchronization.
If I understand it correctly, it also means that advancing the game frame-by-frame wouldn't be as easy to implement as in other emulators. Or it'll be "sync point" based instead of "frame" based.
Joined: 10/21/2008
Posts: 16
..
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
bsnes v0.048 released! :) http://byuu.org/
Joined: 10/21/2008
Posts: 16
..
Joined: 6/27/2007
Posts: 137
Location: Germany
creaothceann wrote:
bsnes v0.048 released! :) http://byuu.org/
Nice my Antivirus prog. is reacting... =D
Emulator Coder
Joined: 3/9/2004
Posts: 4588
Location: In his lab studying psychology to find new ways to torture TASers and forumers
Then get a better AntiVirus program :P
Warning: Opinions expressed by Nach or others in this post do not necessarily reflect the views, opinions, or position of Nach himself on the matter(s) being discussed therein.
IST
Joined: 8/26/2008
Posts: 103
byuusan wrote:
And now ... we wait.
Metalocalypse for the win.
Active player (437)
Joined: 4/21/2004
Posts: 3517
Location: Stockholm, Sweden
Posting to emphasize how much I look forward if/when one day, we can tas snes games using this highly accurate emulator :) I definitely think everyone should abandon snes9x once this emulator is fully ready for TAS purposes. I mean no disrespect to the snes9x team but with all the little things you have enable/disable, minor problems here and there, I think its perfectly natural to go with an emulator that is far more stable.
Nitrogenesis wrote:
Guys I come from the DidyKnogRacist communite, and you are all wrong, tihs is the run of the mileniun and everyone who says otherwise dosnt know any bater! I found this run vary ease to masturbate too!!!! Don't fuck with me, I know this game so that mean I'm always right!StupedfackincommunityTASVideoz!!!!!!
Arc wrote:
I enjoyed this movie in which hands firmly gripping a shaft lead to balls deep in multiple holes.
natt wrote:
I don't want to get involved in this discussion, but as a point of fact C# is literally the first goddamn thing on that fucking page you linked did you even fucking read it
Cooljay wrote:
Mayor Haggar and Cody are such nice people for the community. Metro City's hospitals reached an all time new record of incoming patients due to their great efforts :P
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
I hope people won't abandon Snes9x for bsnes, because I won't be able to directly watch input files anymore. I hardly get 25 fps running Super Mario World on bsnes. :P By the way, I just saw byuu writing this on his forums:
So far, I get about 1,600 downloads a release, so probably about a 2-5% market share. Which is way more than I ever anticipated :)
If you would like to see a relatively big boost of your user base size, you have to add TAS features: my crappy version of PCSX (PCSX-RR v0.0.9) got ~3000 downloads, and that emulator is not even half as popular as Snes9x is here. :o)
You're just fucking stupid, everyone hates you, sorry to tell you the truth. no one likes you, you're someone pretentious and TASes only to be on speed game, but don't have any hope, you won't get there.
Joined: 10/21/2008
Posts: 16
..
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
byuusan wrote:
25fps ... incredible. I don't mean to insult your hardware, but even my $99-complete-system Intel Atom nettop gets more than 40fps >_< Compiling software must be a nightmare on that thing.
It is in the case of FBA. PCSX compiles in a few seconds. :P I have exactly the same system as creaothceann, except I have 256 MB of RAM instead of 512. Unfortunately, I don't currently have money to buy another computer; I was only able to buy this one because I received a scholarship some years ago.
byuusan wrote:
I'm not really too sure how to go about it and what features you guys want. If anyone wants to work with me, I'd be happy to lend a hand and get it up and running. Otherwise, expect slow goings, but I'll probably start on basic movie recording+playback support first, and we can go from there.
You can see these articles to get an idea: Emulator Resources / Requirements and Desired features of a rerecording emulator. We're not so strict with the requirements anymore, though. I'd gladly help you with this, but, besides having a shitty computer, I also don't know much about C++ (don't let my "Coder" title fool you, I only got into programming a year ago as an accident). If you only need feedback, you can get a lot of it on these forums; people are TASing all the time. :o)
byuusan wrote:
I can pretty much guarantee my core has no randomness issues, so it should work really well.
That alone will probably make most people here to start using your emulator right away. :P
You're just fucking stupid, everyone hates you, sorry to tell you the truth. no one likes you, you're someone pretentious and TASes only to be on speed game, but don't have any hope, you won't get there.
Joined: 10/21/2008
Posts: 16
..
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
byuusan wrote:
That's probably the biggest hurdle. I am very, very big on release early, release often. And indeed I have no desire to maintain backward-compatibility at the expense of progress.
I don't think that requirement is valid anymore. Most TASes these days are made with version SVNr217 of an emulator, for example. We even have an arcade emulator now, which breaks most backward-compatibility with each new version (and they get released very often too :P).
byuusan wrote:
Well, my license is what it is. You can do whatever you want with it, just don't distribute your modifications without checking with me.
That requirement was written long ago by the site creator, who in his last days as an admin was open to accept pSX too (which is closed-source).
byuusan wrote:
If it runs on Windows, it should use the Windows API that allows codec selection [1]. It should also not have a 2 GB file size limit.
Reaaaally not interested in that.
We have three or four accepted emulators that don't even have AVI recording in Windows, so you shouldn't worry about that. :P
byuusan wrote:
Well, I'm sure fortune will smile upon thee one day, right? :D
I hope so. :D
You're just fucking stupid, everyone hates you, sorry to tell you the truth. no one likes you, you're someone pretentious and TASes only to be on speed game, but don't have any hope, you won't get there.
Senior Moderator
Joined: 8/4/2005
Posts: 5777
Location: Away
byuusan wrote:
That's probably the biggest hurdle. I am very, very big on release early, release often. And indeed I have no desire to maintain backward-compatibility at the expense of progress. I'm at v048, and I think since bsnes started, there's only been one new release of ZSNES, and two of Snes9X.
It will probably make sense to make a feature-freeze branch at one point (say, after that cycle-PPU thingie gets finished), and only update it once per year or so. On one hand, it will let you update the main branch as often as you see fit, on the other, it will reduce the version conflicts to acceptable minimum.
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
Joined: 10/21/2008
Posts: 16
..
Player (36)
Joined: 9/11/2004
Posts: 2630
Emulation speed isn't really a concern for this group though. :) (BTW, I <3 your emulator)
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Player (206)
Joined: 5/29/2004
Posts: 5712
Hey, high speed can be helpful sometimes. You can use it to zoom through a long movie when you don't have savestates for it, or to get through unskippable cutscenes, or for when you want a bot to play through a short sequence repeatedly, or just to see what happens when you run a game's timer way up.
put yourself in my rocketpack if that poochie is one outrageous dude
Player (36)
Joined: 9/11/2004
Posts: 2630
Bag of Magic Food wrote:
Hey, high speed can be helpful sometimes. You can use it to zoom through a long movie when you don't have savestates for it, or to get through unskippable cutscenes, or for when you want a bot to play through a short sequence repeatedly, or just to see what happens when you run a game's timer way up.
I stand corrected, Byuu, your emulator sucks. :O
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Experienced player (623)
Joined: 11/30/2008
Posts: 650
Location: a little city in the middle of nowhere
CONGRATULATIONS! you're an asshole. Anyway, I have no problem running bsnes, and I'm glad it now has save states. It only took about a month for dolphin to get movie recording. I don't know about bsnes' schedule, but I'm exited about the near future.
Measure once. Cut twice.
Player (36)
Joined: 9/11/2004
Posts: 2630
andymac wrote:
CONGRATULATIONS! you're an asshole.
L2sarcasm
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Player (206)
Joined: 5/29/2004
Posts: 5712
You can never say that someone missed your sarcasm, because they'll just say you missed theirs!
put yourself in my rocketpack if that poochie is one outrageous dude
Player (36)
Joined: 9/11/2004
Posts: 2630
Bag of Magic Food wrote:
You can never say that someone missed your sarcasm, because they'll just say you missed theirs!
I stand corrected, andymac, your sarcasm sucks.
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.