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

                                    @folly hi friend
                                    on electron?

                                    Your friend,
                                    2Play!

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

                                      @2play

                                      Yes indeed electron.

                                      1 Reply Last reply Reply Quote 0
                                      • jamrom2J
                                        jamrom2 @2Play
                                        last edited by jamrom2

                                        @2play

                                        Hi. Is this where you post issues with this script?

                                        Seems since I last upgraded to Retroarch 1.9.5 lr-puae stopped loading .lha based files. Worked perfectly before this.

                                        Every game I pick now opens, starts to load... then pops up an black Amiga DOS error screen that says..

                                        unknown command FAILAT

                                        1

                                        *** nevermind... it was the CPU setting left on A500. Should have been A1200 or Auto.

                                        But, if anyone ever sees this error message... take a look in Options and check your CPU settings.

                                        1 Reply Last reply Reply Quote 0
                                        • jamrom2J jamrom2 referenced this topic on
                                        • jamrom2J jamrom2 referenced this topic on
                                        • jamrom2J jamrom2 referenced this topic on
                                        • C
                                          cdaters
                                          last edited by cdaters

                                          Is this modified RetroPie-Setup script still being maintained? Is it possible to add the lr-retro8.sh experimental script to it (and any others?) from the latest RetroPie updated "official" Retro-Pie-Setup script?

                                          #!/usr/bin/env bash
                                          
                                          # This file is part of The RetroPie Project
                                          #
                                          # The RetroPie Project is the legal property of its developers, whose names are
                                          # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
                                          #
                                          # See the LICENSE.md file at the top-level directory of this distribution and
                                          # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
                                          #
                                          
                                          rp_module_id="lr-retro8"
                                          rp_module_desc="PICO-8 compatible engine - port of retro8 for libretro"
                                          rp_module_help="ROM Extensions: .p8 .p8.png .zip\n\nCopy your roms to $romdir/pico8"
                                          rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/retro8/master/LICENSE"
                                          rp_module_repo="git https://github.com/libretro/retro8.git master"
                                          rp_module_section="exp"
                                          
                                          function sources_lr-retro8() {
                                              gitPullOrClone
                                          }
                                          
                                          function build_lr-retro8() {
                                              make clean
                                              make
                                              md_ret_require="$md_build/retro8_libretro.so"
                                          }
                                          
                                          function install_lr-retro8() {
                                              md_ret_files=(
                                                  'retro8_libretro.so'
                                                  'README.md'
                                                  'LICENSE'
                                              )
                                          }
                                          
                                          function configure_lr-retro8() {
                                              mkRomDir "pico8"
                                          
                                              addEmulator 1 "$md_id" "pico8" "$md_inst/retro8_libretro.so"
                                              addSystem "pico8"
                                          
                                              [[ "$md_mode" == "remove" ]] && return
                                          
                                              ensureSystemretroconfig "pico8"
                                          
                                              # disable retroarch built-in imageviewer so we can run .p8.png files
                                              iniConfig " = " '"' "$md_conf_root/pico8/retroarch.cfg"
                                              iniSet "builtin_imageviewer_enable" "false"
                                          }
                                          

                                          Why are not all of "missing from the 'official' RetroPie-Setup" lr-"X" scripts included in this modified one incorporated into the official RetroPie-Setup script yet?

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

                                            @cdaters

                                            I looked at https://github.com/valerino/RetroPie-Setup .
                                            I don't think @valerino is maintaining his fork anymore.
                                            His last commit is already 11 months ago and it's already a year ago since we last heard from him.

                                            Is there something in the Valerino fork that you specifically need ?
                                            For example, specific CRT/HDMI options ?
                                            If not, then it's better to stick with the latest original RetroPie-Setup.

                                            For the lr-mess / mame part you can make use of my project which is basically an update on the lr-mess integration of what @valerino started.
                                            Have look here :
                                            https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-and-mame-standalone

                                            For you it's better to install it all via this module-script :
                                            https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scriptmodules-00/supplementary/add-ext-repos.sh
                                            Just place this module-script in :
                                            /home/pi/RetroPie-Setup/scriptmodules/supplementary
                                            or in :
                                            /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/supplementary

                                            Now you can download all my script-modules automatically.
                                            You can even automatically download from these forks :

                                            • GeorgeMcMullen/rp-box86wine
                                            • zerojay/RetroPie-Extra
                                            • valerino/RetroPie-Setup

                                            All script-modules will be placed in separate ext directories.

                                            C 3 Replies 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.