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.1m 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.
    • F
      Folly @jamrom2
      last edited by

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

      @folly I've been finishing up my CoCo2 list, and working on my CoCo3 now. I'm going to make a dedicated Tandy CoCo3 logo as well as I think it's warranted to seperate the two visually rather than just a Tandy logo.

      I'll play around with this tonight as well.

      Nice to hear !

      The CoCo2 list, is that a gamelist with media showing in emulationstation ?
      If so, we should add it to the google-drive of @DTEAM, so everyone can download it in the script.
      Can we make that possible ?

      jamrom2J 1 Reply Last reply Reply Quote 1
      • jamrom2J
        jamrom2 @Folly
        last edited by

        @folly I don't know if that would help anyone as far as meta-data. It's my gamelist based on whatever I named or used, so their ROMs would need to match whatever I have in my file.

        As much as I would love to share it all, it's definitely not a full list, and it's a lot of hand-picked games.

        But I will admit, I've done everything I can to use the best versions of box art I could find for every game system I have. I've even made some of my own when needed.

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

          @jamrom2

          I understand, all those different files and filenames can be a problem.

          Is it an idea to make a separate thread for making shareable ES gamelists with media and try to make some solutions for dealing with above issue ?

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

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

            @jamrom2

            I understand, all those different files and filenames can be a problem.

            Is it an idea to make a separate thread for making shareable ES gamelists with media and try to make some solutions for dealing with above issue ?

            Yes, it's a good idea but we should do that for MAME roms (.zip and .7z) only. Otherwise there are too many different kinds of roms names for a single game.

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

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

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

              @jamrom2

              I understand, all those different files and filenames can be a problem.

              Is it an idea to make a separate thread for making shareable ES gamelists with media and try to make some solutions for dealing with above issue ?

              Yes, it's a good idea but we should do that for MAME roms (.zip and .7z) only. Otherwise there are too many different kinds of roms names for a single game.

              Yes, that's a good start.

              I will make a new thread.
              I think we should reserve the first 4 posts for summarization.
              So I will take the first and the second posts.
              Can you take the third ?
              And @jamrom2 should take the fourth.

              That way all 3 of us can be the "admin" for the thread.
              The first can then redirect to the second,third and fourth post so we can all can be the "admin" of the thread or splitting up some summarisation tasks.

              Good idea ?

              DTEAMD jamrom2J 2 Replies Last reply Reply Quote 1
              • DTEAMD DTEAM referenced this topic on
              • DTEAMD
                DTEAM @Folly
                last edited by

                @folly
                I'll modify what I wrote in my third post depending what you will write in your first post.

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

                  @dteam

                  That's ok.
                  Lets see how it evolves, we are quite flexible now.

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

                    @dteam @jamrom2

                    I updated the script to version 240 using all improvements of the 238-test version.

                    1 Reply Last reply Reply Quote 1
                    • jamrom2J
                      jamrom2 @Folly
                      last edited by jamrom2

                      @folly Sounds good to me.

                      At this point, we'll need to post instructions on how this all works and some known issues like performace, interaction with command for certain auto-load cycles, and what keys might need to be remapped.

                      I think we can offer a basic list of gamelist.xmls based on what we tested with? Most of the TOSEC and other archived games are where people pull ROMs from. It's the other websites I used that might be a problem...and we can't point to those saying "use this site or our files".

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

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

                        At this point, we'll need to post instructions on how this all works and some known issues like performance, interaction with command for certain auto-load cycles, and what keys might need to be remapped.

                        That is indeed something that should be added.

                        We have multiple possibilities on how we can do this :

                        • add "instructions" to the script
                        • add instructions to the first post
                        • or separate the instructions to a new thread

                        We will have to think about it how we want to structure it.

                        jamrom2J 1 Reply Last reply Reply Quote 0
                        • jamrom2J
                          jamrom2 @Folly
                          last edited by

                          @folly

                          I vote for keeping it all in the thread we are making. It will be easier for users to keep open and work with the Pi/files at the same time....and easier for us to update as needed.

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

                            @jamrom2

                            Good argument, let keep it here.

                            1 Reply Last reply Reply Quote 0
                            • roslofR roslof referenced this topic on
                            • F
                              Folly
                              last edited by Folly

                              @2Play

                              I think you might be interested and I would like to ask you if you can test my latest commit to this script.
                              Read post 1 on how to install)

                              I merged the knowledge of my old Philips CDI script to this script now.
                              Basically when cdimono1 is installed then some patched configs are written to get :

                              • working mouse and mouse buttons
                              • full 4:3 screen without small display
                              • above fixes to work with lr-run_mess and plain media and basename lr-mess loaders

                              see commit 1
                              see commit 2

                              To use the basename loaders you can use this structure :
                              pi@raspberrypi:~/RetroPie/roms/cdimono1 $ find -name "arc*"
                              ~/RetroPie/roms/cdimono1/arcadecl.zip <=empty dummy file
                              ~/RetroPie/roms/cdimono1/arcadecl/arcade classics (1996)(namco - philips)(eu)[compilation].chd

                              @jamrom2 @DTEAM
                              Do you both like it too ?
                              Have some fun.

                              I did quite some testing and everything should be ok.
                              In above process I enable mouse for basename loaders for all systems too.
                              This could be an improvement when we load games, that use mouse, with the basename loaders in general.
                              But it can also mean that we run into some issues with some systems.
                              For the custom media loaders it was already enabled from the beginning and we never had any issues so I think we are good.

                              Can you both let me know if you run into problems ?

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

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

                                @jamrom2 @DTEAM
                                Do you both like it too ?
                                Have some fun.
                                I did quite some testing and everything should be ok.
                                In above process I enable mouse for basename loaders for all systems too.
                                This could be an improvement when we load games, that use mouse, with the basename loaders in general.
                                But it can also mean that we run into some issues with some systems.
                                For the custom media loaders it was already enabled from the beginning and we never had any issues so I think we are good.
                                Can you both let me know if you run into problems ?

                                I'll try it today!

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

                                  Downloading the gamelists and media with the script doesn't work correctly anymore.

                                  I have encountered this problem here :
                                  https://retropie.org.uk/forum/topic/32188/creating-es-gamelists-with-media-for-mame-lr-mess/13

                                  EDIT :
                                  Problem has been solved :
                                  MATT has updated his script, It's working again ;-)

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

                                    @Folly

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

                                    @jamrom2 @DTEAM
                                    Do you both like it too ?
                                    Have some fun.
                                    I did quite some testing and everything should be ok.
                                    In above process I enable mouse for basename loaders for all systems too.
                                    This could be an improvement when we load games, that use mouse, with the basename loaders in general.
                                    But it can also mean that we run into some issues with some systems.
                                    For the custom media loaders it was already enabled from the beginning and we never had any issues so I think we are good.
                                    Can you both let me know if you run into problems ?

                                    It's nice!
                                    I did a test with MSX2 (Sony ...) and Gamate. It works fine. Great job!!

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

                                      @Folly
                                      Do you think It could be possible to have save state slots per game for MAME and not per system like lr-mess does?

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

                                        @DTEAM

                                        I was thinking that both mame and lr-mess made per game save-states.

                                        Do have an example on what you do/what happens with both mame and lr-mess when making a save state ?
                                        Which loaders do you use ?

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

                                          @Folly

                                          For Lr-Mess, it's libretro core. So that's fine. For MAME, they use the driver (system) and not the game. It seems to be ok for Arcade games but not for console.

                                          Capture.PNG

                                          NEW EDIT: I found something. In /opt/retropie/configs/arcade arcadia
                                          They create a custom-core-options.cfg file. Probably Valerino script Inside we can see:

                                          mame_saves = "game"
                                          

                                          Maybe it's the solution.

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

                                            @DTEAM

                                            I see what you mean now.

                                            When pressing shift+F7 for saving you have to press a button and button-name is also the save-state name.
                                            Indeed that is something that isn't great.

                                            Will have a look here and there if I also can find something.

                                            My finding up till now is that I can make a dummy file.
                                            Then I can use this for saving the game under that name.
                                            The dummy file I made for the game E.T. :
                                            ET.png

                                            It's also possible to add the option -state_directory <a_specific_directory> in the loader which can contain the game name for instance.
                                            Could be a solution too.

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