FBA vs. MAME
-
@andershp No. The problem with 4 way games is that the game program itself doesn't know how to handle diagonals. Let's use Donkey Kong as an example. Mario starts off running to the right. If you're pointing right-up or right-down, Mario should move right. How does the game know that? Well, the ONLY available movement is right, so that's the way it should be interpreted. What happens when we get to the ladder? The assumed horizontal movement of diagonal-up automatically becomes an "up" command. That's how it works on the home versions of Donkey Kong. However, the game was programmed that way to do that. The arcade version has no logic to do that. You'd have to literally hack the rom to add the logic to work with 8-way controllers.
BTW, there was a hack in very old version of MAME to allow Defender and Stargate work with 4/8way controller rather than use a reverse button. I think it leveraged something that WAS in the rom, but it was taken out. Pugsy's cheats don't have an option for it, so it can't be enabled that way.
-
@andershp said in FBA vs. MAME:
Can this work as a replacement for a 4-way restrictor plate in 4-way games
I will add, there is the pitfall of thinking you can create a mapping that would work, if you did it something like this:
Game Control Mapped to Up Up <not> Right or Up <not> Left Down Down <not> Right or Down <not> Left Right Right <not> Down or Right <not> Up Left Left <not> Down or Left <not> Up
I would expect this kind of mapping to exclude corner controls, but it won't prevent gameplay mishaps like you would hope. In fact, it will probably play exactly the same way in 4-way games. As @Pussyfoot said, you would be walking up to a ladder, and swipe to up through a corner, The moment you hit the corner with both switches engaged, NOTHING WORKS. Mario is stuck until you release one or the other switches in the corner to point squarely into one of the 4 cardinal directions. Only then will Mario climb the ladder. This is basically how it works already, so having the mapping exclude the combinations does not really buy you anything. The problem is that the game does not know how to interpret the corners. It needs contextual logic:
Logic that goes something like:
"If the user is pushing the joystick in a cardinal direction, then pushes into a corner, take that as an input to move in the added direction."With this logic, the game would allow you to orbit the joystick through the corners when you want to change direction. However, in order to prevent getting stuck, the game would also need this additional logic:
"If the user is pushing the joystick in a cardinal direction, then pushes into a corner, take that as a input to move in the added direction--but only if it is legally possible to move in that direction, otherwise, continue in the first cardinal direction."With this, you could use the corners to your advantage, continuing on a path until the very moment it is possible to change directions.
With most 8-way setups, it is pretty easy to accidentally hit a corner. Sometimes you can adjust your actuator to prevent that, or make it easier or harder, depending on the games you like to play. There are no good solutions EXCEPT perhaps using the Xbox driver, which I understand lets you enable logic like this, but it apparently only works with gamepad devices, not keyboard input controllers.
-
I noticed when first playing the Pi last year that TMNT on Mame2003 had graphical glitches vs. FBA. I prefer FBA because it uses later romsets of CPS games which would lead me to believe FBA is the more accurate and up-to-date arcade solution.
-
@greenhawk84 it is up-to date emulation and more accurate. As with any emulator that's more accurate, slowdowns will occur. I also use fba when I can but any game giving me slowdowns I use fba2012, then mame2003 then mame2010.
So like tmnt, sunset riders, and other konami games I get slowdowns on my oc'd pi2 at 1ghz with fba but they're full speed in fba2012.
-
I discovered how to enable the hack for 8-way controls on Defender and Stargate. I made a post in the General area.
-
@darksavior I use the Pi3 so lr-FBAlpha seems to run full speed.
-
Updates:
mame-libretro: https://pastebin.com/bdi4aBh9
mame-advmame: https://pastebin.com/8Z2Y6YNz
Final Burn Alpha (fba): https://pastebin.com/sdYQ1w4DMoved some more from FBA to MAME and AdvanceMAME depending on the performance. Popeye has glitchy text on FBA. Rampage World Tour is slow, so it got moved to MAME. The Strikers 1945 II and III games are too slow in FBA. It can be improved by overclocking the CPU in FBA, but why bother? The games are not emulated 100% in MAME 2003. I couldn't get them to run in MAME 2010. I settled for AdvanceMAME. Punchout is duplicated. Use MAME 2010 if you want to play it single screen. The default is the top screen, which makes the game unplayable. Go into the MAME video settings and choose the other screen. Use AdvanceMAME for both screens. Pole Position 1 and 2 required modifications to the inputs to work. I suspect these were also hacks built into MAME 2003 that are available when cheats are enabled, but I didn't confirm. Go to the TAB menu and choose inputs for the game. You will see settings that are highlighted in white that are mapped to a single keyboard key and nothing else. Select them and hit the delete key twice real fast. That should clear it out to the default, which will now use your gamepad.
I could not get Tron to work well. I don't have a spinner, so I wouldn't have been able to play it with just a gamepad anyway.
I was missing some real classics! Don't know how that happened.
-
"The Strikers 1945 II and III games are too slow in FBA."
You need to enable the Kaneko speed hack option in the options menu for them to run well. I might have completely butchered that option name, though.
-
All this info about specific game control settings and hacks is really valuable.
What about putting all this in a shared file?
A spreadsheet with ROM name, optimal core and settings/tips/hacks would be great. -
@udb23 I really second this. One MAME spreadsheet to rule them all.
-
Obligatory reference:
-
@pjft Hehe. But seriously, the tips in this thread should be gathered in some searchable place.
I'd love to check out how other people play my favorite MAME games (which version/emulation is the best) and if there's any other tips to make them run even better, this should be there also.
-
@pjft said in FBA vs. MAME:
"The Strikers 1945 II and III games are too slow in FBA."
You need to enable the Kaneko speed hack option in the options menu for them to run well. I might have completely butchered that option name, though.
The FBA compatibility spreadsheet suggested overclocking the CPU. I don't know about a speed hack, but the easy solution is to not use FBA since AdvanceMAME works fine as is.
-
Does anybody know if G-Stream G2020 is playable on Pi3 ? What core?
It was added to MAME with v 115. -
@pussyfoot it means overclocking game emulaed cpu not the PI cpu, i set mine to 200% its under quick menu/options when you load a neo-geo based game
-
@linuxarcadeguy said in FBA vs. MAME:
@pussyfoot it means overclocking game emulaed cpu not the PI cpu, i set mine to 200% its under quick menu/options when you load a neo-geo based game
Yes, I know. It's not a panacea. Just use MAME for those games.
-
mame2003 PRs are very welcome from my experience, so when there is a dipswitch or core setting that seems like a better default, the default can probably be changed.
-
mame-libretro: https://pastebin.com/6wAYWALb
mame-advmame: https://pastebin.com/8JLHcq8x
Final Burn Alpha (fba): https://pastebin.com/LG43KZs7This is probably the final list. I remember seeing a file that identifies the ones in mame-libretro are using mame 2010 instead of 2003, but I can't find it.
Some final words about this... This is a good start for anyone looking for a definitive rom list of working games using the best emulator for the job as of 2017/11/11. However, this is not perfect by any means. There are games on the list that don't work. I haven't tested ever single game thoroughly to know exactly which emulator is best. (For example, I hear that some games need to be tested on later levels before problems show themselves.) One of the last changes I made was to move the Arkanoid games out of FBA since MAME allows either the joystick or mouse to control. There may be additional games that only work in MAME 2010 or AdvanceMAME that I haven't included. Like I said earlier, if I ever had to do another emulation "box," I'd look into using a x86 solution where I could just use the latest MAME and be done with it and also be assured whatever other emulators used would run better than on any other platform.
-
I'm surprised there hasn't been a Mame-Pi or FBA-Pi optimized just for Pi.
-
@greenhawk84 said in FBA vs. MAME:
I'm surprised there hasn't been a Mame-Pi or FBA-Pi optimized just for Pi.
there has: mame4all-pi, and pifba. however, if you're on pi2 or pi3 you're mostly better off going for later versions.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.