RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Development of module-script generator for lr-mess, lr-mame and mame standalone

    Scheduled Pinned Locked Moved Ideas and Development
    developmentlr-messmamelr-mamescripts
    2.2k Posts 36 Posters 6.2m 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.
    • B
      bbilford83 @Folly
      last edited by

      @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

      Also FYI, I don't know if this is the case for all systems and I just never noticed, but for some reason VIS won't play any games that have an apostrophe - ' - anywhere in the title. Gives some weird syntax error in the runcommand log. But it works fine so long as I remove the apostrophe. Took me a while to figure out that was the problem!

      Yes, now you mention it.
      Indeed, if a game has a singel-quote - ' - lr-mame/lr-mess will refuse to work.
      It's the same reason why we can't add an empty joystick slot.
      It's because the options for mame in the libretro cores are added between the single-quotes.
      That is basically the only way we can add the options to the lr-mess/lr-mame libretrocores.
      If somehow an extra quote is in the middle of the added options the runcommand will be read until that quote assuming it's the last quote and therefor refuse to work.

      This makes sense... I bet I never noticed before because as long as I was keeping in mame softwarelist roms those never would have an apostrophe. The ones I'm using now have full titles in the names so those have possessive nouns in them. Thanks for the explanation!

      1 Reply Last reply Reply Quote 0
      • B
        bbilford83
        last edited by

        Quick update, I finished VIS and now instead of 21 entries the gamelist is 68 - I updated the list and art on google drive. The vast majority I had to find info from random websites, and pretty much everything it plays is terrible, but it is interesting history regardless. Crazy fact I learned... it sold for $699 when it was released in 1999. What a disaster.

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

          @bbilford83

          I will add VIS to my theme. You found something I didn't know existed. It looks like CDI. Can you share your gamelist again please, I lost your hyperlink.

          NEW EDIT : VIS (video information system) is now added to Cygnus Blue Flames theme

          I modified the mascot "canevas" for the theme , now it looks better.

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

            @DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

            @bbilford83

            I will add VIS to my theme. You found something I didn't know existed. It looks like CDI. Can you share your gamelist again please, I lost your hyperlink.

            NEW EDIT : VIS (video information system) is now added to Cygnus Blue Flames theme

            Yes it is just like CDI basically. Just seems to have failed even more spectacularly. And no problem on the link, here you go.

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

              @bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

              Just seems to have failed even more spectacularly.

              😆
              https://www.pcmag.com/news/the-worst-video-game-consoles-of-all-time

              B 1 Reply Last reply Reply Quote 0
              • R
                Retrodade @Folly
                last edited by

                @Folly keep us posted thanks

                1 Reply Last reply Reply Quote 0
                • R
                  Retrodade @bbilford83
                  last edited by Retrodade

                  @bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                  Tandy/Memorex "Visual Information System"

                  how do I get this working? any .sh to install? thanks

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bbilford83 @Retrodade
                    last edited by

                    @Retrodade said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                    @bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                    Tandy/Memorex "Visual Information System"

                    how do I get this working? any .sh to install? thanks

                    It's the same as all the other systems you can install with the script that's the subject of this thread, you just install the system for "vis." Then you need the viz.zip (bios) and roms in CHD format. You can use the software list ones but that's only about 20 and there are a lot more you can find in other sets.

                    R 1 Reply Last reply Reply Quote 1
                    • B
                      bbilford83 @DTEAM
                      last edited by

                      @DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                      @bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                      Just seems to have failed even more spectacularly.

                      😆
                      https://www.pcmag.com/news/the-worst-video-game-consoles-of-all-time

                      Interesting to see the C64GS on that list too! Though I think they lose credibility by not mentioning the XEGS or the LJN Videoart :).

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

                        @DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                        @bbilford83

                        I will add VIS to my theme. You found something I didn't know existed. It looks like CDI. Can you share your gamelist again please, I lost your hyperlink.

                        NEW EDIT : VIS (video information system) is now added to Cygnus Blue Flames theme

                        IMG_6978.jpg

                        I modified the mascot "canevas" for the theme , now it looks better ..... Maybe 😆

                        R 1 Reply Last reply Reply Quote 3
                        • R
                          Retrodade @bbilford83
                          last edited by

                          @bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                          CHD format

                          Thanks tho, the CHD format seems to be the stumper your gamelist and scrapes are available.?

                          B 1 Reply Last reply Reply Quote 0
                          • R
                            Retrodade @DTEAM
                            last edited by

                            @DTEAM nice!

                            1 Reply Last reply Reply Quote 1
                            • B
                              bbilford83 @Retrodade
                              last edited by

                              @Retrodade said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                              @bbilford83 said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                              CHD format

                              Thanks tho, the CHD format seems to be the stumper your gamelist and scrapes are available.?

                              Yes, I think they should actually be available even through the script but if not you can download them manually with the link I posted a few posts back, they are just up on my Google drive but in a publicly shared folder.

                              CHD shouldn't be too tricky, the MAME software list has a separate CHD collection available and all the others I used in the game list I also found via a very well-known public source. Wish I could be more specific but don't think I can given the rules, but a quick search should get you there.

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

                                First tests on the RPI5 without overclocking look good.
                                I installed a 64 bit Raspberrypi OS Debian12 Bookworm.
                                Installing the core packages from the Retropie-Setup work fine.
                                My script seems to work fine also.
                                And installing the gcc12 pre-compiled mame binary from the script, that was compiled on the Apple M1 in a Debian12 Bookworm VM, works fine too.
                                Running kgradius from konamih with artwork in mame, without frame-skipping, reveals that the speed is now about 50% VS 24% on a RPI4
                                Was hoping for 100%, sadly only 26% speed increase with this driver.

                                Edit :
                                Sadly the M1 mame binary only works OK from the Desktop environment.
                                Running it from the console in "lite" mode reveals a white screen.

                                R 2 Replies Last reply Reply Quote 1
                                • R
                                  Retrodade @Folly
                                  last edited by

                                  @Folly That is exciting news as the pi5 will slowly get more popular I feel it.
                                  I have a question, any system I add my retoarch has no ability to add bezels, are you able to do so?

                                  also hoping the more powerful pi5 allows more mame systems to run on it
                                  here is to a positive outcome!

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

                                    @Folly i had issue with this "add-ext-repos" at end it killed the set up i had to redo the set up, I tried twice both times same result
                                    have you had better luck with this by chance?

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

                                      @Retrodade said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                      @Folly i had issue with this "add-ext-repos" at end it killed the set up i had to redo the set up, I tried twice both times same result
                                      have you had better luck with this by chance?

                                      An old version doesn't work anymore because of github changes.
                                      I updated it to the changes but could be that it has more issues.
                                      I recommend not to use it.
                                      Just paste the scripts in manually.

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

                                        @Retrodade said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                        @Folly That is exciting news as the pi5 will slowly get more popular I feel it.
                                        I have a question, any system I add my retoarch has no ability to add bezels, are you able to do so?

                                        also hoping the more powerful pi5 allows more mame systems to run on it
                                        here is to a positive outcome!

                                        Seems you talk about adding them manually.

                                        I used my script for adding some bezels to the classich category.
                                        It revealed that these bezel pictures show, however they are not in sync with the games.

                                        Then I installed Orionsangels_Realistic_Overlays from my script.
                                        Here NO bezels are shown and that the shader seems to work OK.

                                        I have to investigate this more but indeed it seems that RetroArch has changed significantly and that some configs don't work anymore.

                                        Edit 1 :
                                        Running kgradius from konamih with an overlay in lr-mess looks OK though.

                                        Edit 2 :
                                        The lr-mess/lr-mame (full-mame versions) compiled with gcc10 for aarch64 work OK even in "lite" console mode on RPI5.

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

                                          Will reserve this post for updates about the progress about the issues about Bookworm and latest Retroarch in combination with RPI4 an RPI5 :

                                          @DTEAM @bbilford83 @Retrodade

                                          The first tests promised some good results but ouch that hurts.
                                          There seem to be quite some obstacles/issues on the way.
                                          The obstacles/issues are probably due to severe changes in probably both software and hardware (hardware at least for the RPI5).
                                          I will try not to post a lot about it and see from time to time if I can tackle these problems.
                                          All in all it's quite disappointing.
                                          My guess is that the latest Retroarch is the most responsible for these issues :
                                          - bezels not in sync with games (see fixes)
                                          - bezel pictures not shown when shader is also used (see fixes)
                                          - seems some options of lr-mess and lr-mame are not correctly read and therefor it's likely why mame hotkeys like checking frameskipping with F11 doesn't work (however could be due to something else, or even due to changes in lr-mame/lr-mess)(use game focus and hotkeys will work)
                                          My advice is not to update Retroarch to the latest 1.16.x(use game focus and hotkeys will work)

                                          The most irritating thing the is that my gcc12 pre-compiled mame M1 binary, which compiles in just 1 hour,
                                          doesn't work at all on the RPI4
                                          and for the RPI5 only in Desktop mode. (see facts)
                                          Also tested the gcc10 pre-compiled mame binary from stickfreaks on the RPI5 which also works in Desktop mode only. (see facts)
                                          Again, this probably means compiling mame directly on RPI4 and or on the RPI5 which will take loads of time and hoping that it works after that. (see facts)
                                          Though, we might be lucky on the RPI4 using the gcc10 pre-compiled mame binary. not needed anymore and doesn't work anymore from 265 and up

                                          Standalone MAME test facts :

                                          • compiling standalone mame on 64 bits Bookworm takes about 2:40 hours (done from the "lite" console in Retropie-Setup)
                                          • sadly the compiled standalone mame from RPI5 give the same garbage screen as the M1 compiled binary when started from the "lite" console environment
                                            • seems the same issue as described over here, here and here
                                              - a workaround is to put this SDL_RENDER_VSYNC=1 in front of the runcommand until a real fix comes along not needed anymore
                                              - the M1 binary works too with the workaround on the RPI5 not needed anymore
                                            • my kernel is now Linux 6.1.0-rpi7-rpi-2712 aarch64, looks like this issue is fixed in kernel 6.7 so it seems it will be fine in the future
                                              (the fix has been back-ported and is working now (31-01-2024) Linux raspberrypi 6.1.0-rpi8-rpi-2712)
                                          • running kgradius from konamih with artwork in mame, without frame-skipping, reveals that the speed is now about 50% VS 24% on a RPI4

                                          Retroarch + lr-mess/lr-mame test facts :
                                          - bezels like used in astrocmd from classich are not in sync with games
                                          - Retroarch 1.16.0 + lr-mess0261 on RPI4 in Bookwork 64 bits has this issue
                                          - Retroarch 1.15.0 + lr-mess0261 on RPI4 in Bullseye 32 bits has this issue too
                                          - seems not related to RPI5 only

                                          - bezel pictures not shown when shader is also used
                                          - Retroarch 1.16.0 + lr-mess0261 on RPI4 in Bookwork 64 bits has this issue
                                          - Retroarch 1.15.0 + lr-mess0261 on RPI4 in Bullseye 32 bits has this issue too
                                          - seems not related to RPI5 only

                                          lr-mess/lr-mame 266 would not compile on regular Debian VM Bookworm aarch64 on Apple M1. Says that it needs version 7 or higher of Clang. For Bookworm this should be good though it seemed like it was missing so installed the package but that didn't help (sudo apt install clang). On the RPI5 no problems so tried again on the M1. Then I removed the lr-mess source and removed clang entirely (sudo apt purge clang). Then I tried again and now it works.

                                          Fixes :

                                          • bezel pictures not shown when shader is also used is orted out now explained over here
                                          • bezel syncing problem is sorted out now explained over here.
                                          • a 64bits binary for RPI3 or higher can be compiled on the Apple M1 see here
                                          1 Reply Last reply Reply Quote 2
                                          • O
                                            OrionBunny @Folly
                                            last edited by

                                            @Folly hi, i am doing the layout for the games of the "entex select a game", "entex_sag" or "sag" (how is it named internally, but it doesn't matter what I do, it dont work, can someone please help me? before hand thanks n.n (its my first time doing a layout and i already can put the vectex layouts)

                                            i promise to share it for the use of everyone when all is done

                                            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.