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.1k 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.
    • jamrom2J
      jamrom2
      last edited by jamrom2

      Re: new scriptmodules (lr-vice-xvic

      lr-mess-scv (Epoch Super Cassette Vision, fully working, just need to map joypad correctly)

      Anyone manage to map their controller to this one yet? I've got everything else I used (Astrocade, Apple, Acradia... etc) working right. But I can't seem to get my SNES style controller setup on this one.

      Thanks,

      JR

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

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

        Re: new scriptmodules (lr-vice-xvic

        lr-mess-scv (Epoch Super Cassette Vision, fully working, just need to map joypad correctly)

        Anyone manage to map their controller to this one yet? I've got everything else I used (Astrocade, Apple, Acradia... etc) working right. But I can't seem to get my SNES style controller setup on this one.

        Thanks,

        JR

        My controller is working OOB.
        But you have to start the game with the NUM-keys.
        It is mentioned in the package help when installing.

        Perhaps you can use this solution to map the NUM-keys to your controller 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

        EDIT :
        I was able to add "select" and "numkey-1" to my joystick.
        (input (this machine) 0=select 1=numkey-1)

        Here are some pictures of Super Cassette Vision :
        2021-01-03-151057_800x600_scrot-resized.png 2021-01-03-151648_800x600_scrot-resized.png

        jamrom2J 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!):

          Has anyone had any luck getting controls re-mapped for GSplus or lr-mess-apple2gs?

          Under GSPlus I can't seem to find much in the way of controller re-mapping and in several games, like Arkanoid for example, the controller just keeps going to the right no matter what I press.

          For lr-mess-apple2gs I can bring up the machine options by pressing SCROLL LOCK and then TAB but I can't figure out how to re-map buttons per game. It seems like I can only re-map globally and I'd have to do that for every game I load up because keyboard mappings might be different per game.

          Also can't seem to get some buttons mapped. Like Thexder seems to need the "Option" key mapped and I don't see that anywhere in the re-map options.

          If someone could point me in the right direction I would appreciate it. Thank you.

          I found a hackish solution to get the configs within a specific directory.
          With this solution it's possible to configure configs per game.

          Just comment these lines in the valerino run_mess script /home/pi/RetroPie-Setup/scriptmodules/run_mess.sh
          change :

          _cmdarr+=( "-cfg_directory" )
          _cmdarr+=( "$_cfgdir" )
          

          into :

          #_cmdarr+=( "-cfg_directory" )
          #_cmdarr+=( "$_cfgdir" )
          

          If you then put every game in a seperate directory.
          You get a game(s) specific config (mame/cfg/apple2gs.cfg) in the same directory.

          Example structure for one game :
          /home/pi/RetroPie/roms/apple2gs/airball/airball.zip
          /home/pi/RetroPie/roms/apple2gs/airball/mame/cfg/apple2gs.cfg

          Example structure for multiple games that use the same config :
          /home/pi/RetroPie/roms/apple2gs/your_specific_config/airball.zip
          /home/pi/RetroPie/roms/apple2gs/your_specific_config/<other_game>.zip (etc.)
          /home/pi/RetroPie/roms/apple2gs/your_specific_config/mame/cfg/apple2gs.cfg

          You will be able to copy configs between directory's so you don't have to configure twice for the buttons that are the same .

          1 Reply Last reply Reply Quote 1
          • roslofR
            roslof @Folly
            last edited by

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

            I have it working also.
            I can confirm, use the .rpk files.
            Nice !

            Yeah, ugh. Sorry I haven't been around to respond. The RPK requirement was listed in the scriptmodule, so when installing the script module via retropie-setup, select "Help" and this information will appear:

            Put BIOS file in <your biosdir>
              ti99_4a.zip (US/EU)
              ti99_evpc.zip (EVPC)
              ti99_speech.zip (Speech Module)
            For the TI-99/4A, MESS requires .rpk files, which are renamed ZIP files. They contain cartridge memory dumps and a layout.xml file, which informs the MESS which file belongs to which part of memory."
            

            Part of making these scriptmodules is to include this help information that would guide users to all requirements. So, good to check Help prior to spending days re-learning what was already learned.

            Cheers.

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

              @roslof

              Yep, you have got a point.
              We all have to read the help more often !

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

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

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

                Re: new scriptmodules (lr-vice-xvic

                lr-mess-scv (Epoch Super Cassette Vision, fully working, just need to map joypad correctly)

                Anyone manage to map their controller to this one yet? I've got everything else I used (Astrocade, Apple, Acradia... etc) working right. But I can't seem to get my SNES style controller setup on this one.

                Thanks,

                JR

                My controller is working OOB.
                But you have to start the game with the NUM-keys.
                It is mentioned in the package help when installing.

                Perhaps you can use this solution to map the NUM-keys to your controller 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

                EDIT :
                I was able to add "select" and "numkey-1" to my joystick.
                (input (this machine) 0=select 1=numkey-1)

                Here are some pictures of Super Cassette Vision :
                2021-01-03-151057_800x600_scrot-resized.png 2021-01-03-151648_800x600_scrot-resized.png

                I have the emulator working, where did you add those control input statements to? The config file? I don't see it as an option in the Retroarch controler menu.

                Nevermind... I forgot this is running in MAME... "tab" key opens the menu, you can map it from there.,.. done. Thank you anyway!

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