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

    Retropie - Rom Emulator Batch Finder

    Scheduled Pinned Locked Moved Projects and Themes
    runcommand
    8 Posts 3 Posters 1.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.
    • L
      Langerz82
      last edited by Langerz82

      Hey all, just made a script up and thought some people may be interested. It basically cycles through the available emulators and tries to determine which one launches ok.

      Here is the script sources:
      https://gist.github.com/Langerz82/ec7c60edd6b02da78018fa113fda27b0

      Cheers and keep up the great work Devs.

      Oh yeah and the kill command on runemulators.sh should maybe be "kill -9" as some games require it, I've updated the script.

      1 Reply Last reply Reply Quote 1
      • mituM
        mitu Global Moderator
        last edited by

        Does this mean that, after playing a game, runcommand will automatically launch the game again with a different emulator ?

        What's the utility of such script ?

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

          @mitu it loads the game in every emulator listed in emulators.cfg. If one keeps running the process is killed and the emulator that kept running becomes saved for that ROM. It's meant to be unattended, so once you launch the script it loads the process in the background. You have to run it in bash.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Langerz82
            last edited by

            @langerz82 said in Retropie - Rom Emulator Batch Finder:

            it loads the game in every emulator listed in emulators.cfg

            Yes, I understood that - but what's the use for it ? You can run a game with different emulators via the runcommand menu.

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

              @mitu it takes the guesswork out of roms that may not work with the default emulator, and it saves it so the Rom theoritically should load the correct emulator. If you got thousands of Arcade roms it's a massive time saver.

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

                @langerz82 it's so trivial to acquire the correct arcade sets for retropie that i don't know why there would need to be any guesswork! however i could see how it could be useful for regression testing for console emulators.

                1 Reply Last reply Reply Quote 0
                • L
                  Langerz82
                  last edited by Langerz82

                  Maybe it's useless, maybe its not. Anyway I have updated the code as it wasnt killing off advmame and retroarch processes properly.

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

                    Hey all, just and update, I've made some revision changes and improvements on the original code. I consider the scripts relatively stable now.

                    For detailed changes see:
                    https://gist.github.com/Langerz82/ec7c60edd6b02da78018fa113fda27b0/revisions

                    Kind regards,
                    Langz

                    1 Reply 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.