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.0k 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.
    • UDb23U
      UDb23 @valerino
      last edited by

      @valerino Understood, thanks.

      1 Reply Last reply Reply Quote 0
      • M
        mth75 @valerino
        last edited by

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

        added Coleco Adam

        i really hope all this gets added to the retropie distribution ..... i'll add a bunch of other emulators (and try to fix bbcmicro), then i'll retry to submit a pull request :)

        I for sure love your work. Missing emulators which can be added with lr-mess should be included (at least) in the retropie distro.

        1 Reply Last reply Reply Quote 0
        • M
          mth75 @valerino
          last edited by

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

          @roslof thanks for the addition, great!!! can you make me a pull request with all the emulators you added ?

          Note: I also updated all of your scripts. They were breaking extensions and removing the name for each system in es-systems.cfg. Feel free to review them and take what you'd like. I added a couple more too. Eg. Vectrex, Oric Atmos.

          btw, about the extension.... few commits ago i committed a fix to scriptmodules/helpers.sh. that was the culprit of adding one space more between the extension.
          also the name removing bug should be fixed in all (yesterday) versions of the scripts.

          EDIT: yep, i can confirm.
          https://github.com/roslof/RetroPie-Setup/commit/ae10af7f118df140c76a3434708469ed67ad8831 (your changes)
          https://github.com/valerino/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-mess-dragon32.sh (one of my script)

          you have somewhat outdated files, you probably took single files from my repo.
          never do that if you want to help developing: clone my repo and always git pull then commit your stuff, then do me a pull request :)
          this is because i also added stuff to retropie files helpers.sh and packages.sh, to avoid i.e. writing system name in multiple places (so that can be used in all scripts, not just lr-mess).
          awaiting your proper pull request so, great work!

          Isn't the Ti99 now added to the master?

          V 1 Reply Last reply Reply Quote 0
          • V
            valerino @mth75
            last edited by

            @mth75 not yet, i'm waiting for @roslof proper pull request. adding stuff manually to repos is the way to break things :)

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

              @valerino working on this now.

              1 Reply Last reply Reply Quote 2
              • C
                CCFox
                last edited by

                @valerino

                Thank you for your reply.

                I still can't get the xvic to work....This is what I have done:

                I have copied vice_xvic_libretro.so to the /opt/retropie/libretocores/lr-vice folder.

                I then copied the c64 emulator config file and replaced the c64 instruction with this:

                lr-vice = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_xvic_libretro.so --config /opt/retropie/configs/vic20/retroarch.cfg %ROM%"

                default = "lr-xvic"

                and saved it as vic20 and placed in a folder called vic20 in the /opt/retropie/configs folder

                I then copied the c64 entry and changed the details for the vic20 in the es_systems.cfg file:

                <system>
                <name>vic20</name>
                <fullname>Commodore VIC-20</fullname>
                <path>/home/pi/RetroPie/roms/vic20</path>
                <extension>.crt .prg .tap .zip .CRT .PRG .TAP .ZIP</extension>
                <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS vic20 %ROM%</command>
                <platform>vic20</platform>
                <theme>vic20</theme>
                </system>

                I took out the unrelated c64 rom extensions.

                And still no joy...Any further pointers?

                Thank you for your previous help

                CCF

                V 1 Reply Last reply Reply Quote 0
                • V
                  valerino @CCFox
                  last edited by

                  @CCFox why dont you simply use my script? clone my repo replacing RetroPie-Setup folder completely, then install lr-vice-xvic as normal.

                  1 Reply Last reply Reply Quote 0
                  • C
                    CCFox
                    last edited by

                    Valerino

                    I did copy the lr-vice-xvic.sh and relaunched the setup but I couldn't see the option for lr-vice-xvic.

                    I looked in the experimental etc and it wasn't there....What am I doing wrong?

                    Very new to this.

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

                      @CCFox

                      1. Exit RetroPie Setup
                      2. Be sure that lr-vice-xvic.sh is located in ~/RetroPie-Setup/scriptmodules/libretrocores
                      3. Restart RetroPie Setup
                      4. Manage Packages
                      5. exp
                      6. Scroll the list until you spot the package

                      Per Valerino, just clone his repo :)

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        valerino @roslof
                        last edited by

                        @roslof @CCFox it will not work, you will run in the missing system names/extensions. you need other updated files (scriptmodules/packages.sh and packages/helpers.sh).

                        it's really easier if you clone my repo....

                        1 Reply Last reply Reply Quote 0
                        • C
                          CCFox
                          last edited by

                          Valerino

                          I followed your instructions and successfully installed xvic and xplus4. xplus 4 works and loads games however xvic does not. When I launch a VIC-20 game it does state the lr-xvic emulator is the default emulator. I noticed that the es_systems.cfg file has updated to reflect the 2 new systems. Is there anything else I need to do?

                          Rgds

                          CCF

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            valerino @CCFox
                            last edited by

                            @CCFox

                            When I launch a VIC-20 game it does state the lr-xvic emulator is the default emulator. I noticed that the es_systems.cfg file has updated to reflect the 2 new systems. Is there anything else I need to do?

                            what happens ? due to what is mentioned in the post referenced here some carts may not work (emulator runs but game not start).
                            i may fix it later as i said in https://retropie.org.uk/forum/post/217729.
                            for now, my goal is to have the most possible emulators starting and running games with the default options.
                            can you confirm that the emulator starts but do not load game ? if so it's probably to the problem mentioned. try other games, i.e. tapes, other carts. they will work for sure.

                            1 Reply Last reply Reply Quote 0
                            • C
                              CCFox
                              last edited by

                              @valerino

                              Thank you for your reply.

                              I've tried around 30 games at random and it gets to the blue screen with the emulator box then goes back to emulation station. Doesn't even get to the ready screen.

                              Rgds

                              CCF

                              V 1 Reply Last reply Reply Quote 0
                              • V
                                valerino @CCFox
                                last edited by

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

                                I've tried around 30 games at random and it gets to the blue screen with the emulator box

                                can you be more clear about that ?
                                anyway, it seems you have something weird.

                                can you verify all of this and tell me if there's any differences ? thanks!

                                ~/RetroPie-Setup(master) » ls -l /opt/retropie/libretrocores/lr-vice-xvic                                                                                               total 3052
                                -rw-r--r--  1 root root   17989 Apr 20 10:17 COPYING
                                drwxr-xr-x 14 root root    4096 Apr 20 10:17 data
                                -rw-r--r--  1 root root      60 Apr 20 10:17 retropie.pkg
                                -rwxr-xr-x  1 root root 3095296 Apr 20 10:17 vice_xvic_libretro.so
                                
                                ~/RetroPie-Setup(master) » cat /opt/retropie/configs/vic20/emulators.cfg                                                                                                
                                lr-vice-xvic = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice-xvic/vice_xvic_libretro.so --config /opt/retropie/configs/vic20/retroarch.cfg %ROM%"
                                default = "lr-vice-xvic"
                                

                                and the following in /etc/emulationstation/es_systems.cfg:

                                8ef1746a-bcde-4451-af2b-24e0d4fcf380-image.png

                                1 Reply Last reply Reply Quote 0
                                • C
                                  CCFox
                                  last edited by

                                  Hello again Valerino

                                  Working!!!

                                  the es_systems file matches so that is OK.

                                  The files were all lr-vice-xvic folder.

                                  However the emulators.cfg didn't match what you had posted. So I cut and pasted what you had put and wahey it works!!!

                                  The information in the emulators.cfg file was a mixture of my earlier mistake and the commands that was generated by your quite excellent script.

                                  I will now backup everything you have said.

                                  Once again thank you very much for your help.

                                  Kind Regards

                                  CCF

                                  1 Reply Last reply Reply Quote 1
                                  • V
                                    valerino
                                    last edited by

                                    thanks to @roslof, i merged his additions into my repo!

                                    welcome lr-mess-oric, lr-mess-ti99, lr-mess-vectrex ! :)

                                    1 Reply Last reply Reply Quote 1
                                    • C
                                      CCFox
                                      last edited by

                                      Then a very big thank you to rosof as well! To you both...

                                      A lot of the games work fine with a joypad but still need a keyboard to play Blitz though.....I'll cope. Although the C64 and Plus 4/C16 versions work with a joypad, I don't get the same sense of nostalgia as I do with the VIC-20 version. Also the Plus 4/C16 version does seem to run a little slow I think.

                                      Now just need to create a Plus4/C16 screen for my combined Epic Noir/Chicuelo theme. I had already created one for the VIC-20. Just need to find a good bit of art for a C16/Plus4 game.

                                      Kind Regards

                                      CCF

                                      1 Reply Last reply Reply Quote 1
                                      • V
                                        valerino
                                        last edited by

                                        i suggest you all to update from my repo and reinstall all lr-mess scripts (or, if you prefer, do it messing with each generated emulators.cfg directly).

                                        i made changes to run_mess.sh to launch lr-mess with -cfg_directory parameter set to the 'fake core' directory. this way the lr-mess system specific (i.e. joystick) configuration persists across reboot.
                                        i didn't notice first, it 'seemed' to work since it was saved by default in /tmp. of course, after reboot it was cleaned up.

                                        as i said, unfortunately it requires you reinstall all lr-mess fake cores .... it will simply overwrites the emulators.cfg for each poiniting to the fixed run_mess.sh (which is now referenced directly from the RetroPie-Setup dir).

                                        cheers!

                                        Z 1 Reply Last reply Reply Quote 1
                                        • V
                                          valerino
                                          last edited by

                                          added MSX2, MSX2+, MSX2Turbo-R to lr-bluemsx.

                                          1 Reply Last reply Reply Quote 1
                                          • Z
                                            Zering @valerino
                                            last edited by

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

                                            i suggest you all to update from my repo and reinstall all lr-mess scripts (or, if you prefer, do it messing with each generated emulators.cfg directly).

                                            Sorry for asking what you guys are probably going to think is a noob question, but how do I do that?

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