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.
    • DTEAMD
      DTEAM @Folly
      last edited by DTEAM

      @folly

      Hi Folly,

      Thank you for the gamelists. I'm happy to read you have done It fast. I'm pretty busy with real life stuff, that's why I'm in and out from the forum. I've put back all videos and pictures in the good directories on the Google Drive. I did'nt add channelf and pv1000 because they are now proprely supported by Screenscrapper.

      If this is not working properly, just let me know

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

        @dteam

        Super, thanks for letting me know !
        I will test it.

        At the moment busy with version 2.2 .

        I just added a part that will be integrated in the generated module-scripts
        it will sort the emulators.cfg when a module-script is installed.
        Just tested it and it works really nice.

        I also added the BASENAME lines that I discovered trying supracan with mame.
        These lines should work on more systems, no doubt about that.
        I will test some other systems how they react.

        Perhaps I will also convert the line names so we can understand the lines better on what they do.

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

          @folly
          For supracan, I remember that only the first game worked. Has it changed? I never had issues to load that emulator.

          F H 3 Replies 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
            For supracan, I remember that only the first game worked. Has it changed? I never had issues to load that emulator.

            Indeed, seems that not all games will work properly.
            But that's not the interesting part to it.
            What's interesting, though, is that I now discovered runcommand lines that should be added to the script.
            I just found a way to do the same with lr-mess without even using valerino's script.
            I have to look into this deeper but it seems quite a discovery because everywhere they say that this can't be done.
            So I think I might found the secret to it.
            Did the same with lr-mame, but I have no luck up till now.
            Perhaps I should do a source install for that.

            So @hhtien1408 I have found a way to run supracan with lr-mess too.

            So here is a picture of boomzoo :
            2021-05-25-192909_800x600_scrot.png

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

              @dteam

              As far as I can see, the discovered lines can't be used for our own created plaforms like :
              all_in1
              classich
              konamih
              tigerh
              and perhaps more
              So I want to use an if function for that.

              When doing so I found an issue with the tigerh.
              This seems to be a mame system Tiger-Heli.

              Now using the if function can lead to a problem.

              Can we consider to rename tigerh to tigerhh or tiger-hh ?
              Perhaps we can do the same with classic-hh and konami-hh.
              hh = handheld

              Let me know what you think about that.

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

                @folly
                I have no problem with that. You can rename them.

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

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

                  What's interesting, though, is that I now discovered runcommand lines that should be added to the script.

                  This is great if it works

                  Another question. Do you think It's doable to create a default mame.ini per system? Like they do with Retroarch

                  see: https://docs.mamedev.org/commandline/commandline-all.html#mame-commandline-createconfig

                  F 2 Replies 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
                    I have no problem with that. You can rename them.

                    Ok if I have to I will let you know.

                    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:

                      What's interesting, though, is that I now discovered runcommand lines that should be added to the script.

                      This is great if it works

                      I hope so. I already have problems again with the lr-mess lines as supracan needs no bios.
                      But coleco does, seems difficult to understand every time.

                      Another question. Do you think It's doable to create a default mame.ini per system? Like they do with Retroarch

                      see: https://docs.mamedev.org/commandline/commandline-all.html#mame-commandline-createconfig

                      Well, not sure how to do this !
                      I have to dig in that.
                      Can't promise anything, I have a real life too you know, haha :-)

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

                        @dteam

                        The downloads work ok they should work for all systems now.
                        Tested a few systems and those were fine.

                        Although this works fine I don't think updating will work.
                        I think the gdrivedl.py script looks for existing filenames, but doesn't check if it's different or not.
                        So if you want to update files you would have to manually remove those files and do the download again.
                        If I can I will try to find a fix for this.

                        I found a duplicate in the wrong directory, you can remove it if you want to :
                        ./gamate/media/emulationstation/gamelist.xml

                        DTEAMD 1 Reply 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:

                          I found a duplicate in the wrong directory, you can remove it if you want to :
                          ./gamate/media/emulationstation/gamelist.xml

                          deleted. done

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

                            @dteam

                            I updated the old download script (get-cheats-artwork-overlays.sh) to our new location.
                            So when someone finds it in the thread, it will work also.

                            I choose not to change the names of the handheld systems.
                            It can be done easily, because I tested this, but also other things have to be changed as well and we already had these names from the beginning.

                            So, for now, I prefer to add an extra condition to detect whether it's a mamedev system name or an own created retropie name.
                            So when generating for the mamedev tigerh name, lines will be added,
                            and when generating for the own created retropie tigerh name, lines will not be added.
                            This should be a fix for now.

                            1 Reply Last reply Reply Quote 1
                            • H
                              hhtien1408 @Folly
                              last edited by

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

                              @hhtien1408

                              Thanks !
                              Seems you made a good description.

                              If I have some energy left, I will look into it some more.
                              I will add the idea of implementing into post 1.

                              You have to keep in mind that if I could implement it, the config structure has to be somewhat the same as we are using now with using lr-mess and mame.
                              So I have to look at that too then.

                              Right now there are other things that have more priority.
                              So can't really tell when I am going to try this.

                              I have already added the method for adding NES Datach. Tested and worked perfectly under Ubuntu.

                              1 Reply Last reply Reply Quote 0
                              • H
                                hhtien1408 @Folly
                                last edited by hhtien1408

                                @folly Nice work for lr-mess. Please check my post for NES Datach.

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hhtien1408 @DTEAM
                                  last edited by

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

                                  @folly
                                  For supracan, I remember that only the first game worked. Has it changed? I never had issues to load that emulator.

                                  Read my reply above. All supracan games should work.

                                  DTEAMD 1 Reply Last reply Reply Quote 2
                                  • H
                                    hhtien1408 @Folly
                                    last edited by hhtien1408

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

                                    @hhtien1408

                                    Great to hear you have found the solution !
                                    I will test your line.
                                    (edit : no luck on trying this oob, using mamearcade_libretro.so on pi4)
                                    Perhaps something to implement for the future if it can be "cracked".

                                    Using mamearcade_libretro.so on pi4 does not work for sure because it is just for arcade, not including software list (the same with the one built from source as I told in the post at the beginning)
                                    For example, I am using Linux Debian, I will download this build:
                                    https://buildbot.libretro.com/nightly/linux/x86_64/latest/mame_libretro.so.zip
                                    In your case, you should choose the suitable build for arm here
                                    https://buildbot.libretro.com/nightly/linux/
                                    Noted that mame_libretro.so: arcade + non-arcade (softlist)
                                    mamearcade_libretro.so: arcade only)
                                    I have faced your situation before. I have added to my guide above.

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

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

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

                                      @folly
                                      For supracan, I remember that only the first game worked. Has it changed? I never had issues to load that emulator.

                                      Read my reply above. All supracan games should work.

                                      Same problem with your line. Only one game works, Boom Zoo.

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hhtien1408 @DTEAM
                                        last edited by hhtien1408

                                        @dteam All of supracan games works well under lr-mame with my scripts atm. Tested on Ubuntu Debian 21.04. I am playing dtc_dbz (Datach Dragon Ball). I don't know why you cannot make it work.

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

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

                                          @dteam All of supracan games works well under lr-mame with my scripts atm. Tested on Ubuntu Debian 21.04. I am playing dtc_dbz (Datach Dragon Ball). I don't know why you cannot make it work.

                                          That is really great to hear that it can work !

                                          If we can we will try again for ourselves.

                                          But forgive me for saying, the solution you gave isn't really portable yet to the development of our generation script.

                                          Perhaps nobody sees it, but everything it's quite structured.
                                          The structure is there because it has to work with the most/if not all systems that are in the mamedev source.

                                          So we are looking for a solution within our structure and it has to work on the pi4 and if it can work other systems that would be nice too.

                                          Knowing now that you can get it working.
                                          My question is, can you try for us and get it working on the pi4, if you have one ?

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

                                            @hhtien1408
                                            I confirm ! It works. The first time, I didn't copy your mame_libretro.so properly
                                            Quick question, what is your best bsnes emulator in your list?

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