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.5m 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 @JimmyFromTheBay
      last edited by Folly

      @jimmyfromthebay

      Use hotkey "space" to speed up the loading in lr-mess !
      If a libretro-core supports it (lr-mess does), then press hotkey F2 for save and press hotkey F4 for load.

      I think you can also make save-states in the mame menu (use tab).

      J 1 Reply Last reply Reply Quote 0
      • J
        JimmyFromTheBay @Folly
        last edited by

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

        @jimmyfromthebay

        Use hotkey "space" to speed up the loading in lr-mess !
        If a libretro-core supports it (lr-mess does), then press hotkey F2 for save and press hotkey F4 for load.

        I think you can also make save-states in the mame menu (use tab).

        Yes, I know how to make a savestate, it's what I do for most systems with tape loading. But although it works for most of them it doesn't work for PC-6xxx. The savestate does nothing when loaded back in.

        (Space is doing nothing for loading speed either.)

        Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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

          @jimmyfromthebay

          Are your hotkeys working ?

          Tried it with save and load.
          Indeed you are right.
          It seems to be an issue with lr-mess.

          J 1 Reply Last reply Reply Quote 0
          • J
            JimmyFromTheBay @Folly
            last edited by

            @folly PC-6xxx emulation just seems to be really fragile. As well as savestates not working, if you make a game config file for the overclock setting, many games won't load at all - when you type RUN it gives you an error. You have to load them at default, then change the overclock manually after the game starts.

            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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

              @jimmyfromthebay

              We should be realistic here.
              As you problably already know the mamedev package has always issues, that's because it's so huge and many people are working on it.
              Hopefully in time they will fix it.

              So I can't fix these problems with mame and lr-mess.
              That's another story and not really part of my script development.
              Perhaps I can place the issues on github,.
              Well I have to think about that if this is feasible for me.

              J 1 Reply Last reply Reply Quote 0
              • J
                JimmyFromTheBay @Folly
                last edited by

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

                @jimmyfromthebay

                We should be realistic here.
                As you problably already know the mamedev package has always issues, that's because it's so huge and many people are working on it.
                Hopefully in time they will fix it.

                So I can't fix these problems with mame and lr-mess.
                That's another story and not really part of my script development.
                Perhaps I can place the issues on github,.
                Well I have to think about that if this is feasible for me.

                Haha, I wasn't expecting you to fix the entire emulator, I was just chatting at this point :D

                Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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

                  @jimmyfromthebay

                  Haha, what a releaf !!!

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JimmyFromTheBay @Folly
                    last edited by JimmyFromTheBay

                    @folly Here's one bug that might be in your field, though: I've noticed with a lot of these emulators enabled through this method, you can only set a specific emulator for a ROM once. If you try to change it a second time, or simply to delete the preference, it won't do it and you're stuck with your first choice.

                    You can fix the problem by going into /opt/retropie/configs/all/emulators.cfg and manually deleting the line, but that's the only way.

                    Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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

                      @jimmyfromthebay

                      I have had never problems with switching.
                      But I will have a look.

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

                        To all,

                        There was still an issue with the descriptions as there wasn't a correct sorting yet.

                        I have added sorting functions for sorting both systems and system descriptions.
                        The sorting is done before the information goes to the sub-menus.

                        This is quite an improvement and the sorting doesn't slow down the script ;-)

                        https://github.com/FollyMaddy/RetroPie-Share/commit/a2ce212147d549fedd24ccf8e0239cf609d365e8

                        D 1 Reply Last reply Reply Quote 2
                        • D
                          dmmarti @Folly
                          last edited by

                          I've slowly been working on getting some of the MESS systems up and running using the scripts from @valerino, @Folly, @DTEAM, and others as a guide.

                          I've created an online Google sheets document of my efforts along with usage notes, etc for them.

                          It's a WIP document still so things will change as time goes on. But hopefully it proves useful to some.

                          Also...don't forget about using the built-in Retroarch translation tool. It comes in very handy for a some of these games!

                          Here's the link to the spreadsheet I'm working on.

                          If you can think of any that would make it better - please let me know. If you think it would be better as a PDF instead of an online Google sheet, let me know that too.

                          There's still tons more systems to add and test ... so hopefully this will serve as a good reference to them.

                          https://docs.google.com/spreadsheets/d/1AQ28J9OUKg55R3d-TZkWO3GH50KjC2hHteCP1Bx59Ns/edit?usp=sharing

                          DTEAMD F J 4 Replies Last reply Reply Quote 3
                          • DTEAMD
                            DTEAM @dmmarti
                            last edited by DTEAM

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

                            I've slowly been working on getting some of the MESS systems up and running using the scripts from @valerino, @Folly, @DTEAM, and others as a guide.
                            I've created an online Google sheets document of my efforts along with usage notes, etc for them.
                            It's a WIP document still so things will change as time goes on. But hopefully it proves useful to some.
                            Also...don't forget about using the built-in Retroarch translation tool. It comes in very handy for a some of these games!
                            Here's the link to the spreadsheet I'm working on.
                            If you can think of any that would make it better - please let me know. If you think it would be better as a PDF instead of an online Google sheet, let me know that too.
                            There's still tons more systems to add and test ... so hopefully this will serve as a good reference to them.
                            https://docs.google.com/spreadsheets/d/1AQ28J9OUKg55R3d-TZkWO3GH50KjC2hHteCP1Bx59Ns/edit?usp=sharing

                            Wow. good work. I can't even imagine how long it took you to make this table. Can people contribute to this too (ex .: in notes colum for optimization)? Did you try sometime with MAME standalone or only Lr-MESS?

                            D 2 Replies Last reply Reply Quote 0
                            • D
                              dmmarti @DTEAM
                              last edited by

                              @dteam Sure!

                              Although right now, I think I am the only one who can edit it.

                              I'm not a Google Sheets guru ... so I'm not exactly sure how to add folks to allow them to be editors.

                              1 Reply Last reply Reply Quote 0
                              • D
                                dmmarti @DTEAM
                                last edited by

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

                                E standalone or o

                                For now, I only used lr-mess and Retroarch.

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

                                  @dmmarti

                                  My compliments and thanks for your contribution !

                                  Very nice reference sheet to look in ;-)
                                  I will put this link in the first post, so people can take a peek into it.

                                  I keep you posted if I have some suggestions.

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

                                    @dmmarti

                                    Perhaps you saw it already I added the sheet to the first post.

                                    The "Notes" are really great for people to look in ;-)

                                    I have only 1 concern though.
                                    The emulator lines are mainly lines created by the Valerino module-scripts.
                                    Not really a problem for most of us, but for many this will be confusing.

                                    I was thinking,
                                    can you make a filter for the sheet so I can only present columns A1:E1 in the first post,
                                    just to make it a bit simpler for now.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dmmarti @Folly
                                      last edited by

                                      @folly .... I made some updates/modifications to the spreadsheet that should now show the use of your script and also provide additional advanced tweaks users can do if they want to.

                                      See if that is better designed.

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

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

                                        @folly .... I made some updates/modifications to the spreadsheet that should now show the use of your script and also provide additional advanced tweaks users can do if they want to.

                                        See if that is better designed.

                                        Much beter :-)

                                        Perhaps we can use this information within the scripts.
                                        Not sure yet how to do this though, but I will try to think of some solution, if possible.

                                        I will remove the note in the first post.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          JimmyFromTheBay @dmmarti
                                          last edited by JimmyFromTheBay

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

                                          I've slowly been working on getting some of the MESS systems up and running using the scripts from @valerino, @Folly, @DTEAM, and others as a guide.

                                          I've created an online Google sheets document of my efforts along with usage notes, etc for them.

                                          It's a WIP document still so things will change as time goes on. But hopefully it proves useful to some.

                                          Also...don't forget about using the built-in Retroarch translation tool. It comes in very handy for a some of these games!

                                          Here's the link to the spreadsheet I'm working on.

                                          This is a fantastic resource, cheers. Hopefully I should be able to add some stuff to it from my own recent experiments.

                                          One request: a column for which BIOS files are required, because sometimes it's an absolute nightmare to try to work it out. MOSTLY it can be deduced from the "MESS system used" column but not always.

                                          It might also be cool to note which systems have save-state support, because for some of these games which take minutes to load from tape a savestate can skip you straight to the start, but on some systems it'll just crash.

                                          And extra thanks for that extra line in EMULATORS.CFG for the Acorn Archimedes, because I could not figure out why I was getting disk errors and now I can play Manic Miner and Jet Set Willy :)

                                          Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            JimmyFromTheBay @JimmyFromTheBay
                                            last edited by JimmyFromTheBay

                                            Tape-based MESS systems which support savestates to skip loading:

                                            Acorn Archimedes
                                            Acorn Atom
                                            Aquarius
                                            BBC Micro
                                            Camputers Lynx
                                            CoCo 3
                                            Colour Genie
                                            Fujitsu FM-7*
                                            Memotech MTX 512
                                            Orao
                                            Sharp MZ-700
                                            Sharp MZ-80A**
                                            Exidy Sorcerer
                                            Spectravideo SV318/328
                                            Tandy TRS-80
                                            Phillips VG-5000

                                            (*) Has issues with some games, eg missing music in New Rally-X
                                            (**) It's complicated

                                            Systems which do NOT support savestates:

                                            NEC PC-xx0x

                                            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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