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.9k 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
      Firebird_WS6
      last edited by

      I got lr-mess working on my Pi4 with the BBC-Micro script. However I have a couple of problems. My Pi4 is installed in a PiBoy DMG handheld and I can't get any of the built in controller buttons to work with the BBC emulator. I tried with the game chuckie egg to redefine the controls in game so that they match what keys should be available per Retroarch port1 input but that doesn't work. As I understand it, there should be a mess mapping menu available with the Tab key, but plugging a keyboard in and hitting Tab doesn't do anything.

      The other problem I have if executing the Shift F12 to start the game. I can't figure out a way to map shift F12 to a built in controller button. Isn't there a way that the start up script could execute the game?

      Finally, more of a nice to have than essential, I'd like to hide the LEDs and have the game go to full screen. I don't really need the LEDs. I don't know where there's any emulator settings for this though?

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

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

        I got lr-mess working on my Pi4 with the BBC-Micro script. However I have a couple of problems. My Pi4 is installed in a PiBoy DMG handheld and I can't get any of the built in controller buttons to work with the BBC emulator. I tried with the game chuckie egg to redefine the controls in game so that they match what keys should be available per Retroarch port1 input but that doesn't work. As I understand it, there should be a mess mapping menu available with the Tab key, but plugging a keyboard in and hitting Tab doesn't do anything.

        You have to use "scroll-lock" with systems that use a keyboard, switching "game-focus".
        So if tab doesn't work directly, then you have to activate it with the scroll-lock key first.
        After you have edited in the menu, use "scroll-lock" again, to switch back.

        The other problem I have if executing the Shift F12 to start the game. I can't figure out a way to map shift F12 to a built in controller button. Isn't there a way that the start up script could execute the game?

        Never tried to map keys to a joystick, with BBC-micro, myself.
        But you can try it in the lr-mess menu.

        I above doesn't work, you can try to map keys to your joystick in the RetroArch menu, discussed here :
        https://retropie.org.uk/forum/topic/26220/keyboard-mapping-to-gamepad-for-msx-msx2/3
        And here :
        https://retropie.org.uk/forum/topic/28345/old-computer-appreciation-thread/729

        Finally, more of a nice to have than essential, I'd like to hide the LEDs and have the game go to full screen. I don't really need the LEDs. I don't know where there's any emulator settings for this though?

        Go into the lr-mess menu with "tab".
        Select "video-mode".
        Now you can select a mode without keyboard-LEDs.

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

          @folly Thanks for your reply, I'll try your tips out!

          1 Reply Last reply Reply Quote 0
          • I
            iainjh
            last edited by

            Hello

            my Pi is in an Acorn Electron keyboard and consequently does not have a scroll-lock.

            Is that key hard-coded or is there a way for me to remap it elsewhere? Is there an .rc or other file I can configure?

            TIA!

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

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

              Hello

              my Pi is in an Acorn Electron keyboard and consequently does not have a scroll-lock.

              Is that key hard-coded or is there a way for me to remap it elsewhere? Is there an .rc or other file I can configure?

              TIA!

              Hi,

              Seems you can do this :
              https://www.mameworld.info/ubbthreads/showflat.php?Number=364049

              1 Reply Last reply Reply Quote 1
              • ohmycommodoreO
                ohmycommodore @valerino
                last edited by

                @valerino Just catching up on this after seeing it a few months ago... So this is now available to install within RetroPie, in the RPi-Setup menu? What is it called there?

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

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

                  @valerino Just catching up on this after seeing it a few months ago... So this is now available to install within RetroPie, in the RPi-Setup menu? What is it called there?

                  To install things, you have to use the branch from @valerino, look at the first post.
                  Read this post thoroughly and look at the NOTES !
                  Click the link in the first post and read the readme on Github on how to install.

                  Edit :
                  My advice : install lr-mess from the binary (if you don't have a specific reason to use the source one).

                  1 Reply Last reply Reply Quote 0
                  • J
                    jmoose
                    last edited by jmoose

                    @valerino Running into problems with the script, ive installed the MESS emulator several times and all was working fine, then I tried to do a clean install on a freshly downloaded version of Retropie &followed the steps from your read me file.
                    I've been trying to get it working for the last week and all I get is the same error, any help would be appreciated.

                    here is a copy of the log where it stops doing its thing

                    code_text
                    ```Compiling src/lib/formats/mdos_dsk.cpp...
                    Compiling src/lib/formats/mfi_dsk.cpp...
                    Compiling src/lib/formats/mfm_hd.cpp...
                    Compiling src/lib/formats/mm_dsk.cpp...
                    Compiling src/lib/formats/ms0515_dsk.cpp...
                    Compiling src/lib/formats/msx_dsk.cpp...
                    Compiling src/lib/formats/mtx_dsk.cpp...
                    Compiling src/lib/formats/mz_cas.cpp...
                    g++: fatal error: Killed signal terminated program cc1plus
                    compilation terminated.
                    make[2]: *** [frontend.make:1332: ../../../../libretro/obj/libretro/src/frontend/mame/luaengine.o] Error 1
                    make[1]: *** [Makefile:88: frontend] Error 2
                    make[1]: *** Waiting for unfinished jobs....
                    Compiling src/lib/formats/nanos_dsk.cpp...
                    Compiling src/emu/emumem_hedr1.cpp...
                    Compiling src/lib/formats/nascom_dsk.cpp...
                    Compiling src/lib/formats/naslite_dsk.cpp...
                    Compiling src/lib/formats/nes_dsk.cpp...
                    Compiling src/lib/formats/nfd_dsk.cpp...
                    Compiling src/lib/formats/opd_dsk.cpp...
                    Compiling src/lib/formats/orao_cas.cpp...
                    Compiling src/lib/formats/oric_dsk.cpp...
                    Compiling src/lib/formats/oric_tap.cpp...
                    Compiling src/lib/formats/os9_dsk.cpp...
                    Compiling src/lib/formats/p2000t_cas.cpp...
                    Compiling src/lib/formats/p6001_cas.cpp...
                    Compiling src/lib/formats/pasti_dsk.cpp...
                    Compiling src/lib/formats/pc98_dsk.cpp...
                    Compiling src/lib/formats/pc98fdi_dsk.cpp...
                    Compiling src/lib/formats/pc_dsk.cpp...
                    Compiling src/lib/formats/phc25_cas.cpp...
                    Compiling src/lib/formats/pk8020_dsk.cpp...
                    Compiling src/lib/formats/pmd_cas.cpp...
                    Compiling src/lib/formats/poly_dsk.cpp...
                    Compiling src/lib/formats/ppg_dsk.cpp...
                    Compiling src/lib/formats/primoptp.cpp...
                    In file included from ../../../../../src/emu/emumem_hedr1.cpp:5:
                    ../../../../../src/emu/emumem_hedr.ipp: In member function ‘void handler_entry_read_dispatch<HighBits, Width, AddrShift, Endian>::enumerate_references(handler_entry::reflist&) const [with int HighBits = 5; int Width = 2; int AddrShift = 3; endianness_t Endian = (endianness_t)1]’:
                    ../../../../../src/emu/emumem_hedr.ipp:65:2: internal compiler error: Segmentation fault
                      for(auto &d : m_dispatch_array)
                      ^~~
                    0xb6a6411f ???
                    	../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
                    0xb6a4e717 __libc_start_main
                    	/build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308
                    Please submit a full bug report,
                    with preprocessed source if appropriate.
                    Please include the complete backtrace with any bug report.
                    See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
                    make[2]: *** [emu.make:2096: ../../../../libretro/obj/libretro/src/emu/emumem_hedr1.o] Error 1
                    make[2]: *** Waiting for unfinished jobs....
                    Compiling src/lib/formats/pyldin_dsk.cpp...
                    Compiling src/lib/formats/ql_dsk.cpp...
                    Compiling src/lib/formats/rk_cas.cpp...
                    Compiling src/lib/formats/rx50_dsk.cpp...
                    Compiling src/lib/formats/sc3000_bit.cpp...
                    Compiling src/lib/formats/sdd_dsk.cpp...
                    Compiling src/lib/formats/sdf_dsk.cpp...
                    Compiling src/lib/formats/sf7000_dsk.cpp...
                    Compiling src/lib/formats/smx_dsk.cpp...
                    Compiling src/lib/formats/sol_cas.cpp...
                    Compiling src/lib/formats/sorc_cas.cpp...
                    Compiling src/lib/formats/sorc_dsk.cpp...
                    Compiling src/lib/formats/sord_cas.cpp...
                    Compiling src/lib/formats/spc1000_cas.cpp...
                    Compiling src/lib/formats/st_dsk.cpp...
                    Compiling src/lib/formats/svi_cas.cpp...
                    Compiling src/lib/formats/svi_dsk.cpp...
                    Compiling src/lib/formats/swd_dsk.cpp...
                    Compiling src/lib/formats/tandy2k_dsk.cpp...
                    Compiling src/lib/formats/td0_dsk.cpp...
                    Compiling src/lib/formats/thom_cas.cpp...
                    Compiling src/lib/formats/thom_dsk.cpp...
                    Compiling src/lib/formats/ti99_dsk.cpp...
                    Compiling src/lib/formats/tiki100_dsk.cpp...
                    Compiling src/lib/formats/trd_dsk.cpp...
                    Compiling src/lib/formats/trs80_dsk.cpp...
                    Compiling src/lib/formats/trs_cas.cpp...
                    Compiling src/lib/formats/tvc_cas.cpp...
                    Compiling src/lib/formats/tvc_dsk.cpp...
                    Compiling src/lib/formats/tzx_cas.cpp...
                    Compiling src/lib/formats/uef_cas.cpp...
                    Compiling src/lib/formats/uniflex_dsk.cpp...
                    Compiling src/lib/formats/upd765_dsk.cpp...
                    Compiling src/lib/formats/vdk_dsk.cpp...
                    Compiling src/lib/formats/vector06_dsk.cpp...
                    Compiling src/lib/formats/vg5k_cas.cpp...
                    Compiling src/lib/formats/victor9k_dsk.cpp...
                    Compiling src/lib/formats/vt_cas.cpp...
                    Compiling src/lib/formats/wavfile.cpp...
                    Compiling src/lib/formats/wd177x_dsk.cpp...
                    Compiling src/lib/formats/x07_cas.cpp...
                    Compiling src/lib/formats/x1_tap.cpp...
                    Compiling src/lib/formats/xdf_dsk.cpp...
                    Compiling src/lib/formats/zx81_p.cpp...
                    Archiving libformats.a...
                    make[1]: *** [Makefile:82: emu] Error 2
                    make: *** [makefile:1426: linux] Error 2
                    Removing additional swap
                    /home/pi/RetroPie-Setup
                    Could not successfully build lr-mess - MESS emulator - MESS Port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mess/mess_libretro.so not found).
                    
                    Log ended at: Mon 18 Jan 18:11:52 GMT 2021
                    Total running time: 0 hours, 45 mins, 48 secs```
                    code_text
                    

                    thank you

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

                      @jmoose

                      Why don't you install the binary version ?

                      J 2 Replies Last reply Reply Quote 0
                      • J
                        jmoose @Folly
                        last edited by

                        @folly I'll give it a go, I'll let you know if I run into any problems.

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

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

                          @folly I'll give it a go, I'll let you know if I run into any problems.

                          I am now building it to see if I get the error.
                          But this can take up to 4 hours.

                          Last month it compiled fine.
                          But I always notice that the pi gets really hot while compiling.
                          You have to make sure it will stay cool.

                          For me there was only 1 reason to compile.
                          There is an update on the P2000T which will then support cas files.

                          What is your reason to compile it ?

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jmoose @Folly
                            last edited by

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

                            @jmoose

                            Why don't you install the binary version ?

                            Well that was a lot easier and works, cheers @Folly, that will save me loads of time if I have to do it again

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

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

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

                              @jmoose

                              Why don't you install the binary version ?

                              Well that was a lot easier and works, cheers @Folly, that will save me loads of time if I have to do it again

                              Nice to hear it's working now.
                              Enjoy !

                              1 Reply Last reply Reply Quote 0
                              • J
                                jmoose @Folly
                                last edited by

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

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

                                @folly I'll give it a go, I'll let you know if I run into any problems.

                                I am now building it to see if I get the error.
                                But this can take up to 4 hours.

                                Last month it compiled fine.
                                But I always notice that the pi gets really hot while compiling.
                                You have to make sure it will stay cool.

                                For me there was only 1 reason to compile.
                                There is an update on the P2000T which will then support cas files.

                                What is your reason to compile it ?

                                wanting to have a play around with bbc, electron & Phillips cdi.
                                it used to compile fine for me up until a week or so ago, then I started to get the 'couldn't find mess_libretro.so " error.
                                I always built it from source, just followed @valerino instructions.

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

                                  @jmoose

                                  I think on the time he was writing the instructions, you could only compile from source. But now the binary has been added.
                                  Perhaps @valerino is willing to edit this post.

                                  I think bbc, electron & Phillips cdi will all work with the binary though. ;-)

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

                                    @jmoose

                                    Mine crashed now while compiling.
                                    So, I stop for now.
                                    Perhaps some another time.

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      jmoose @Folly
                                      last edited by

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

                                      @jmoose

                                      Mine crashed now while compiling.
                                      So, I stop for now.
                                      Perhaps some another time.

                                      was it about 1hr into the install? thats what ive narrowed it down to, tried it on ssd, usb and sd.
                                      Anyway thanks for your help @Folly , at least if its a bug or something has changed @valerino can maybe have a look into it

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

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

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

                                        @jmoose

                                        Mine crashed now while compiling.
                                        So, I stop for now.
                                        Perhaps some another time.

                                        was it about 1hr into the install? thats what ive narrowed it down to, tried it on ssd, usb and sd.
                                        Anyway thanks for your help @Folly , at least if its a bug or something has changed @valerino can maybe have a look into it

                                        Yes about an hour, when i clicked the terminal.
                                        But the last few days my pi4 gets stuck more often, I just installed a cooler.
                                        Hope it get's better.

                                        I looked at both branches but Valerino didn't edit this file.
                                        It's the same as from the original RetroPie-setup.
                                        Perhaps it's best to try it again in a few weeks.
                                        Maybe it's an issue in lr-mess.

                                        1 Reply Last reply Reply Quote 0
                                        • TPRT
                                          TPR
                                          last edited by

                                          I just had a look through this thread and I couldn't find any reference to this, but has anyone gotten lr-mess-vectrex up and running with overlays yet? Thinking about going down that rabbit hole but wondering if there has been anyone who has done it yet before I attempt it?

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

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

                                            I just had a look through this thread and I couldn't find any reference to this, but has anyone gotten lr-mess-vectrex up and running with overlays yet? Thinking about going down that rabbit hole but wondering if there has been anyone who has done it yet before I attempt it?

                                            Yes, that works !
                                            You can use the same methode as used with lr-vecx.

                                            I have some background information about that in my repository :
                                            https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-scripts-00#run-with-a-backgroundoverlay-picture-for-handheld-or-vextrex-with-retroarch-in-lr-mess

                                            So if you already have the overlays working, they should also work with lr-mess.

                                            For handhelds I made a script that will generate these configs :
                                            https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scripts-00/generate-overlay-configs.sh
                                            The goal is to add vectrex also sometime.

                                            btw,
                                            Speech synthesis works with lr-mess, with lr-vecx this is an issue.
                                            https://retropie.org.uk/forum/topic/29077/vectrex-speech-synthesis

                                            TPRT 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.