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

    new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!)

    Scheduled Pinned Locked Moved Ideas and Development
    githubscriptmodulesdevelopment
    545 Posts 42 Posters 268.5k 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.
    • jamrom2J
      jamrom2 @Folly
      last edited by

      @Folly I haven't tried that yet. So far it seems like everything works with the script you last posted, and I've managed to narrow my emulators.cfg down to only a few choices for each emulator. Basically, I'm sticking with what works well, and streamlining it.

      Once I get the Pi4, and start that build, I'll let you know. This Pi3 build will cover 3 machines I have, so it's going to be a "light" version that only has emulators that work well on a Pi3.

      the link you posted to the add-ext repos.sh doesn't work. I have to look into that for the next build.

      1 Reply Last reply Reply Quote 0
      • F
        Folly @CARRisma
        last edited by Folly

        @CARRisma

        I have some update information about the elkulator module-script.
        Due to your interest I tested it on the new debian 11/Bullseye OS.
        I detected that elkulator would not compile on the new OS.

        So recently I did an update so the elkulator script will compile again on Debian 11/Bullseye.
        You can read more about it here :
        https://stardot.org.uk/forums/viewtopic.php?p=353265
        It should be backwards compatible with Debian 10/Buster too, now.

        I also added better support for electron in our project over here :
        https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-and-mame-standalone
        Loading electron with mame and lr-mess.
        Some background information can be found here :https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=120623#Post120623
        I added lines for electron in the section "systems with extra hardware".
        If you feel like it then you can try it out and let me know what your experience will be, just to improve or add some useful things, when possible.

        C 1 Reply Last reply Reply Quote 0
        • C
          CARRisma @Folly
          last edited by

          @Folly Please excuse me, some of this I struggle to understand - the last time I did any programming was with BASIC on the C64 and OPL on a Psion Organiser.

          If I understand correctly, your setup script "elkulator.sh" still works perfectly. However, Elkulator itself has a problem with the new platforms?

          By looking at your elkulator.sh, I get the impression it downloads files from the original Elkulator (from years back) then also downloads files from your GitHub which modifies / fixes things?

          I have made a backup of your elkulator.sh file but I assume I don't need to replace it because that's unchanged.

          F 1 Reply Last reply Reply Quote 0
          • F
            Folly @CARRisma
            last edited by Folly

            @CARRisma said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

            @Folly Please excuse me, some of this I struggle to understand - the last time I did any programming was with BASIC on the C64 and OPL on a Psion Organiser.

            If I understand correctly, your setup script "elkulator.sh" still works perfectly. However, Elkulator itself has a problem with the new platforms?

            Yes, indeed.

            By looking at your elkulator.sh, I get the impression it downloads files from the original Elkulator (from years back) then also downloads files from your GitHub which modifies / fixes things?

            Just like any other emulator, bios files are needed, otherwise the emulator will not run.
            They aren't in the source, if you know what I mean.

            Elkulator hasn't been maintained for a very long time and it's probably the same code as the original Ekulator source.
            The source that existed was pushed to github by the stardot team to preserve it and optionally people can contribute to it.

            I made a fork from this source code to improve the working of Elkulator in RetroPie and therefor added :

            • the esc key for quitting the emulator
            • fullscreen setting on start
            • additional flag "-fcommon" so it will compile on Debian 11

            You have to know that RetroPie is just a Debian 10-lite/Buster-lite Operating System with the RetroPie bash-scripts on top of it.
            ( lite => without Desktop environment )
            In the near future RetroPie will move towards using Debian 11-lite/Bullseye-lite as base Operating system.
            That is why updating was required.

            I have made a backup of your elkulator.sh file but I assume I don't need to replace it because that's unchanged.

            I made the change in the configure.ac of the elkulator source code.
            The module-script was unchanged.
            Though, recently , I just changed automake -a into automake -a -i in my module-script.
            This way Elkulator will also be correctly compiled on X86/X86_64 When using RetroPie on a regular computer.

            Summarized :
            Basically what this means is that when RetroPie is updated with the new Operating System the Elkulator script can still be used without issues.
            At least I hope so.

            Hope you understand it better now.

            Btw.
            This is how the autoboot function works :
            The module-script creates a script that will be executed when you select a game in Emulationstation.
            This script will then detect what sort of file it is depending on the extension.
            Accordingly, this script will patch the elkulator config on the fly and will create a command for booting the game together with a command that will produce the correct autoboot sequence for loading the game automatically.
            Just by creating key presses by software instead.

            C 1 Reply Last reply Reply Quote 0
            • C
              CARRisma
              last edited by

              Wonderful, thank you very much.

              1 Reply Last reply Reply Quote 0
              • C
                CARRisma @Folly
                last edited by

                @Folly I installed Retropie 4.8 and can confirm that I successfully installed Elkulator using your updated files. However, after installing it, it did not work straight away so I did update from source (Elkulator) and that fixed it.

                F 1 Reply Last reply Reply Quote 0
                • F
                  Folly @CARRisma
                  last edited by

                  @CARRisma

                  Useful information for everyone.
                  Thanks for letting me/us know ;-)

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MrNoHolster @Folly
                    last edited by

                    @Folly Hi I've followed your instructions and installed the add-mamedev-systems script so I now have Electron visible in EmulationStation, however when I launch a game I'm getting a grey screen with a missing required files error... any idea what I'm doing wrong? It looks like Elkulator isn't listed on your script files anymore? I'm sure I have the BIOS files but would love your help! Thanks G

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      Folly @MrNoHolster
                      last edited by Folly

                      @MrNoHolster

                      Elkulator is not part of the add-mamedev script.
                      It's a separate module-script.

                      Follow this to add Elkulator :
                      https://retropie.org.uk/forum/topic/25576/new-scriptmodules-lr-vice-xvic-gsplus-proper-lr-mess-integration/521

                      Edit:
                      So add it with these commands don't use this anymore ! :

                      cd  RetroPie-Setup/scriptmodules/supplemantary
                      wget https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/supplementary/add-ext-repos.sh
                      

                      Then start Retropie-Setup and goto config/tools and find add-ext-repos.
                      Select the repo you want and it will download the files ,you don't have, in the RetroPie-Setup/ext directory.
                      Elkulator should now be listed in the experimental packages.

                      A smart move is to move all my module-script that you have already in your normal directory structure (generated and non-generated) to the ext directory stucture.
                      So the 3rd party module-scripts are separated from the normal/original module-scripts. This way you will also prevent duplicate errors.
                      So in :
                      RetroPie-Setup/ext/RetroPie-Share/scriptmodules
                      Instead of :
                      RetroPie-Setup/scriptmodules

                      1 Reply Last reply Reply Quote 0
                      • F Folly referenced this topic on
                      • DTEAMD DTEAM referenced this topic on
                      • 2Play2
                        2Play
                        last edited by

                        @Folly Just wanted to say hi old friend!
                        and to all here.
                        I had a break due to a new family member and working on other boards such as Asus Tinker & RockPro64

                        I v updated some of my projects and time allows will continue on the main pi4 project that has many goodies including the elkulator tx to your work!

                        Your friend,
                        2Play!

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Folly @2Play
                          last edited by

                          @2Play

                          That is great.
                          Welcome back.

                          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.