RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Help batch running arcade games

    Scheduled Pinned Locked Moved Help and Support
    batchautomatelaunchruncommand
    40 Posts 7 Posters 6.2k 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.
    • B
      barbudreadmon @luckyluca
      last edited by barbudreadmon

      @luckyluca said in Help batch running arcade games:

      am I right to assume that all rom zips that are actually bioses, such as pgm and stvbios, have no reason to exist in rom/arcade, and should only be present in the retropie bios folder?

      Yes, however "getting the most recent bios and putting it in the bios folder" might cause issues, as an example you were mentioning stvbios, and i'm pretty sure advmame, which you'll probably use to play ST-V games, expects an older version of the bios.

      FBNeo developer - github - forum

      L 1 Reply Last reply Reply Quote 0
      • L
        luckyluca @barbudreadmon
        last edited by luckyluca

        @barbudreadmon
        I see, I suppose it doesn't help that both the old and newer version of stvbios.zip contain exactly the same roms (with matching CRC), with the newer version of the zip just containing additional files.

        It would be awesome to being able to add bios by emulator version, and have the right bios selected based on the core in use:
        Retropie/bios/mame2003/.zip
        Retropie/bios/advmame/
        .zip

        B 1 Reply Last reply Reply Quote 0
        • B
          barbudreadmon @luckyluca
          last edited by barbudreadmon

          @luckyluca said in Help batch running arcade games:

          I see, I suppose it doesn't help that both the old and newer version of stvbios.zip contain exactly the same roms (with matching CRC), with the newer version of the zip just containing additional files.

          Actually you are right, i thought some of the old files had been discarded but they were simply renamed, which shouldn't be a problem since the emulator will base its search on crc. Well, stvbios was a bad example then, but there might be newer bios that doesn't contain older files.

          @luckyluca said in Help batch running arcade games:

          It would be awesome to being able to add bios by emulator version, and have the right bios selected based on the core in use
          Retropie/bios/mame2003/.zip
          Retropie/bios/advmame/.zip

          I can't tell you about the mame cores, but that's exactly what i did in the FBNeo core to avoid conflicting bioses.

          FBNeo developer - github - forum

          L 1 Reply Last reply Reply Quote 0
          • L
            luckyluca @barbudreadmon
            last edited by luckyluca

            Thanks, just wanted to add that I've been involved in using and enjoying emulators and cores for more than a decade and wanted to thank you for your contribution to the retro gaming scene!

            L 1 Reply Last reply Reply Quote 0
            • L
              luckyluca @luckyluca
              last edited by

              @dankcushions

              Regarding Roslof's doc, does the following mean that lr-mame core is using the mame non-merged romset version 0.222? does it also mean that the actual core version in Retropie must be 0.222?
              Without causing controversy, I'm asking because 0.222 is a tricky romset one to source, let's just say that it's not too common.

              Major testing is complete. Occasionally checking when new versions pop-up (lr-fbneo changes VERY rapidly, but... trying to keep up).
              of emulators are updated. Note lr-mame tested with version lr-mame 0.222.

              Also, regarding fbneo, from the retropie doc, I suppose that it uses FB Neo v0.2.97.44 and that it superseeds fbalpha2012 completely.
              Regarding bios, neogeo and neogeo-cd aside, I suppose there are no bios zips required for fbneo arcade, or am I terribly wrong?

              Thanks and happy Saturday!

              dankcushionsD 1 Reply Last reply Reply Quote 0
              • dankcushionsD
                dankcushions Global Moderator @luckyluca
                last edited by

                @luckyluca said in Help batch running arcade games:

                @dankcushions

                Regarding Roslof's doc, does the following mean that lr-mame core is using the mame non-merged romset version 0.222? does it also mean that the actual core version in Retropie must be 0.222?
                Without causing controversy, I'm asking because 0.222 is a tricky romset one to source, let's just say that it's not too common.

                i don't maintain the doc so you'll have to ask roslof about that. that said, it's simple enough to find the current version of lr-mame on github: https://github.com/libretro/mame - looks like 0.230 currently, if you updated from source. lr-mame should track current mame, so it's constantly updated.

                Also, regarding fbneo, from the retropie doc, I suppose that it uses FB Neo v0.2.97.44 and that it superseeds fbalpha2012 completely.

                nope, it's 1.0.0.02 now. though, again, fbn's romset is a derivative of current MAME afaik, so it's constantly updated.

                to this end it's fairly difficult to keep the various compatibility lists and doc pages up to date for current MAME and FBN. i removed all the compatibility lists from retropie's docs. i prefer to just refer people to their respective project pages.

                Regarding bios, neogeo and neogeo-cd aside, I suppose there are no bios zips required for fbneo arcade, or am I terribly wrong?

                fbn needs BIOS for other stuff also. see https://retropie.org.uk/docs/FinalBurn-Neo/ - a current dat will have the details

                L B 2 Replies Last reply Reply Quote 1
                • L
                  luckyluca @dankcushions
                  last edited by luckyluca

                  thanks a lot, I feel like Alice following the white rabbit in the hole.

                  I can imagine maintaining compatibility must be hell;
                  I assumed 0.297.44 was the right romset version, from the fbneo retropie docs, and thought that was aligned with the google sheet. I'll need to rethink my approach :-)

                  Edit: I found the other page listing 1.0 as correct for fbneo.

                  @dankcushions
                  So, am I right to assume that if I update the fbneo core, and then have the latest 1.0 full non-merged romset, all games contained would work aka there is no need for mame, unless a game is not included in the romset?

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • B
                    barbudreadmon @dankcushions
                    last edited by

                    @dankcushions said in Help batch running arcade games:

                    nope, it's 1.0.0.02 now

                    Actually, current wip is 1.0.0.03 (odd numbers are wips, even numbers are releases)

                    FBNeo developer - github - forum

                    1 Reply Last reply Reply Quote 1
                    • dankcushionsD
                      dankcushions Global Moderator @luckyluca
                      last edited by

                      @luckyluca said in Help batch running arcade games:

                      thanks a lot, I feel like Alice following the white rabbit in the hole.

                      I can imagine maintaining compatibility must be hell;
                      I assumed 0.297.44 was the right romset version, from the fbneo retropie docs, and thought that was aligned with the google sheet. I'll need to rethink my approach :-)

                      Edit: I found the other page listing 1.0 as correct for fbneo.

                      @dankcushions
                      So, am I right to assume that if I update the fbneo core, and then have the latest 1.0 full non-merged romset, all games contained would work aka there is no need for mame, unless a game is not included in the romset?

                      i am not sure about that - there may be occasions when the mame20xx version performs better, or the finalburneo version has emulation bugs or a crash or whatever, but generally, yeah.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        barbudreadmon @dankcushions
                        last edited by

                        @dankcushions said in Help batch running arcade games:

                        there may be occasions when the mame20xx version performs better, or the finalburneo version has emulation bugs or a crash or whatever

                        I'm not too worried about crashes, i have a batch script to detect those, but if you find an emulation bug please let me know.

                        FBNeo developer - github - forum

                        L 1 Reply Last reply Reply Quote 1
                        • L
                          luckyluca @barbudreadmon
                          last edited by

                          @barbudreadmon Speaking of neogeo games, is there a compability list I could browse?
                          Especially for neogeo games set in MVS mode, using fbneo.
                          For instance, I came across kf2k5uni that fails to load.
                          (I'm using an older build of fbneo and corresponding romset, v0.2.97.44, on the pi400).

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            barbudreadmon @luckyluca
                            last edited by

                            @luckyluca said in Help batch running arcade games:

                            For instance, I came across kf2k5uni that fails to load.

                            Any arcade game will fail to load as long as you don't use the right romset, kf2k5uni works in FBNeo. All i can say is to follow the documentation which says to build proper romsets...

                            FBNeo developer - github - forum

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              luckyluca @barbudreadmon
                              last edited by

                              @barbudreadmon

                              Thanks, that's exactly what I did, I followed the documentation and cross-checked the version required, against the Package help, which is which is v0.2.97.44. (Fbneo core was installed via source on 05 Nov 2020).
                              The romset I'm using is supposed to be the full non-merged v0.2.97.44 as per above.

                              I understand this is not up to date, but so is not the core, so I suppose that as long as the two match all should be well.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                barbudreadmon @luckyluca
                                last edited by barbudreadmon

                                @luckyluca said in Help batch running arcade games:

                                The romset I'm using is supposed to be the full non-merged v0.2.97.44 as per above.

                                v0.2.97.44 is the version number we used for nearly 30 months, with probably thousands of changes to the supported romsets, so thinking your download is gonna match your version from 5 nov 2020 without checking it through clrmamepro is very far fetched.
                                Furthermore, on 5 nov 2020, we had moved past v1.0.0.00, so i have absolutely no idea what a v0.2.97.44 version built from source on that date is supposed to be, a version built from source on that date should probably be tagged v1.0.0.01

                                FBNeo developer - github - forum

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  luckyluca @barbudreadmon
                                  last edited by luckyluca

                                  @barbudreadmon

                                  I might have misread, but from what you write, is it possible to check the source build on 05 Nov against the romset in clrmamepro?
                                  P.s. the romset is checked in Clrmamepro and should be sound as v0.2.97.44.

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    barbudreadmon @luckyluca
                                    last edited by

                                    @luckyluca when you are updating from sources, retropie is making a local copy of the corresponding dats at /opt/retropie/libretrocores/lr-fbneo/dats/

                                    FBNeo developer - github - forum

                                    L 1 Reply Last reply Reply Quote 1
                                    • L
                                      luckyluca @barbudreadmon
                                      last edited by

                                      @barbudreadmon
                                      Many thanks, I wasn't aware of that. I'll cross-reference that against the romsets.

                                      Best
                                      L

                                      1 Reply Last reply Reply Quote 0
                                      • RiverstormR
                                        Riverstorm
                                        last edited by

                                        @luckyluca - Talk about wack-a-mole! You're kind of reinventing the wheel before ROM management tools came into the scene.

                                        If you're using the "Arcade" folder, in regards to BIOS files, you can dump all the ROMs from multiple core sets into one zip. Take neogeo.zip for example, just rename the "dups" by appending "_core name" or however you want to track them. It honestly doesn't matter though if you named them 1, 2, 3, etc. You'll have one neogeo.zip to run them all. Then just dump it right in with the ROMs and you're good to go for all games, regardless of the core used.

                                        It seems like the next logical step since you're already combining core ROMs when using the Arcade folder. Why not the BIOS files too!

                                        FBNeo requires a few BIOS files:

                                        bubsys
                                        cchip
                                        decocass
                                        isgsm
                                        midssio
                                        namcoc69
                                        namcoc70
                                        namcoc75
                                        neogeo
                                        nmk004
                                        pgm
                                        skns
                                        ym2608
                                        

                                        Tracking a DAT for a specific core in time can be tricky. With FBAlpha2012 I've not had a lot of luck. I wrote a python script that compares the DAT to the source code trying to validate the set.

                                        What I found is the DAT posted here has a few hundred extraneous games that don't exist in the source code. On the other hand it also has games in the source code that don't exist in DAT. It needs some work.

                                        I wrote another short script extracting all the games from the source code but ended up with just under 6,000 entries. That is way to many. I found all the games, for all the platforms, the core supports.

                                        I don't know the FBAlpha2012 source code well enough to remove the driver folders that pertain to "other" platforms just leaving the arcade driver folders. If I knew which folders to remove I think I could extract a proper games list and build a proper DAT for the specific version used with RetroPie.

                                        Anyway is there any chance you're willing to share your script? I would be curious at how you're doing it. I would imagine you have ROMs that will work in multiple cores too. Some games just run and look better in certain cores.

                                        I think you'd be much more pleased with the outcome just building sets with the proper tools. Then they are current with any corrections, updates, new games, etc. It's extremely easy with the docs explaining each step. Then as barbudreadmon pointed out with DatUtil and some simple scripting you can build and tailor the perfect set exactly as you like.

                                        Current MAME has like 7,000 to 8,000 unique game sets and probably well over 10,000 actual ROM image sets. If you're trying to cover most games you'll need current MAME thrown into the mix too, I think.

                                        With current MAME and the accompanying rollback set you can build any version of MAME you want. This includes CHDs if you want.

                                        I couldn't imagine running every game with every core trying to figure what game belongs to what core and sometimes multiple cores...whew...that's a puzzle in itself and seems like a lot of work! :-/

                                        L 2 Replies Last reply Reply Quote 0
                                        • L
                                          luckyluca @Riverstorm
                                          last edited by luckyluca

                                          I'll get back to you soon, but believe me, you don't want to see my code :)

                                          In the meatime, I noticed that all games create a per-game .cfg file in the corresponding sub core folder, automatically, on exit.

                                          e.g.: /home/pi/RetroPie/roms/arcade/mame2003/cfg/

                                          Can you remember what option in retroarch.cfg disables this .cfg per-game autosaving, so that .cfg could be saved manually?

                                          Thanks!

                                          dankcushionsD 1 Reply Last reply Reply Quote 0
                                          • dankcushionsD
                                            dankcushions Global Moderator @luckyluca
                                            last edited by dankcushions

                                            @luckyluca

                                            In the meatime, I noticed that all games create a per-game .cfg file in the corresponding sub core folder, automatically, on exit.

                                            e.g.: /home/pi/RetroPie/roms/arcade/mame2003/cfg/

                                            Can you remember what option in retroarch.cfg disables this .cfg per-game autosaving, so that .cfg could be saved manually?

                                            this is mame's internal .cfg system with the options as set in https://retropie.org.uk/docs/lr-mame2003/#mame-menu - even if you don't go into this menu it will generate the file with the defaults or whatever.

                                            it's nothing to do with retroarch, as such. in a 'finished' libretro MAME core the whole MAME internal menu and corresponding .cfg structure would be disabled and superseded entirely by RA's UI and files, but RA isn't quite as flexible as MAME's internal configuration in some areas...for now, so the two co-exist, slightly awkwardly.

                                            as far as i'm aware you can't disable it the automatic generation of those files, but it causes no harm, unless you go into the MAME menu and change stuff (if so, delete the game.cfg and/or default.cfg as appropriate)

                                            1 Reply Last reply Reply Quote 1
                                            • 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.