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

      @2play

      (About elkulator)
      Aha nice!
      So we should make a module-script of that !

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

        @folly I ll test the flop, you probably right
        I m having a custom setup so all ok. no worries

        you might have also to put 1 (enable adfs) in elk.cfg

        Your friend,
        2Play!

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

          @2play

          (About lr-mess / mame)
          With this you will see that only flop exists :

          /opt/retropie/emulators/mame/mame -listmedia electron
          SYSTEM           MEDIA NAME       (brief)    IMAGE FILE EXTENSIONS SUPPORTED
          ---------------- --------------------------- -------------------------------
          electron         cassette         (cass)     .wav  .csw  .uef  
                           floppydisk       (flop)     .ssd  .bbc  .img  .dsd  .adf  .ads  .adm  .adl  .d77  .d88  .1dd  .dfi  .hfe  .imd  .ipf  .mfi  .mfm  .td0  .cqm  .cqi  .dsk  
                           printout         (prin)     .prn  
                           cartridge1       (cart1)    .rom  .bin  
                           cartridge2       (cart2)    .rom  .bin
          

          You should read my thread :
          https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-and-mame-standalone

          If you use this line it wil automatically create the electron module-script for you, without any human mistakes :
          In the ext directory :

          curl "https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scripts-00/generate-systems-lr-mess_mame-2v1-ext.sh" | bash -s electron
          

          Or in the plain directory :

          curl "https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scripts-00/generate-systems-lr-mess_mame-2v1.sh" | bash -s electron
          

          Just install in RetroPie-Setup and you are good to go.
          Bioses have to go in /home/pi/RetroPie/BIOS/mame !

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

            @2play

            (About elkulator)
            I have cassette files working too and with sound !
            No luck on floppy's yet

            Here some tips and tricks I found :
            https://github.com/damieng/BBCMicroTools/blob/master/tips-and-tricks.md

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

              @folly sound on lr-mess or elkulator. elkulator ye si use the sound menu (default is off) on pc is too loud heheh
              floppy on elkulator i had no luck too. I need to test on lr-mess

              Your friend,
              2Play!

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

                @folly I can run from ES but it goes full screen and kb not working unless in windowed mode.
                I need to fix this when you start xinit from ES
                within X11 of course is ok

                UPDATE:
                rom files from elkulator run fine.
                ssd no luck yet
                I have checked the hash mame hash file for electron flop and cant fine any of my tosec files as supported.

                Your friend,
                2Play!

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

                  @folly
                  OK I have it running from ES with similar setup to B-em

                  elkulator-tape = "XINIT: /opt/retropie/emulators/elkulator/elkulator.sh %ROM%"

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

                  Im testing diff configurations for tape/disc/rom

                  So far:

                  • to exit only way os to open elkulator menu with f11 and exit from there
                  • Auto mount tapes/roms work fine. No luck with discs.
                    (command line options inlcude -tape, -disc & -disc1, rom1 & rom2)
                    • Loading tapes needs CHAIN""
                    • Roms auto load and run!!!
                      printscreen06_03_2021--h10-m39-s56.jpg
                  • Resolution needs to be changed within emu settings to fullscreen or at runcommand options (later not the best as its not centered 100%, best tested is 800x600)

                  At the moment Im happy with elkulator capabilities, auto load, tapes and best with roms
                  Discs to be seen

                  Happy to see another system tackled. lr-mess if was faster it will ok but both lr-mess and AdvMESS not close to elkulator

                  Your friend,
                  2Play!

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