RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    FBA vs. MAME

    Scheduled Pinned Locked Moved General Discussion and Gaming
    final burn alphmame2003
    349 Posts 39 Posters 226.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dudleydes @AndersHP
      last edited by dudleydes

      @andershp This is how I could go about moving roms into the arcade folder and assigning each rom to be launched with the best core. I have tested the commands (see here and here) but I haven't gone this process as a whole.

      1. Use the rpie_arcade_best_core.xlsx spreadsheet to create .txt files for each emulator, lr-mame2003.txt, lr-mame2010.txt, lr-fbalpha.txt etc. These text files should contain a list of roms with their .zip extensions.

      EDIT: I have noticed @Pussyfoot has placed his lists on pastebin which means the text files can be downloaded using wget as below:

      wget -cO - https://pastebin.com/raw/6wAYWALb > mame-libretro.txt
      wget -cO - https://pastebin.com/raw/8JLHcq8x > mame-advmame.txt
      wget -cO - https://pastebin.com/raw/LG43KZs7 > lr-fbalpha.txt
      

      Note the lists don't differentiate between emulators for a system, e.g. lr-mame2003 and lr-mame2010 or which version of advanceMAME.

      1. Decide the default emulator for the arcade folder. eg lr-mame2003. These roms will be copied last.

      First we will copy roms to the romset-specific folder, eg fba, so that we can create entries for /opt/retropie/configs/all/emulators.cfg. This is the file that stores the emulator assignments other than the default. This will make sure the roms will launch in the appropriate emulator without having to use the runcommand menu to assign an emulator for each individual rom. First, create a backup of /opt/retropie/configs/all/emulators.cfg.

      1. Place the .txt file in the same folder as the romset and then use the following command to copy the roms:
          cd /path/to/fba-romset
          xargs -a lr-fbalpha.txt cp -t /home/pi/RetroPie/roms/fba/
      
      1. Now use the following command to create entries for lr-fbalpha in /opt/retropie/configs/all/emulators.cfg:
          ls -1 RetroPie/roms/fba | sed -e 's/\.zip$//' -e 's/_//g' -e 's/^/arcade_/' -e 's/$/ = "lr-fbalpha"/' >> /opt/retropie/configs/all/emulators.cfg
      
      1. Copy the fba roms from the fba folder to the arcade folder. It's probably easiest to do this using Samba or STFP rather than the command line.

      2. Repeat for other emulators other than the default, lr-mame2003.

      3. Finally copy the lr-mame2003 roms to the arcade folder with the command:

          cd /path/to/0.78-romset
          xargs -a lr-mame2003.txt cp -t /home/pi/RetroPie/roms/arcade/
      
      1. Test roms are using the correct emulator.
      AndersHPA MortalWombatM 4 Replies Last reply Reply Quote 3
      • AndersHPA
        AndersHP @dudleydes
        last edited by

        @dudleydes Dude, you rock. This is what I'm talking about.
        Will do, way to go.

        What if I wanted to make specific launching-images for the fba roms, then?
        Say, default launch image is a MAME related, I then have to copy and rename a [fba-romname]-launching.jpg file for all the fba core games?

        My "Bubble Bobble" Themed Bartop Arcade
        My Gameboy

        D 1 Reply Last reply Reply Quote 0
        • D
          dudleydes @AndersHP
          last edited by

          @andershp I guess you could use the runcommand-onstart script as it has a preconfigured variable for the emulator, $2. I haven't played around with launching images or runcommand-onstart scripts so I'm afraid I can't be more helpful.

          1 Reply Last reply Reply Quote 0
          • AndersHPA
            AndersHP
            last edited by AndersHP

            @dudleydes said in FBA vs. MAME:

            xargs -a lr-fbalpha.txt

            Just tried this in MacOS terminal, with my roms-USB plugged in, since it took me several minutes on the pi for just 5 test files (even though it worked brilliantly like you said!).
            But apparently, xargs -a is not an option here, different language? Is this doable on Mac or should I just leave the pi overnight, copying files?

            My "Bubble Bobble" Themed Bartop Arcade
            My Gameboy

            D 1 Reply Last reply Reply Quote 0
            • D
              dudleydes @AndersHP
              last edited by

              @andershp According to the Linux man page for the xargs command, the -a flag does the following :

              -a file, --arg-file=file
              Read items from file instead of standard input.

              It appears that xargs in MacOS doesn't have this option.

              I found the xargs command on Google and it worked on my Linux PC so there may well be better ways of doing it. After another search, I have found another way of copying files from a text list using the cp command so hopefully it will work on MacOS.

              Here are the commands to copy the fba roms from the list on pastebin:

                  cd /path/to/fba-romset
                  wget -cO - https://pastebin.com/raw/LG43KZs7 > lr-fbalpha.txt
                  cp `cat lr-fbalpha.txt` /home/pi/RetroPie/roms/fba/
              
              1 Reply Last reply Reply Quote 0
              • DarksaviorD
                Darksavior
                last edited by Darksavior

                @UDb23 K, here's my short list of corrections since I hand picked my arcade games. I used stock Pi3 speeds with the crt-pi shader at 1080p. Emulators used are lr-fbalpha and lr-mame-2003. Some games with slight drops in between might run fullspeed with an OC like cadash. Most hit 40-50fps in fba so I don't think an OC will help those games. Feel free to verify my findings. These are the games that should be changed to mame:

                baddudes.zip
                cbuster.zip not on the list
                boogwingu.zip (I used boogwing.zip)
                cadashu.zip (I used cadash.zip)
                cninjau.zip (I used cninja.zip)
                darius2.zip
                deadconx.zip
                edrandy.zip
                dungeonm.zipnot on the list
                gunforc2.zip
                gunforceu.zip
                hooku.zip ( I used hook.zip)
                inthuntu.zip (I used inthunt.zip)
                macross.zip
                macross2.zip
                nbbatmanu.zip(I used nbbatman.zip)
                ninjawu.zip (I used ninjaw.zip)
                rohga.zip
                pulirula.zip
                rtypeleo.zip
                shinobi.zip has an audio bug where the player's voice cuts out in fba. shinobi2.zip , 3,4 are fine.
                uccopsu.zip ( I used uccopsar.zip same game but uncensored in english)
                wizdfireu.zip (I used wizdfire.zip)

                UDb23U 1 Reply Last reply Reply Quote 0
                • AndersHPA
                  AndersHP @dudleydes
                  last edited by AndersHP

                  @dudleydes think this line should be:

                  ls -1 /home/pi/RetroPie/roms/fba | sed -e 's/\.zip$//' -e 's/_//g' -e 's/^/arcade_/' -e 's/$/ = "lr-fbalpha"/' >> /opt/retropie/configs/all/emulators.cfg
                  

                  Seems to work, though. This is complete gibberish in my eyes! :) Will try in large scale now :)

                  My "Bubble Bobble" Themed Bartop Arcade
                  My Gameboy

                  1 Reply Last reply Reply Quote 0
                  • AndersHPA
                    AndersHP
                    last edited by AndersHP

                    Just realized that the above mentioned lists are very much made of US-versions of roms, meaning that since my FBA romset is split, all the US-versions doesn't have their parent ROM, and are useless.. I'm running a Replace "u.zip" with ".zip" on the txt files, and the few roms that actually end with a U gets an error message, that I use to change the txt files back again. Will post the final txt files afterwards, for others to use.

                    My "Bubble Bobble" Themed Bartop Arcade
                    My Gameboy

                    1 Reply Last reply Reply Quote 0
                    • UDb23U
                      UDb23 @Darksavior
                      last edited by

                      @darksavior said in FBA vs. MAME:

                      These are the games that should be changed to mame:

                      Thanks.
                      Best core list updated accordingly.

                      1 Reply Last reply Reply Quote 0
                      • AndersHPA
                        AndersHP
                        last edited by AndersHP

                        I'd like to challenge the perception that Gyruss is better run on FBA. I see no performance differences, but the sound is better in MAME2003. Less fuzzy.

                        And in this game, sound is 70% of the experience ! :)

                        My "Bubble Bobble" Themed Bartop Arcade
                        My Gameboy

                        1 Reply Last reply Reply Quote 0
                        • AndersHPA
                          AndersHP
                          last edited by AndersHP

                          Allright, here's my contribution, that I used for my setup. Maybe someone find it useful:

                          Based on @Pussyfoot 's lists, but with no US clones, I've gone for the parent roms as good as I could (to make splitted romsets work also). With @Darksavior 's inputs (and my own regarding Gyruss and R-Type, which I think is better in MAME) some has been moved to the MAME2003 list.

                          mame-libretro list (updated with no ADVMAME games)
                          lr-fbalpha list, regular
                          lr-fbalpha list, NeoGeo roms included (new with input from johnodon)
                          mame-advmame list (new list with input from caver01)

                          Also see here how to copy files from complete romsets, to match the txt files. Brilliant work, @dudleydes - these copying scripts really helped!

                          My "Bubble Bobble" Themed Bartop Arcade
                          My Gameboy

                          caver01C 1 Reply Last reply Reply Quote 1
                          • caver01C
                            caver01 @AndersHP
                            last edited by

                            @UDb23 I see several vector titles listed under AdvanceMAME. I have always been a fan, as AdvanceMAME has the superior image when it comes to rendering vector games whereas the others have the arbitrary limit of 640x480 (jaggy vector lines do NOT look cool).

                            Still, several vector titles are missing. At a quick glance:
                            armora - Armor Attack
                            omegrace - Omega Race
                            quantum - Quantum
                            ripoff - Rip Off
                            spacfury - Space Fury
                            warrior - Warrior

                            These should be AdvanceMAME, despite what @ AndersHP thinks ;-).

                            @AndersHP why no AdvanceMAME love? Your vector games will thank you for it.

                            My 4-player cocktail style cabinet built as a custom "roadcase"

                            UDb23U AndersHPA 3 Replies Last reply Reply Quote 2
                            • J
                              juice
                              last edited by juice

                              has anyone got Arabian magic to run full speed, i tried it on fba and it very slow, updated to latest fba from source. it is the same with or without shaders. lr-mame 2003 seems to be a bit better for me but still little laggy

                              pi 3 no overclock
                              retropie 4.3

                              pjftP 1 Reply Last reply Reply Quote 0
                              • DarksaviorD
                                Darksavior
                                last edited by

                                @andershp rtype and rtype2 run fine on fba. There's a slight .1fps drops sometimes in rtype but I plan to overclock once I'm done sorting arcade roms but even then I don't notice it. I just prefer to use the newer emulation.

                                @juice I don't think any emulator can play that fullspeed.

                                AndersHPA 1 Reply Last reply Reply Quote 0
                                • UDb23U
                                  UDb23 @caver01
                                  last edited by

                                  @caver01 said in FBA vs. MAME:

                                  Still, several vector titles are missing.

                                  Roms added to the file.
                                  Vector games MUST be played with Advancemame, no doubt :-)

                                  1 Reply Last reply Reply Quote 0
                                  • AndersHPA
                                    AndersHP @Darksavior
                                    last edited by

                                    @darksavior said in FBA vs. MAME:

                                    @andershp rtype and rtype2 run fine on fba.

                                    I haven't tested rtype2, but rtype has sound glitches in FBA that is not there in MAME, and otherwise there's no difference. Played the heck out of rtype at the MAME ROW, and it's flawless in MAME.

                                    My "Bubble Bobble" Themed Bartop Arcade
                                    My Gameboy

                                    DarksaviorD 1 Reply Last reply Reply Quote 0
                                    • AndersHPA
                                      AndersHP @caver01
                                      last edited by

                                      @caver01 said in FBA vs. MAME:

                                      @AndersHP why no AdvanceMAME love? Your vector games will thank you for it.

                                      Yeah, I'm just not really that into vector games, so haven't prioritized it at all. Also, it's not a libretro-core is it?

                                      My "Bubble Bobble" Themed Bartop Arcade
                                      My Gameboy

                                      caver01C 1 Reply Last reply Reply Quote 0
                                      • DarksaviorD
                                        Darksavior @AndersHP
                                        last edited by

                                        @andershp I played through the first level and didn't notice audio bugs. Oh well..

                                        1 Reply Last reply Reply Quote 0
                                        • caver01C
                                          caver01 @AndersHP
                                          last edited by

                                          @andershp said in FBA vs. MAME:

                                          @caver01 said in FBA vs. MAME:

                                          @AndersHP why no AdvanceMAME love? Your vector games will thank you for it.

                                          Yeah, I'm just not really that into vector games, so haven't prioritized it at all. Also, it's not a libretro-core is it?

                                          Nope.

                                          My 4-player cocktail style cabinet built as a custom "roadcase"

                                          1 Reply Last reply Reply Quote 0
                                          • AndersHPA
                                            AndersHP @caver01
                                            last edited by AndersHP

                                            @caver01 said in FBA vs. MAME:

                                            These should be AdvanceMAME, despite what @ AndersHP thinks ;-).

                                            Above lists have been updated, so I split MAME-libretro and ADVMAME into two, whilst adding the games @caver01 mentioned.
                                            Though, I cannot find the game roughrac.zip. It doesn't seem to be part of MAME2003 or FBA 0.2.97.42? MAME 0.106 perhaps? Never tried this romset...

                                            Also: is it true that the best way to get ADVMAME running on a fresh setup would be a MAME 0.106 romset and the latest ADVMAME 3.x version?

                                            My "Bubble Bobble" Themed Bartop Arcade
                                            My Gameboy

                                            UDb23U caver01C 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.