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 266.8k 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
      last edited by 2Play

      @Folly

      UPDATE:
      Im thinking the solution for users not to enter settings to change to FULLSCREEN is to change source code to implement the opposite.
      Fullscreen by default and menu to go to window.
      Or
      add in code the option to be in elk.cfg so user can set at will 0 or 1

      Maybe this also wouldnt have the need of the sh file with the win manager etc

      650ecf59-0829-4615-b6e8-6b962f60229e-image.png

      Also to start tapes we can also press ALT+J to auto type CHAIN then simply add "" (shift+2 on UK KB)

      Ι have to step out but ill try later above... Unless you do earlier your side. I made a fork to test

      Your friend,
      2Play!

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

        @2play

        You could easily change the .cfg with a sed command building it in the module-script.
        Btw. you should read this post :
        https://retropie.org.uk/forum/topic/29402/bbc-micro-acorn-electron-emu/71
        Perhaps you don't even need the full-screen option then, removing just the window frame.
        This way you can still use it within a desktop environment, because I had a black screen issue in the desktop environment using the full-screen option.
        And, you can add an extra possibility to quit along the way.

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

          @2play

          I have found all the correct bios files.
          They are shipped with the windows version 1.0.
          I updated my post with the sha1sums :
          https://retropie.org.uk/forum/topic/25576/new-scriptmodules-lr-vice-xvic-gsplus-proper-lr-mess-integration/471

          I have the disks working too !
          Manually enable plus3 and dfesna.
          (enabling adfsena gave some errors with loading sometimes, so turn that off, if not needed)
          Or make sure this is in the elk.cfg :

          plus3 = 1
          dfsena = 1
          adfsena = 0
          

          WOW, works really nice.

          I should earn some kudo's now ! 😊

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

            @folly
            Yes bios as per my post above I also used from the win install
            adfsena i blv is for the adf disc files but for ssd yes best to be off. That works for me also

            Yes with elkulator will need the fullscreen as it still use a small resolution without. But
            I ve updated and re-compiled b-em as per yours ALL GREAT tx
            for BBC i use lr-mess configs i made and only for knighlore i needed to use the b-em. ctrl-c works great
            b-em no frame works great as its using by default fullscreen butnot the case on elkulator as dev seems intended use on window enviroment
            but running from ES will need it

            id say with you latest comments tweaks im at 99% with elkulator. just to add the fullscreen and another great old system is working with best setup rather waiting for real tape loading :D

            kudos friend! Im pleased to see another dev like yourself being active helps the scene to be at its best

            Your friend,
            2Play!

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

              @2play

              I found the correct bios files for lr-mess too.
              They are within the mame-0.231-merged set.

              I did manage to load a flop in lr-mess, but there are issues.
              Bios selection doesn't seem to work properly.

              Basically it's the the same issue as with Elkulator.
              If the ADFS bios is loaded, loading .ssd files isn't possible.

              So you have to select an FDS bios and then reset.
              (As said there are issues with this process !)

              You have to select 1770DFS and after reset it has to look like this:
              (make sure the disk is still in there, or reload it in the File Manager)
              2021-06-03-221919_800x600_scrot-resized.png 2021-06-03-221947_800x600_scrot-resized.png

              Still not sure how to force the 1770DFS bios.

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

                @folly yes i used from mame 0.231 my side.
                an idea is to remove the adfs from the electron.zip bios file or whichever you use?
                or maybe even have 2 , one with one without and can be set in the emulators.cfg file anyway as extra option for the adf files?

                a8a68923-d13c-4add-84e6-f9430dd11eac-image.png

                Your friend,
                2Play!

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

                  @2play

                  I have tried removing but then it will not start :-(

                  We have to find another solution.

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