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 7.0m 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 @DTEAM
      last edited by Folly

      @dteam

      I don't expect it, but be sure you don't saving it as a html file :
      (right-click on raw and download should download the correct file)

      https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-and-mame-standalone/789

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

        @dteam

        Any luck yet ;-)

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

          @folly

          No, I followed the instruction from Post #1 and put add-mamedev-systems-2v4.sh

          here
          /home/pi/RetroPie-Setup/scriptmodules/supplementary

          I did that a lot of times. I don't understand why it doesn't work now.

          I'm gonna re-downloaded your file

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

            @dteam

            Yes indeed you did that a lot of times, so I was confident you had a correct file.

            Not really sure either what the problem is but I am quite confident that the script should work.

            Is your sd card still ok ?
            No problems at boot ?
            Do the older scripts that you tested earlier still work ?

            How old is your retropie-image, is it based upon buster ?
            Perhaps an idea to update.

            Btw. I read that 0237 is out now.

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

              @folly
              It works !! I solved the problem . I don't know why, but i had problems to transfer my file. Now It's fine. The problem was on my side. It's not a general issue

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

                @dteam

                Aha you found the problem, great to hear it's working again.

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

                  @folly Hiya. Doing good here with the script. I've got all my handhelds working great and moved into the TRS-80 CoCo.

                  Ran into a question there.. I don't see a CoCo disk/flop1 option to add in to my list.

                  How do I use .dsk images with this system. I'd rahter not have both the TRS-80 and the Coco, just one works for me as I already have the Dragon32 running.

                  Thanks!

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

                    @jamrom2

                    The system coco has FDC support (floppy drive controller) as an external slot, reading from the mame output.

                    So by default it will not support a floppy drive controller out of the box and so my script will not detect support for floppy-drive media.
                    No detection means that no module-script for that media is created and installed.

                    To be able to do that a manual line should be created to be able to add FDC support.

                    Looking at the mame output for coco2 or coco3, they will have FDC support OOB.

                    Don't know for sure, but perhaps the easiest way is to install one of these :

                    Driver coco2 (Color Computer 2): *computer*non-arcade
                    Driver coco2b (Color Computer 2B): *computer*non-arcade
                    Driver coco2bh (Color Computer 2B (HD6309)): *computer*non-arcade
                    Driver coco2h (Color Computer 2 (HD6309)): *computer*non-arcade
                    Driver coco3 (Color Computer 3 (NTSC)): *computer*non-arcade
                    Driver coco3dw1 (Color Computer 3 (NTSC; HDB-DOS)): *computer*non-arcade
                    Driver coco3h (Color Computer 3 (NTSC; HD6309)): *computer*non-arcade
                    Driver coco3p (Color Computer 3 (PAL)): *computer*non-arcade
                    Driver cocoe (Color Computer (Extended BASIC 1.0)): *computer*non-arcade
                    Driver cocoeh (Color Computer (Extended BASIC 1.0; HD6309)): *computer*non-arcade
                    
                    jamrom2J 1 Reply Last reply Reply Quote 0
                    • jamrom2J
                      jamrom2 @Folly
                      last edited by

                      @folly I put those into \BIOS\mame as well as \roms\coco

                      what do I pick as far as an eumlator? the lr-mame-basename, lr-mess-cmd? or any other?

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

                        on top of this, a few games appear to be corrupt roms and do not work properly under MESS.

                        a lot of artifacting and lines all over stuff. Worse is Dungeons of Daggoorath, the only reason really for me to even have the TRS-80.

                        I was hoping to get Flight Simulator II working as well... but that's a .dsk image.

                        Controls for left, right, up and down not working either. Mapping is there, but doesn't look like the system is recognizing it.

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

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

                          @folly I put those into \BIOS\mame as well as \roms\coco

                          what do I pick as far as an eumlator? the lr-mame-basename, lr-mess-cmd? or any other?

                          Explain better.

                          It seems you did not understand my post.
                          Adding the files to the directories doesn't do anything if you don't install, for example coco2, first.

                          If you do that a line with floppy will appear for booting a disk.
                          I suggest you use that.

                          The basename and cmd lines are only used if you want to :

                          • make use of handmade .cmd files
                          • if you want to run system-game bios files directly (as with classich)
                          • if you want to run the software so mame or lr-mess will check the database, if in database, and try to boot it depending on that.
                            (we discovered that there are still issues using this and some combinations need fixing, but this is a difficult process, so still many combinations will not work)
                          jamrom2J 1 Reply Last reply Reply Quote 0
                          • jamrom2J
                            jamrom2 @Folly
                            last edited by

                            @folly

                            Ok. how do I add coco2? Where does that come from?

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

                              @jamrom2

                              Select coco2 or coco3 in my script and it will be installed.
                              Select All systems > submenu.

                              etc. :
                              2021-10-30-185646_1600x900_scrot.png

                              2021-10-30-185653_1600x900_scrot.png

                              2021-10-30-185749_1600x900_scrot.png

                              Rom directories become coco2 and/or coco3.
                              and make sure you have the bios files too.

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

                                @folly

                                well.. that's why... I don't have that list.

                                I must be behind a version in the script. Is that from a new version you created?

                                nevermind... I see you did. Let me update and see what I get.

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

                                  @jamrom2

                                  It should be in there.
                                  All older versions have it.

                                  If you want the latest.
                                  Check here :
                                  https://github.com/FollyMaddy/RetroPie-Share/blob/432d2c9db4b1497ba2da938cef1968621c5c2570/00-workdir-00/add-mamedev-systems-2v4.sh

                                  Right-click RAW and save it where it has to be in :
                                  /home/pi/RetroPie-Setup/scriptmodules/supplementary

                                  Remove the old versions.

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

                                    @folly I didn't realize it was "buried" in the massive list of systems.

                                    That is some list, wow.

                                    At any rate, I have it running and looked up some load commands to get it working. Works great.

                                    This brings the question about systems. The idea of using Retropie is to sort of isolate or condense several systems under one umbrella. These old Computer systems kinds present their issues with the amount of variances to them, some with little change. Like the Apple, we saw it was best to go Apple IIe and Apple IIgs.

                                    What about a Tandy package that covers the Coco, Coco2 and Coco 3 plus the TRS-80 16? Otherwise Emulationstation is going to require a lot more themes for each system and each of the variants.

                                    Right now, I have Tandy Coco for carts and cass, Coco 3 for Disk and TRS-80 16 for really old stuff. I think this is overkill.

                                    What are your thoughts on this?

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

                                      @jamrom2

                                      Well you have got a point there.

                                      For some systems the script is already doing that.
                                      For instance classich is generated if one of the systems is installed from what we think should be in the classich.
                                      With konamih etc it's the same.

                                      The script also looks for other matches.
                                      Different MSX types will automatically be installed under MSX.

                                      But not all can be automatically matched.

                                      So for some, like for instance, BBC micro or Amiga, the names are changed on the fly a bit to generate a match to RetroPie system name
                                      (you call it the umbrella name)

                                      Before we add such an umbrella we have to make sure these types are almost the same.
                                      If the systems not alike it's better to keep them separate.

                                      For arcade only systems I want to do somewhat the same but the problem is I don't want to add 34000 systems in the script for checking. So I have to think of an other solution. Besides, for a few weeks ago we didn't even had the possibility to sort arcade from the non-arcade. now we can, so the solution is more within reach.

                                      So the project is evolving from

                                      • a standalone generator-script (still available)
                                      • to a front-end script which includes the generator-script
                                      • and now to a front-end with data-manager that still includes the generator-script

                                      Hope you understand all this.

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

                                        @folly

                                        I certainly do and I like it. Thank you for all the work. It's great to have all these individual systems fully running

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

                                          @jamrom2

                                          I added some special things in the latest script.
                                          For instance you can use the search option now.
                                          Just type in what you are looking for and it will generate the list for you.
                                          And there is more.

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

                                            I added the new mame0237 database with sorted_info and tried to add as much search entry's as possible.
                                            Here you can read the .ini files used for adding the search entry's :
                                            https://github.com/FollyMaddy/RetroPie-Share/blob/55ecbb14bf6774efb093eb62917f9cafad05fa9e/00-databases-00/sorted_info_creation/readme.md
                                            I did not add the normal arcade entry as this is files huge.
                                            If we want to sort on arcade we can do an inverted search of "@non-arcade!" and we get all the arcade without adding the data to the file.

                                            Also added a script update for mame0237.
                                            I decided to take the version number of mame for the new update.
                                            Then it's easy to know that the script is made for the mame0237 data.

                                            Summarized :

                                            • data 0237 entry's are added earlier with "@"
                                              ("*" isn't used anymore because of compatibility issues with lubuntu)
                                              (searching can be done with "@forum", for example)
                                            • uses mame0237 data
                                            • add subgui for restricted browser / downloader for adding more.
                                            • minor improvements / fixes

                                            https://github.com/FollyMaddy/RetroPie-Share/blob/55ecbb14bf6774efb093eb62917f9cafad05fa9e/00-workdir-00/add-mamedev-systems-0237.sh

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