• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 266.5k 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.
  • R
    roslof @CCFox
    last edited by roslof 26 Apr 2020, 15:38

    @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 26 Apr 2020, 16:06 Reply Quote 0
    • V
      valerino @roslof
      last edited by 26 Apr 2020, 16:06

      @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 26 Apr 2020, 16:42

        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 26 Apr 2020, 16:48 Reply Quote 0
        • V
          valerino @CCFox
          last edited by 26 Apr 2020, 16:48

          @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 26 Apr 2020, 16:56

            @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 26 Apr 2020, 17:10 Reply Quote 0
            • V
              valerino @CCFox
              last edited by 26 Apr 2020, 17:10

              @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 26 Apr 2020, 17:36

                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 26 Apr 2020, 18:13

                  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 26 Apr 2020, 21:27

                    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 26 Apr 2020, 21:31

                      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 27 Apr 2020, 13:48 Reply Quote 1
                      • V
                        valerino
                        last edited by 26 Apr 2020, 23:43

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

                        1 Reply Last reply Reply Quote 1
                        • Z
                          Zering @valerino
                          last edited by 27 Apr 2020, 13:48

                          @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 27 Apr 2020, 16:03 Reply Quote 0
                          • V
                            valerino @Zering
                            last edited by 27 Apr 2020, 16:03

                            @Zering uhm .... i assume you cloned my repo and replaced RetroPie-Setup.

                            so, simply

                            cd RetroPie-Setup
                            git pull
                            # then reinstall each of the lr-mess-blabla emulators, they will fix everything
                            ~/RetroPie/retropie_setup.sh

                            or, alternatively you can do all in one shot (this will reconfigure all lr-mess-xxx it finds).

                            cd ~/RetroPie-Setup/scriptmodules/libretrocores
                            for s in lr-mess-*.sh; do sudo ~/RetroPie-Setup/retropie_packages.sh ${s%.*} configure; done
                            Z 1 Reply Last reply 27 Apr 2020, 19:03 Reply Quote 0
                            • V
                              valerino
                              last edited by valerino 27 Apr 2020, 17:53

                              added lr-mess-m5.sh and lr-mess-gameduck.sh.

                              also fixed run_mess.sh to correctly support saving retroarch content directory overrides, and fixed a bug in lr-mess-ti994a.sh (need to be reinstalled). i added a note in the first post for whoever wants to add MESS systems using my scripts :)

                              R 1 Reply Last reply 27 Apr 2020, 19:06 Reply Quote 0
                              • Z
                                Zering @valerino
                                last edited by 27 Apr 2020, 19:03

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

                                @Zering uhm .... i assume you cloned my repo and replaced RetroPie-Setup.

                                Thanks for that. But actually it's cloning your repo and replacing RetroPie-Script I don't know how to do. ^^

                                V 1 Reply Last reply 27 Apr 2020, 19:12 Reply Quote 0
                                • R
                                  roslof @valerino
                                  last edited by roslof 27 Apr 2020, 19:06

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

                                  added lr-mess-m5.sh and lr-mess-gameduck.sh.

                                  also fixed run_mess.sh to correctly support saving retroarch content directory overrides, and fixed a bug in lr-mess-ti994a.sh (need to be reinstalled). i added a note in the first post for whoever wants to add MESS systems using my scripts :)

                                  Understood (about location of %ROM%). Curious, what was the side-effect?

                                  V 1 Reply Last reply 27 Apr 2020, 19:08 Reply Quote 0
                                  • V
                                    valerino @roslof
                                    last edited by 27 Apr 2020, 19:08

                                    @roslof i need it to be the last parameter so i can extract the rom directory from it, which is needed to support saving content directory overrides. if not, i would have needed to add another parameter to run_mess.sh and change all scripts in turn.

                                    1 Reply Last reply Reply Quote 1
                                    • V
                                      valerino @Zering
                                      last edited by 27 Apr 2020, 19:12

                                      @Zering make a backup of your original RetroPie-Setup, then in /home/pi:

                                      git clone http://github.com/valerino/RetroPie-Setup
                                      

                                      then follow my above post.

                                      unfortunately, until all this is properly added to official retropie this is the easier way ..... i'm keeping my repo updated with the upstream repo, anyway, don't worry.

                                      Z 1 Reply Last reply 28 Apr 2020, 08:53 Reply Quote 0
                                      • D
                                        dmmarti
                                        last edited by 27 Apr 2020, 19:53

                                        One thing I've noticed, your script creates 2 files in the /opt/retropie/configs/xxx folders being owned by user 'root'.

                                        -rw-r--r-- 1 root root 106 Apr 27 20:44 custom-core-options.cfg
                                        -rw-r--r-- 1 root root 76 Apr 27 20:44 retroarch.cfg.add

                                        Is there a specific reason for this instead of having them be "pi:pi"?

                                        If any updates are done within the Retroarch GUI (like mame_mouse_enable, etc), the changes are not saved since 'pi' does not own the file.

                                        V 1 Reply Last reply 27 Apr 2020, 20:11 Reply Quote 1
                                        • V
                                          valerino @dmmarti
                                          last edited by 27 Apr 2020, 20:11

                                          @dmmarti uhm no, you're right. gonna fix that in the next commit. thanks!

                                          1 Reply Last reply Reply Quote 0
                                          98 out of 545
                                          • First post
                                            98/545
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received