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 265.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.
    • 2Play2
      2Play @Folly
      last edited by 2Play

      @folly If i fix the elkulator fullscreen im more than happy with it. Its loading blazing fast tapes, discs, rom files
      It looks he has hard coded resolution for the window and of course full screen disabled by default

      int windx=640,windy=512;
      

      Your friend,
      2Play!

      1 Reply Last reply Reply Quote 1
      • 2Play2
        2Play
        last edited by

        @Folly is ctrl c working for you on elkulator?
        no luck as on b-em

        Your friend,
        2Play!

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

          @2play

          Haven't tried yet to integrate it in emulationstation, so I can tell.
          Perhaps I will try tomorrow.

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

            @folly
            ok
            adfsena = 1
            if enabled and load a tape all you need is to press ALT+K to quick type CHAIN then add ""
            without it the user will need to type first *TAPE then CHAIN""
            for the tape to load
            it would be nice if emu had a command option to set diff cfg files to be used.
            This way we could have one for tapes and one for discs
            or simple user to type both above for tapes
            just fyr

            I think ctrl c is matchbox related or similar to the prob you had with setting ESC to b-em

            #!/bin/bash
            xset -dpms s off s noblank
            matchbox-window-manager -use_titlebar no -use_cursor no -kbdconfig /opt/retropie/emulators/elkulator/matchbox_key_shortcuts &
            /opt/retropie/emulators/elkulator/elkulator -tape "$1"
            

            Your friend,
            2Play!

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

              @2play

              The way you described, tape loading will also work if adfsena = 0, on my end at least.

              I created the first module-script for Elkulator.
              Not perfect yet !, I have to work on it a bit more.
              You can experiment with it :

              • Created for this post :
                https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/8cd8c4dac537e0f24302405aa7c5b95a6b415264/00-scriptmodules-00/emulators/elkulator.sh
              • This is the latest script :
                https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/emulators/elkulator.sh

              The emulator is running in the match-box, but just like you said the ctrl+c combination didn't work.
              Also the match-box will not stretch the emulator screen to full size either.
              So indeed we have to force it to fullscreen.
              Just like you said, then it's a bit out of centre.

              I tested also without the match-box, but then you can't use the keyboard anymore.
              So we still need the match-box.

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

                @folly Yes to all :-) ( ill recheck the tape load with adfs 0)
                I tried few compiles to force fullscreen but got no luck so far.
                its owrking only from menu
                About exit maybe another key combo. I was thinking if ctrl is used fro another purpose and creates conflict but havent looked in to it.
                I had my second shot yesterday and I m feeling bit drained :-(
                we are close to complete this
                Pending is exit and fullscreen

                Your friend,
                2Play!

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

                  @2play

                  I am trying to solve the problem with xdotool.
                  At first I had no luck, but now it looks promising.

                  I can automate to get fullscreen, auto tape load and auto disc load.

                  How does that sound ?

                  I still have to implement that in the scripts and hope it still works after that !

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

                    @folly sounds great!

                    Your friend,
                    2Play!

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

                      @2play

                      I have finished it and I am quite happy about it.

                      • Created for this post :
                        https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/a2d8e04ebca5beb103355630937fe310134386ed/00-scriptmodules-00/emulators/elkulator.sh
                      • This is the latest script :
                        https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/emulators/elkulator.sh

                      I have added :

                      • automated fullscreen selection
                      • detect media and autoload : rom1, tape and disc
                      • autoboot : .rom .uef .ssd
                      • auto config patching for dfs/adfs rom switching
                      • extension support, up till now : .rom .uef .ssd .adf

                      Disc loading is done differently, so everything works similar now.
                      Now I use "*EXEC !BOOT", because I had some issues automating it with using "Shift+F12".
                      But there is still an issue, this doesn't work with .adf files.
                      So I have to find a solution for that.
                      For now you still have to do this manual with "Shift+F12".

                      Please test and let me know what you think of it.

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

                        @folly Kudos friend!
                        tested all 3 kinds from my setup.
                        Interesting approach to use the xdotool
                        All working and boot automatically at full screen

                        I d suggest a small correction to the scriptmodule
                        You can remove the reference to shift+F12 as its not needed with newer boot script you did!
                        And change smae line qui to gui

                        Glad i mentioned the elkulator as its the best electron setup now!

                        rp_module_help="ROM Extensions: .ssd\n\nCopy your games to $romdir/electron\n\n- use F11 for the gui\n- use shift+F12 to run the disc\n- exit the emulator from the qui\n"
                        

                        Again: Amazing work you did!!!

                        Your friend,
                        2Play!

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

                          @2play

                          Kudos to you too, my friend !

                          Indeed, quite nice.
                          I am also glad you mentioned elkulator !
                          And I will change the parts you mentioned.

                          I still have to find a solution for the .adf format and there seem to be more formats that have to be tested.

                          Still I would like to see a hard-coded fullscreen, something for later.

                          Edit :
                          I did an update:

                          • Help improved
                          • Adding loading a pair of roms
                            loads if both files exist :
                            <basename>_1.rom and <basename>_2.rom
                            an example of a pair is : countdowntodoom_1.rom and countdowntodoom_2.rom
                          • Added more disc formats
                          • BIOS part updated

                          Created for this post :
                          https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/ef9a0c62462ee64cfa48d088ec1287514707c567/00-scriptmodules-00/emulators/elkulator.sh
                          This is the latest script :
                          https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/emulators/elkulator.sh

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

                            @2play

                            Do you know if there are multidisk games ?

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

                              @2play

                              I found a way to change the code of Elkulator to make it start in fullscreen and exit the emulator with the escape key !

                              I made a fork of Elkulator too and pushed these changes to my fork.
                              Discovered that an if function was missing.
                              This function has to react on a changed variable.
                              So now when the gotofullscreen variable is changed to 1, it will then force to go into fullscreen mode at startup !
                              I have to test here and there, but I think we can use this solution and remove the xdotool automated fullscreen part.

                              I also added the possibility to Exit/Quit the emulator with the "Escape key".
                              Now I can also remove non-working match-box ctrl+c hotkey that was meant for quitting the emulator.

                              Added all changes to the module-script :

                              • Created for this post :
                                https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/99111e27fa3af98c7e35b3138ee3eacfecd73cf6/00-scriptmodules-00/emulators/elkulator.sh
                              • This is the latest script :
                                https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/emulators/elkulator.sh

                              Here you can see the changes I made in Elkulator :
                              https://github.com/FollyMaddy/elkulator/commit/49e0bd415aeabe43fedf0136188a7f4454065d5c
                              https://github.com/FollyMaddy/elkulator/commit/588c79597342d49ec2cb46cc7781dcaf738a6c2d

                              2Play2 1 Reply Last reply Reply Quote 1
                              • J
                                JimmyFromTheBay
                                last edited by JimmyFromTheBay

                                [EDIT: posted in correct thread]

                                Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                                DTEAMD 1 Reply Last reply Reply Quote 0
                                • DTEAMD
                                  DTEAM @JimmyFromTheBay
                                  last edited by DTEAM

                                  @jimmyfromthebay

                                  Hi Jimmy,
                                  You should go to Development of module-script generator for lr-mess and mame standalone. This is the most up-to-date place to easily get information for installing the systems you want from lr-mess / MAME. This thread include also konamih and tigerh.

                                  Folly has developed a script to install whatever you want in 10 minutes. If you need support about the script. We will help you on that thread.

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

                                    @2play

                                    I added the carbon theme for acorn electron here :
                                    https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-themes-00/carbon
                                    and here :
                                    https://github.com/FollyMaddy/es-theme-mamedev-carbon

                                    2Play2 C 2 Replies Last reply Reply Quote 0
                                    • 2Play2
                                      2Play @Folly
                                      last edited by

                                      @folly Thank you friend!
                                      Also if interested here are my themes cover about 150 systems and light
                                      I m currently at 125 enabled on live system. VRAM 100MB max
                                      https://github.com/2play/2Play-v2-Themes

                                      Your friend,
                                      2Play!

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

                                        @folly Very nice touch with gotofullscreen and ESC
                                        Thats what I was after. But you did the rigth way!

                                        I kindly suggest in the new scriptmodule change
                                        #using now my RetroPie improved version (boot in fullscreen, exit with exc key)
                                        to
                                        #using now my RetroPie improved version (boot in fullscreen, exit with ESC key)

                                        Tx for all your work friend
                                        Im compiling now new one

                                        Your friend,
                                        2Play!

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

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

                                          @folly Very nice touch with gotofullscreen and ESC
                                          Thats what I was after. But you did the rigth way!

                                          I kindly suggest in the new scriptmodule change
                                          #using now my RetroPie improved version (boot in fullscreen, exit with exc key)
                                          to
                                          #using now my RetroPie improved version (boot in fullscreen, exit with ESC key)

                                          Tx for all your work friend
                                          Im compiling now new one

                                          Aha, seems it was a bit dark when I typed it.
                                          I will change it and add the ESC key in the help too.

                                          I will have a look at your theme !

                                          Edit :
                                          Commit is done :
                                          https://github.com/FollyMaddy/RetroPie-Share/commit/f8fbb94d4cbbd0d4009e03765bc58bd4f9b5a9d0

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

                                            @2play

                                            I fixed the autoboot "Shilft_L+F12 issue and returned to that way of autobooting.
                                            Now all disc formats will autoboot if they are autobootable !

                                            Can you test the latest script for me ?

                                            .....

                                            2Play2 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.