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 270.8k 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.
    • TPRT
      TPR @Zering
      last edited by

      @zering Wait... I think I may have found it...

      For future reference: https://github.com/mamedev/mame

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

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

        @zering Wait... I think I may have found it...

        For future reference: https://github.com/mamedev/mame

        Earlier on, the hash tables were automatically installed on the computer in :
        /home/pi/RetroPie/BIOS/mame/hash
        But with lr-mess they don't anymore, i think.
        So thats why people didn't discribe much earlier about these hash tables.
        Because they where already there.
        I think thats changed now but I don't know why, either.

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

          @folly Tell me if I'm wrong - but if installing mess modules from scripts (*whether yours or valerino's) I don't think hash tables are necessary, or even useful.

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

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

            @folly Tell me if I'm wrong - but if installing mess modules from scripts (*whether yours or valerino's) I don't think hash tables are necessary, or even useful.

            Indeed, you are correct.

            These hash tables are only used when the core option is configured like this :

            mame_softlists_enable = "enabled"
            

            Because the scripts are now configuring like this :

            mame_softlists_enable = "disabled"
            

            hash tables for this purpose are not used anymore.

            1 Reply Last reply Reply Quote 0
            • DTEAMD
              DTEAM @Zering
              last edited by DTEAM

              @folly
              Quick question.
              Can we set frameskip = auto by default in the core option file (for all systems) or It's somewhere else ?

              TPRT F 2 Replies Last reply Reply Quote 0
              • TPRT
                TPR @DTEAM
                last edited by

                How can I get the 2nd controller working in lr-mess-astrocade? Games like Bally Pin require both controllers and in the MAME Menu I only see settings and re-mapping options for controller 1.

                Any ideas? Thank you.

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

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

                  @folly
                  Quick question.
                  Can we set frameskip = auto by default in the core option file (for all systems) or It's somewhere else ?

                  I will have a look at that.

                  I think the command is mame/mess specific.
                  Can't find it in the normal retroarch.cfg/retroarch-core-options.cfg

                  Here we have the commands we can use :
                  https://docs.mamedev.org/commandline/commandline-all.html#mame-commandline-frameskip

                  In this case it should be :
                  -autoframeskip

                  I tested it I am confident it can be added in the script.
                  But I am not so sure if it will improve much by adding this.

                  Perhaps more or something else can be added to improve stuff.
                  Would you like to test this manually before I change the script ?

                  For example, I did this with a500 :

                  /opt/retropie/configs/a500/emulators.cfg :
                  lr-mess-a500-flop = "/home/pi/RetroPie-Setup/scriptmodules/run_mess.sh /opt/retropie/emulators/retroarch/bin/retroarch /opt/retropie/libretrocores/lr-mess/mess_libretro.so /opt/retropie/configs/a500/retroarch.cfg a500 /home/pi/RetroPie/BIOS -numprocessors 3 -autoframeskip -flop %ROM%"
                  

                  We can also do something like this, instead :
                  -frameskip 2

                  I noticed that many systems require mouse to be enabled.
                  I would also like to enable it for all the systems.
                  But we have to test this too, if mouse enable-ing breaks systems.
                  Do you agree ?

                  ps. I have also been experimenting with the -autoboot option and a sort of .cmd file to boot games.
                  https://retropie.org.uk/forum/topic/28345/old-computer-appreciation-thread/1025
                  What do you think of this ?

                  DTEAMD 1 Reply Last reply Reply Quote 0
                  • DTEAMD
                    DTEAM @Folly
                    last edited by DTEAM

                    @folly

                    For the mouse, I always used "enabled" and I never had issue with that. If It cause problems, It's for specific systems.

                    For auto Frameskip = auto. With MAME standalone, It solved a lot of sound and speed issues. I talked about that here - bullet point 12. When I used this option in the MAME menu with Lr-MESS, It not seem to work. I don't now if It's a problem with Lr-Mess or It really doesn't affect the drivers. I Think It's the first option.

                    If the real effect of Frameskip = auto is like with MAME standalone, It will be spectacular for some machine. Also, I don't believe setting this option to default will slow down systems.

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

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

                      @folly

                      For the mouse, I always used "enabled" and I never had issue with that. If It cause problems, It's for specific systems.

                      For auto Frameskip = auto. With MAME standalone, It solved a lot of sound and speed issues. I talked about that here - bullet point 12.

                      This is on my bucket list.
                      But where to find al those games......

                      When I used this option in the MAME menu with Lr-MESS, It not seem to work. I don't now if It's a problem with Lr-Mess or It really doesn't affect the drivers. I Think It's the first option.

                      If the real effect of Frameskip = auto is like with MAME standalone, It will be spectacular for some machine. Also, I don't believe setting this option to default will slow down systems.

                      Ok, I will add mouse support and -autoframeskip to the 1.3alpha script.
                      Then we can see if there are any issues or improvement.

                      For those who don't know.
                      If you want to test this.
                      Update the system(s), you use, from this 1.3alpha script !

                      EDIT : It's added to my script now.

                      DTEAMD 2 Replies Last reply Reply Quote 0
                      • DTEAMD
                        DTEAM @Folly
                        last edited by DTEAM

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

                        This is on my bucket list.
                        But where to find al those games......

                        In the complete MAME romset 0.224 or later. Some games are in older version but It's unusual.

                        1 Reply Last reply Reply Quote 0
                        • DTEAMD
                          DTEAM @Folly
                          last edited by DTEAM

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

                          Ok, I will add mouse support and -autoframeskip to the 1.3alpha script.

                          I've try It and It works and not works.
                          The option is selected by default but It not run in Lr-Mess.
                          I had the same issue manually. Normally, when I use It with MAME standalone (frameskip = auto) you see the the number of frames you are skipping and It's in movement like this picture .

                          alt text

                          With frameskip = auto in Lr-MESS. It stayed at 0/10 and the % stay low for problematic systems tested (I tested GP32 and N64) and It's not normal.

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

                            @dteam

                            Ideed, I think it doesn't work correctly.
                            Perhaps an issue with the lr-mess part.

                            Pehaps we have to dig a bit deeper ;-)

                            DTEAMD 1 Reply Last reply Reply Quote 0
                            • DTEAMD
                              DTEAM @Folly
                              last edited by

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

                              Ideed, I think it doesn't work correctly.
                              Perhaps an issue with the lr-mess part.
                              Pehaps we have to dig a bit deeper ;-)

                              If this problem were fixed, Lr-Mess would have better performance for many systems on Pi.

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

                                @dteam 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!):

                                Ideed, I think it doesn't work correctly.
                                Perhaps an issue with the lr-mess part.
                                Pehaps we have to dig a bit deeper ;-)

                                If this problem were fixed, Lr-Mess would have better performance for many systems on Pi.

                                Tried the source code version with amiga.
                                It only shows for 10 seconds after pressing scrollock, F8.
                                But no changes with auto also.

                                Mmmmm....???

                                EDIT:
                                I tried kgradius in lr-mess.
                                I had to find out how to run in lr-mess.
                                I runned it with the normal installed lr-mess from /home/pi/RetroPie/roms/arcadia/kgradius.cmd .
                                Put the rom kgraius.zip in the BIOS directory.
                                Placed this text in kgradius.cmd :

                                kgradius
                                

                                When pressing F8/F9 I turned on autoframeskip. (no scrollock needed here)
                                Frameskipping works with this rom !

                                2020-12-17-212017_800x600_scrot-resized.png 2020-12-17-212020_800x600_scrot-resized.png

                                I will try Amiga this way :
                                Found something.
                                Pressing F10 (edit : F11 keeps showing it) seems to activate the autoframeskipping.(numbers change now)
                                For Amiga it doesn't have much effect.
                                But can you try it with something else @DTEAM ?

                                1 Reply Last reply Reply Quote 1
                                • F
                                  Folly
                                  last edited by Folly

                                  @DTEAM

                                  When trying the kgradius handheld I realised that many systems that have no media also work good with lr-mess.

                                  It would be nice if I can implement this in the script, so there are also scripts generated for the <none> media systems.

                                  I am now working on a part in the script so scripts can be generated that can run "command files" (.cmd).
                                  I already created a lr-mess alike script to test the theory and this works.
                                  But I want to connect the separate custom-core-configs. That can be a challange.

                                  Nice thing about the .cmd script is that it doesn't use the run_mess from valerino anymore.
                                  Also multiple media can be booted in one time.
                                  And maybe we can add autoboot functions also. (I think a database is required)
                                  Drawback is that you have to make .cmd files for your games to run. (Maybe they can be generated automatically)
                                  But perhaps you can also use an "autodetect media" function.

                                  For those handhelds this could also be a solution.
                                  And I think it can be sorted on, for example "Game and Watch".
                                  So the all the game and watch games come in the game and watch section.
                                  As described in my kgradius post, standard the game file is now in the BIOS directory.
                                  Alternatively it should be good to use the roms/system directory for this instead.

                                  I have to stucture this and come up with a good idea to implement this.

                                  Good idea ?

                                  DTEAMD 1 Reply Last reply Reply Quote 0
                                  • DTEAMD
                                    DTEAM @Folly
                                    last edited by DTEAM

                                    @folly

                                    For systems from Tutorial: Handheld and Plug & Play systems with MAME It should be nice to set It with your approach. The challenge will be the games controllers mapping. With MAME standalone It's pretty easy to set up, but It should be the same if people go in the MAME / MESS setting menu with Lr-Mess.

                                    On my side I'll try a reverse approch. I'll try to run GP32 with MAME standalone. Will see what will happens.--> no success for now

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

                                      @dteam

                                      I don't have the script ready yet but it's progressing.
                                      I already installed the first extra generated script for gameandwatch to test some things. ( still have to do a lot with extensions and perhaps configs )
                                      I don't know why, but I didn't even need a custom .cmd file,
                                      I could just run the .zip from the games roms directory.

                                      Sadly I came across a problem with the artwork in combination with lr-mess.
                                      It seems that they are in high resolution and forces lr-mess to also run in that resolution.
                                      Then the game isn't playable anymore because it becomes really slow.
                                      Autoskipping seems to work but doesn't have the effect needed.

                                      Do you have some expertise in how these layouts files are written ?
                                      I would like to make a layout for just the display in low resolution format.
                                      For example 800x600, just to test if it improves speed and also have the game in fullscreen.

                                      DTEAMD 1 Reply Last reply Reply Quote 0
                                      • DTEAMD
                                        DTEAM @Folly
                                        last edited by DTEAM

                                        @folly
                                        Did you run It on a Pi4 or Pi3.
                                        Did you run It with Lr-Mess or MAME. Frameskip must be set to auto. I run It with MAME.

                                        config.txt (me, screen setup)
                                        hdmi_group = 1
                                        hdmi_mode = 4

                                        I,ll give you my setup for Pi3 and Pi4 later today

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

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

                                          @folly
                                          Did you run It on a Pi4 or Pi3.
                                          Did you run It with Lr-Mess or MAME. Frameskip must be set to auto. I run It with MAME.

                                          config.txt (me, screen setup)
                                          hdmi_group = 1
                                          hdmi_mode = 4

                                          I,ll give you my setup for Pi3 and Pi4 later today

                                          I use a PI4 and lr-mess.

                                          DTEAMD 1 Reply Last reply Reply Quote 0
                                          • DTEAMD
                                            DTEAM @Folly
                                            last edited by DTEAM

                                            @folly

                                            Ok
                                            Sorry, I showed you my setup for Pi3

                                            I played Zelda (Game and Watch) and I completed It at full speed (frameskip = auto) on a Pi3 with the artworks and with MAME standalone. Maybe It's a problem with frameskip and lr-Mess.

                                            For Pi4, I run It on a small screen (5 inch), so my setup not gonna work on a regular TV

                                            PI4
                                            config.txt

                                            hdmi_force_hotplug=1

                                            #OVERCLOCK
                                            over_voltage=8
                                            v3d_freq=850
                                            arm_freq=2100
                                            #--------------------------------------------------------------

                                            #dtoverlay=vc4-fkms-v3d
                                            #overscan_scale=1
                                            avoid_warnings=1
                                            #---------------------------------------------------------------------
                                            hdmi_group=2
                                            hdmi_mode=1
                                            hdmi_mode=87
                                            hdmi_cvt=800 480 60 6 0 0 0
                                            dtparam=spi=on
                                            dtparam=i2c_arm=on

                                            disable_audio_dither=1


                                            For Pi3 (must be use with a 5,25 V 3 A Power Adapter) for normal TV
                                            config.txt

                                            hdmi_group=1
                                            hdmi_mode=4

                                            #OVERCLOCK
                                            gpu_mem=128
                                            kernel=zImage
                                            arm_freq=1375
                                            core_freq=525
                                            gpu_freq=525
                                            over_voltage=3
                                            force_turbo=1
                                            sdram_freq=625
                                            sdram_schmoo=0x02000020
                                            over_voltage_sdram_p=4
                                            over_voltage_sdram_i=3
                                            over_voltage_sdram_c=3
                                            dtparam=sd_overclock=100

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