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 264.4k 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.
    • V
      valerino @Zering
      last edited by

      @Zering hahah thanks. due to the lockdown here in italy i've much free time heheh :)
      anyway, i really don't know why this has never done before .... it's just a shell script, all emulators are already there :)

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

        @valerino Did you think about CD-I?

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

          @mth75 i'm doing it in (more or less) alphabetical order, based on the ones in hursty themes (i.e. https://github.com/RetroHursty69/es-theme-uniflyered). so, sure ... cdi will come :)

          EDIT: there you go, just committed lr-mess-cdi.sh :) you need .CHD games, i tested a bunch (defender of the crown, inca). read the help in my script to convert .cue/.bin to .chd, windows only unfortunately. when i have some time, i may do the same for unixes.

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

            How well does the CD-i games run with the script you've committed?

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

              @valerino I just submitted a new file for the Texas Instruments TI-99/4A

              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.

              As for the TI-99/4A:
              It supports three (3) emulator variants (US, Europe and EV-PC) EDIT: and now, SPEECH!
              It also correctly appends the MESS-required ".rpk" extension. which I explicitly added to the script, and let helper function addSystem() handle the rest.

              Excellent results, and Joystick controls fully working out of the box. :)

              TI99/4A Boot Screen:
              ti99-4a.jpg

              Parsec (of course!):
              parsec.jpg

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

                Hello all

                I am trying to get my vic 20 game to work however when I launch a game it defaults to c64 in lr-vice. I have tried to read and understand what is being written here but being honest it is a little over my head.

                can anybody give me any help regarding this...?

                Kind Regards

                CCF

                V 1 Reply Last reply Reply Quote 0
                • UDb23U
                  UDb23
                  last edited by UDb23

                  @CCFox Below are instructions for VICE. For LR-VICE @valerino should be able to support you.
                  Info on how to setup Vic20 as default for Vice (multiple options) : here.
                  You can even setup Vic20 as a separate System.

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

                    @Zering well, it depends on lr-mess how well they work, my script is just a launcher. anyway, they works mostly fine, maybe sound a bit laggy.

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

                      @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!

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

                        @CCFox you can use my RetroPie-Setup repo which have lr-vice-vic20 script.

                        alternatively, just copy https://github.com/valerino/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-vice-xvic.sh to your RetroPie-Setup/scriptmodules folder and relaunch the setup.

                        UDb23U 1 Reply Last reply Reply Quote 0
                        • UDb23U
                          UDb23 @valerino
                          last edited by

                          @valerino Does your script include the 3 options for launching vic-20 programs too?

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

                            @UDb23 looked into that post. unfortunately not.
                            it can be surely done in the same way i did for lr-mess (so doing a 'trampoline' script like run-mess.sh), as far as i see there's no way to add custom retroarch core options (as needed in lr-mess for every system, or as for these lr-vice options) directly from the installer using the default runcommand.sh.

                            this is the function which should be, imho, changed in retropie core scripts to support this in the proper way (so, without the need of something like my run_mess.sh):
                            https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/helpers.sh#L1276

                            as a side note, this probably may be done also via custom scripts as described in https://github.com/retropie/retropie-setup/wiki/runcommand. but, this is something the user must do later, messing with scripts and stuff. i'd really prefer an as-much-as-possible 'readymade' solution directly from the setup script.

                            i think some core devs should jump in this thread, i can do these changes for sure .... but messing with the core script is more invasive than what i'm doing now, so i'd prefer to hear their opinion :)

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

                              added Acorn Electron

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