Post subject: MAME-RR Emulator Development
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
MAME Rerecording ---------------------------------------- This is still an early experiment. The MAME savestate system is a huge mess for our needs, so expect lots and lots of desyncs at the moment. You can find an explanation of this issue in this post by DeHackEd: http://tasvideos.org/forum/viewtopic.php?p=158248#158248. Otherwise, this version already has the nice Gens RAM Search/Watch, a very complete Lua scripting, some other little things and, of course, pretty much every arcade game ever made. Latest test version: ----------- -Binary: mame-rr-0139-test2.7z -Source: get it at Github. If you want write access, send me a PM or something. !!!IMPORTANT!!! ----------- Please, read the instructions in the "readme.txt" file before using it.
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
Why did you decide moving from FBA to MAME? Aside from larger game list, it's a lot less messy from what I gather. Also, this MAME branch has reduced input delay on a number of drivers, which should help TASing. Please consider implementing the diff!
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
moozooh wrote:
Why did you decide moving from FBA to MAME? Aside from larger game list, it's a lot less messy from what I gather.
This is what I said in an email: "I was actually fixing the crashes in FBA-RR with some ugly hacks, but then I thought I should better spend time in another better emulator." But now I think that FBA is a lot better for TASing. Still, the source of MAME is the cleanest piece of code I've ever seen, but it's really huge, and they're in the middle of moving from C to C++.
moozooh wrote:
Also, this MAME branch has reduced input delay on a number of drivers, which should help TASing.
That looks very interesting. I will take a look at it, thanks.
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.
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
In case anyone wonders, it's also possible to compile MESS with all these features, without any modification to the source code: So if we can fix the savestate system, we might also have a lot of new systems available for TASing; such as many Ataris, Commodores, ZX Spectrums, MSXs, Apples, etc. (full list)
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.
Experienced player (961)
Joined: 12/3/2008
Posts: 939
Location: Castle Keep
It says in there Amiga CD32, me want ! :D
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
All of the Amiga drivers say "imperfect" or "preliminary", so they probably don't work very well yet. :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.
Skilled player (1652)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
The rate at which you add RR tools and Lua to emulators is astounding. I'm amazed.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Skilled player (1099)
Joined: 8/26/2006
Posts: 1139
Location: United Kingdom
Oh hell yes. I was hoping for more updates to FBA, but if you can get MAME up to standard then that'd be awesome. There are several games I'd love to TAS so I greatly appreciate all the work you are doing on these emulators.
Active player (293)
Joined: 12/16/2008
Posts: 458
Location: Houston
oh wow I wasn't expecting this. Thanks mz. I guess I'll go see how imperfect the strider 2 emulation is, it's got to be better then the ps1 version
Skilled player (1327)
Joined: 9/7/2007
Posts: 1354
Location: U.S.
It feels kinda strange that you release a new version of FBA and then quickly start to work on another Arcade emulator. Other than that, Nice Work!
Joined: 1/26/2009
Posts: 558
Location: Canada - Québec
errror1 wrote:
oh wow I wasn't expecting this. Thanks mz. I guess I'll go see how imperfect the strider 2 emulation is, it's got to be better then the ps1 version
I'm not very familliar about psx emulation on mame, but can you load games that are'nt in the mame "database"? Also, uhh it seem that the mame license isn't fully GPL compatible(commercial issue, etc..), but I don't think this a big deal for now.
Active player (417)
Joined: 8/22/2008
Posts: 301
Location: Brazil
Great news, mz!
Active player (293)
Joined: 12/16/2008
Posts: 458
Location: Houston
BadPotato wrote:
I'm not very familliar about psx emulation on mame, but can you load games that are'nt in the mame "database"?
the psx version is just a port of the arcade version. The arcade it runs on is basically just a supped up ps1 ( Sony ZN-2 ). It looks like the mame version doesn't have the unavoidable hit glitch and has less slowdown ( due to the arcades much higher ram ), but it does freeze at random times, I don't what's causing it to freeze but hopefully it doesn't happen in the tas.
Player (71)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
Seeing the submission for dwangoAC's Epic Pinball "Android" I wonder if PinMAME will be available for re-recording. There are some great tables which would be pretty much awesome to see a TAS of. For example Attack from Mars from Williams/Bally. How much concern would it be to implement re-recording into PinMAME? Can anything concerning the re-recording functions be re-used from the regular MAME and be implemented into PinMAME?
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
It's been over two years. So, anyone want to tell me what's going on with this?
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Dark_Noob
He/Him
Experienced player (814)
Joined: 8/24/2011
Posts: 319
Location: Brazil
Why someone not try to put the Tools to TAS in the Mame emulator?I know that have a emulator but not emulate TAS perfect (to be exact I cannot TASing on the emulator because not have decent properties to TASing),for-me Mame is a great emulator and actually have a great and good emulators as Mame32 and MamePlus will be good if this emulator mentioned can be TASed's,It's a idea because I know that FBA is a great emulator and wheel much roms of Arcade but Mame wheel more,example as it would be amazing if had a Mortal Kombat,Marvel vs Capcom 2 or same Killer Instinct,but not only games as fighting games as adventures/puzzle also as Super Battletoads and other adventures game that I already played that no wheel in FBA,will be someone who could resume in the future or currently try to get back to the project and is only an idea or tip because sometimes gives boredom tasing ever the same games being that Mame has a greater variety of games.
Someone who still enjoy playing fighting games ;)
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11486
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
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.
Skilled player (1672)
Joined: 7/1/2013
Posts: 448
Thank you, feos! Ypa!
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11486
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
mame-rr-0.139-test3 Download: https://yadi.sk/d/nN4k-8yD32PYFY Changes so far: https://github.com/vadosnaprimer/mame-rr/commits/0.139?author=vadosnaprimer The main goal of my fork is to add the read-only switch. I hope you guys give it a go.
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.
fsvgm777
She/Her
Senior Publisher, Player (226)
Joined: 5/28/2009
Posts: 1215
Location: Luxembourg
Why is it still based on a 6-year old version of MAME? The latest version (0.180) was released a week ago.
Steam Community page - Bluesky profile Oh, I'm just a concerned observer.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11486
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Because it's just a fork aiming to add a single feature, basically a proof of concept. If it is able to run games and let people tas them, we could think of porting the diff over to newer versions. All I know is that right now, mame uses visual studio project generator and also modern C++ features, so it might be incompatible with dinosaurs like my computer, but I never tested. Still, reimplementing is harder than occasional hacking. EDIT: MAME AVI dumper creates uncompressed video, but due to not using VFW, it is seeking and playing perfectly, and the total size is still not so insane after all, since it's not what people were used to back in the days of fraps: it's still lowres 2D. I mean, I can attach a VFW dumper, or probably figure out how to dump with zlib compression internally like lsnes does, but... is it really worth the trouble? 32k frames of btoads running with no user input (just showing internal demos) give me a 10GB file. Which plays and seeks perfectly. And this seems to be the first ever finished mame-rr tas (by £e Nécroyeur): Link to video He reports the savestates and the read-only switch work perfectly.
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 (1255)
Joined: 4/17/2010
Posts: 11486
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
mame-rr 0.139 v0.1-alpha released! Downloads Changes Usage
  • You can replay/record movies by pressing the corresponding hotkeys (Control+R and Control+N by default). There are also hotkeys for stopping a movie (Control+T by default) and for playing the active movie from the beginning (Shift+R by default).
  • You can toggle movie read-only/read+write mode (Control+Q by default).
  • You can use RAM Search and RAM Watch by pressing the corresponding hotkeys (Control+F and Control+W by default).
  • You can open the Lua console by pressing the corresponding hotkeys (Control+L by default) or with the command line parameter "-lua" (example: mame.exe cninja -lua example.lua).
  • AVI (uncomressed) can be recorded from the movie using the command: mame-rr romname -pb moviename.mar -aviwrite aviname.avi. To stop recording, just close the emulator.
  • If movie recording was started while paused, the replay dialog should also be opened while paused.
  • If the state was saved while paused, it should also be loaded while paused.
What's new
  • read-only switch
  • movie header now stores framerate (as it should be parsed too for tasvideos submissions to provide proper movie time), the header changed a bit
  • movie replay dialog shows new contents (rom name, emulator version, framerate)
  • HUD shows more info relevant to tasing (recording/paused/fastforwarding, number of frames, total frames)
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.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Hey feos, I made a small movie with v0.1-alpha. Just stage 1 and 2 of daimakaimura. It synced perfectly: https://www.dropbox.com/s/ht9yq97amuqmfpp/daimakai.mar?dl=0 I think the emulator has potential, but it's a shame it's based on such an outdated build. If the code could be ported over to the latest mame version, it'd be really sweet.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11486
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
That's my plan, after this: https://github.com/TASVideos/mame-rr/issues/7#issuecomment-266497733 Also, will you finish the run?
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.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
I'm trying to, but now when I go read+write and load a state, the emulator automatically closes, making it impossible to continue the movie.