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

      @2play

      About the handler i was looking at the menu.c code and seems a new entry for Exit\Quit can be added. I probably could do with testing but I think you are more advanced coder to me.

      For C/C++ I am not that advanced, but indeed I did some little things and I want to learn some more things.
      Perhaps I can find it, then I will let you know.

      Did you know how I found the settings ?
      I just used the grep command in the terminal, like this :

      pi@raspberrypi:~/the_source_directory $ grep -r volume
      

      This will give all the files and lines that contain "volume".
      That is the way I found the file.
      So that is something you can do too.

      The gui menu also pops up with WIN Key :-)

      I will add this to the help in the module-script.

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

        @folly
        I think the master model not working ok or is just game related
        see ABYSS booting messed upprintscreen04_07_2021--h21-m03-s36.jpg
        airwolf wont boot at all on both

        best compatibility is on lr-mess and the advmess
        lr mess boots all games except a protoype that loads on b-em
        I guess setting up a set in ES will require diff emus per games

        Not a prob but just wanted to give you my feedback

        Your friend,
        2Play!

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

          @2play

          Thanks for your feedback.

          I noticed this also with a few demos and a few games.
          I think it's b-em related.
          Though, I see that some games and demos only work on b-em.
          Like these :
          Prince of Persia post link
          Stunt Car Racer post link

          With xmaster I also notice strange charachters sometimes.
          Don't know what is causing this.

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

            @folly maybe the integrated roms need updating?
            dont know

            Your friend,
            2Play!

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

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

              @folly maybe the integrated roms need updating?
              dont know

              Indeed, that could be the case.
              We keep that in mind.

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

                • Is there a way to speed up tape loading on lr-mess electron ?
                • ssd not working with flop1?
                • is there a similar quick load as SHIFT+F12 for tapes ?

                Your friend,
                2Play!

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

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

                  • Is there a way to speed up tape loading on lr-mess electron ?

                  Use fast-forward by pressing the hotkey "space" to speed up for a while.
                  Don't know other methods, for now.

                  • ssd not working with flop1?

                  Tested a few and all worked.
                  Perhaps not all files are supported.
                  (Press a few times shift+f12 until it loads)
                  .ssd should work as listed here :

                  /opt/retropie/emulators/mame/mame -listmedia bbcb
                  SYSTEM           MEDIA NAME       (brief)    IMAGE FILE EXTENSIONS SUPPORTED
                  ---------------- --------------------------- -------------------------------
                  bbcb             cassette         (cass)     .wav  .csw  .uef  
                                   romimage1        (rom1)     .rom  .bin  
                                   romimage2        (rom2)     .rom  .bin  
                                   romimage3        (rom3)     .rom  .bin  
                                   romimage4        (rom4)     .rom  .bin  
                                   printout         (prin)     .prn  
                                   floppydisk1      (flop1)    .ssd  .bbc  .img  .dsd  .adf  .ads  .adm  .adl  .fsd  .dsk  .ima  .ufi  .360  .d77  .d88  .1dd  .dfi  .hfe  .imd  .ipf  .mfi  .mfm  .td0  .cqm  .cqi  
                                   floppydisk2      (flop2)    .ssd  .bbc  .img  .dsd  .adf  .ads  .adm  .adl  .fsd  .dsk  .ima  .ufi  .360  .d77  .d88  .1dd  .dfi  .hfe  .imd  .ipf  .mfi  .mfm  .td0  .cqm  .cqi
                  
                  • is there a similar quick load as SHIFT+F12 for tapes ?

                  Read this post, you could create a similar .cmd file for a bbcmicro game :
                  https://retropie.org.uk/forum/topic/28345/old-computer-appreciation-thread/1025
                  Don't know if there is an other way though.

                  You can find much information on :
                  https://www.mamedev.org/

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

                    @folly thank you.
                    btw if you keep pressed the SHIFT F12 on the wireless small KB autoload works on bbem.
                    So far with bbc im great

                    My ques above all were related to electron wiht mess. Ill test the fast fwrd

                    By the way the Elkulator is the best for instant loading.
                    The official side is missing the linux binary from the zip file. I wanted to test but needs compiling.
                    I think i saw online that someone compiled a binary for RPi but cant find

                    Elkulator v1.0 Linux supplement
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    
                    Compiling
                    ~~~~~~~~~
                    
                    You will need the following libraries :
                    
                    Allegro 4.x
                    OpenAL
                    ALut
                    Zlib
                    
                    Open a terminal window, navigate to the Elkulator directory then enter
                    
                    ./configure
                    make
                    
                    then ./elkulator to run.
                    
                    Elkulator has been tested on x86-32 and x86-64 machines. No other architecture is guaranteed
                    to work, and big-endian machines (eg PowerPC) almost certainly won't work.
                    
                    
                    Linux specifics
                    ~~~~~~~~~~~~~~~
                    
                    The menu is not available all the time. Press F11 to open it, then F11 to close again.
                    
                    The debugger is only available via the command line.
                    
                    Hardware line doubling mode is not available on Linux.
                    
                    Fullscreen mode doesn't appear to work correctly, at least on my machine. Elkulator takes over
                    the screen, but the resolution never changes.
                    
                    Video performance is noticeably slower than on Windows. This is largely due to the lack
                    of hardware acceleration support in Elkulator.
                    
                    
                    Tom Walker
                    b-em@bbcmicro.com
                    

                    I havent managed to load an ssd on electron yet

                    Your friend,
                    2Play!

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

                      @2play

                      Sorry misunderstood.

                      Will try electron with lr-mess. (.ssd should be supported : mame -listmedia electron )
                      Will do some search on that Elkulator.

                      1 Reply 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 thank you.

                        By the way the Elkulator is the best for instant loading.
                        The official side is missing the linux binary from the zip file. I wanted to test but needs compiling.
                        I think i saw online that someone compiled a binary for RPi but cant find

                        I compiled Elkulator successfully on the pi4.
                        But now I have to find the roms.
                        I did some guess work and added some blank dummy files.
                        It looks like it can work, here is the proof !

                        2021-06-02-174925_1600x900_scrot-resized.png

                        This is how I did the compile :

                        • Download the source :
                          https://github.com/stardot/elkulator
                        • Extract this and go to the directory with :
                        cd /home/pi/Downloads/elkulator-master
                        
                        • Install the packages (aclocal wasn't found, so I used autotools-dev instead) :
                        sudo apt-get install automake liballegro4-dev zlib1g-dev libalut-dev libopenal-dev autotools-dev
                        
                        • compile using :
                        aclocal -I m4
                        automake -a
                        autoconf
                        ./configure
                        make
                        
                        • Run Elkulator
                        ./elkulator
                        

                        (Edit : I found all the roms, which are shipped with the windows version 1.0 )
                        It will ask for the roms, one by one :

                        • os
                        • os300.rom
                        • adfs.rom
                        • dfs.rom
                        • basic.rom
                        • sndrom
                        • plus1.rom

                        All the correct sha1sum's are :

                        pi@raspberrypi:~/Downloads/elkulator-master $ sha1sum os;sha1sum *rom* | sort -k2
                        2863b45dc880a7ed91ad9828795a3eb5ed0bcdd4  os
                        e7c7a1094d50a3579751df2007269067c8ff6812  adfs.rom
                        4a7393f3a45ea309f744441c16723e2ef447a281  basic.rom
                        eaf340b64a0a747ec479e575cc7b07cf928fd845  dfs.rom
                        e759e77efd8073c74a04b3907adcca4c6edd1cc8  os300.rom
                        2de04ab7c81414d6c9c967f965c53fc276392463  plus1.rom
                        2e409b92c97cda34ff25c2951e5f799125fe7e32  sndrom
                        

                        Loading disks will work too, see explanation post :

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

                          @folly I will def compile and test. Much much appreciated your contrsuctive feedback and help
                          reverting my good friend

                          Your friend,
                          2Play!

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

                            @folly FANTASTIC!!!
                            Smooth like silk! instant boot as expected.

                            • F11 opens emu menu FYR!
                            • I have used rom files from orig win emu folder, (needs to change from capitals to lower case 3 of them)

                            printscreen06_02_2021--h18-m39-s25.jpg

                            printscreen06_02_2021--h18-m43-s35.jpg

                            Your friend,
                            2Play!

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

                              @2play

                              I tried electron with lr-mess, but I am missing 1 bios rom (os_basic.ic2), so I have to search for that.
                              What I found was that you talked about -flop1 but electron uses -flop.
                              Try that for a change, I think this is the solution.

                              btw.
                              How are you installing this ?
                              Are you doing this all by hand ?
                              You can use my script you know,

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