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

      @DTEAM

      Good luck tomorrow, I think we are on the right track now.
      With the information from yesterday I updated the script.

      So try this update first.

      I did some tests with linking directories.
      Moving and removing from within linked directories should work.
      So you probably have :
      /opt/retropie/configs.hdmi/all/retroarch/...... (is the actual folder)
      /opt/retropie/configs/all/retroarch/...... (is the linked folder)

      You did not have the roms/realistic directory.
      When not there it can't move the files.
      So I fixed this when selecting "Setup Orionsangels Arcade Overlays Part1 > roms/realistic" it will check if the roms/realistic directory exists.
      If not the it will automatically install the Arcade realistic category/folder.

      Just press <n> when you see this, it will skip downloading the file again :

      getting your desired file
      File exists !, do you want to overwrite it ? [Y/N] n
      

      https://github.com/FollyMaddy/RetroPie-Share/commit/268c0e19b0dc974976a15211b8f377a98ca99ee2
      https://github.com/FollyMaddy/RetroPie-Share/commit/461719f82c8bedbdbf5e08c2369d278c47b23ab0

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

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

        My runcommand.log does not find cfg overides, does yours find some (so it will undo some settings from the overlay cfg) ?:

        [INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/MAME/MAME.cfg".
        [INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/MAME/realistic.cfg".
        [INFO] [Overrides]: No game-specific overrides found at "/home/pi/.config/retroarch/config/MAME/ 720.cfg".
        

        Nothing on my side. the folder doesn't contain those files.

        In my /opt/retropie/configs.hdmi/arcade, my retroarch.cfg contain this :

        # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
        input_overlay = "/opt/retropie/configs/all/retroarch/overlay/MAME-Horizontal.cfg"
        input_overlay_opacity = "1.000000"
        
        input_remapping_directory = "/opt/retropie/configs/arcade/"
        
        #include "/opt/retropie/configs/all/retroarch.cfg"
        

        The MAME-Horizontal.cfg doesn't exist

        Note: For configs.hdmi , it doesn't matter because I have a symbolic link (configs = configs.hdmi ). It should be good.

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

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

          Nothing on my side. the folder doesn't contain those files.

          Ok, that looks good too then.

          In my /opt/retropie/configs.hdmi/arcade, my retroarch.cfg contain this :

          # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
          input_overlay = "/opt/retropie/configs/all/retroarch/overlay/MAME-Horizontal.cfg"
          input_overlay_opacity = "1.000000"
          
          input_remapping_directory = "/opt/retropie/configs/arcade/"
          
          #include "/opt/retropie/configs/all/retroarch.cfg"
          

          The MAME-Horizontal.cfg doesn't exist

          Note: For configs.hdmi , it doesn't matter because I have a symbolic link (configs = configs.hdmi ). It should be good.

          Strange, the script part I added, for setting up the realistic overlays, does nothing with that directory.

          What's inside that retroarch.cfg will only have effect when you run roms from the arcade folder.
          I would suggest you remove the overlay lines in that retroarch.cfg.


          Have you tried my updated script ?
          I have updated it again to get rid of possible issues with /config.hdmi/ folder
          I would like you to run it.
          You only have to do this :
          CHEATS/ARTWORK/BEZELS > Submenu
          Setup Orionsangels Arcade Overlays Part1 > roms/realistic

          I hope this is the solution to the problem.

          When no .zip.cfg and .7z.cfg files come into the /home/pi/RetroPie/roms/realistic then I would like to see your latest log from /home/pi/RetroPie-Setup/logs.
          Just extract the latest, after you tried.
          Then we might find the error.
          Hopefully it will not be necessary.

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

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

            @Folly
            It works if I put 720.7z.cfg and 720.zip.cfg directly in

            /home/pi/RetroPie/roms/arcade/

            It don't recognize /home/pi/RetroPie/roms/realistic

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

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

              Have you tried my updated script ?

              yes

              When no .zip.cfg and .7z.cfg files come into the /home/pi/RetroPie/roms/realistic then I would like to see your latest log from /home/pi/RetroPie-Setup/logs.
              Just extract the latest, after you tried.
              Then we might find the error.

              Parameters: 
              Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/baddudes.7z" --appendconfig /dev/shm/retroarch.cfg
              SOURCE FILE: ../../../../../src/mame/drivers/dec0.cpp
              PARENT: 0
              NAME: baddudes
              DESCRIPTION: Bad Dudes vs. Dragonninja (US)
              YEAR: 1988
              MANUFACTURER: Data East USA
              Value  not supported for option netdevprovider - falling back to auto
              ei31.9a NO GOOD DUMP KNOWN
              WARNING: the machine might not run correctly.
              MAIN FIRST
              w:256 h:240 a:1.333333
              RETRO DEINIT
              retro_finish begin
              Average speed: 99.43% (3 seconds)
              retro exit machine
              retro_finish end
              
              F 1 Reply Last reply Reply Quote 0
              • F
                Folly @DTEAM
                last edited by Folly

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

                @Folly
                It works if I put 720.7z.cfg and 720.zip.cfg directly in

                /home/pi/RetroPie/roms/arcade/

                It don't recognize /home/pi/RetroPie/roms/realistic

                Does the 720.zip.cfg contain this now ? :

                input_overlay = "/home/pi/RetroPie/downloads/Orionsangels_Arcade_Overlays_For_Retroarch_Part1/overlay/realistic/720.cfg"
                

                So the viewport is ok and the bezel is loaded now when running from :
                /home/pi/RetroPie/roms/arcade/

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

                  lr-mame2016/mamearcade2016_libretro.so

                  Not the log I was expecting ;-)

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

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

                    @Folly
                    The rom is fine. When I put this rom in the JAKKS folder, it works. I don't know what's going on with my classich folder. Roms with MAME artwork and retroarch overlays (at the same time) do not work. I'll see what I can do. The problem is 100% on my side, not related to the script.

                    Solved: It was my emulators.cfg file in /opt/retropie/configs/all . It seems it was corrupted. I deleted everything inside. Now it's fine and I'll start to do MAME artworks (MAME format) for classich with @JIMMYFROMTHEBAY bezels if he agrees.

                    Fine by me :)

                    Anything I post on these forums is fair game to be used by anyone for anything, no need to ask.

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

                      @JimmyFromTheBay

                      Can you give the realistic bezels a try ?

                      1 Reply Last reply Reply Quote 0
                      • OrionsangelO
                        Orionsangel
                        last edited by

                        It's fine as long as you give credit and links. I actually welcome it because with what you're doing these bezels can be used by more people.

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

                          @Orionsangel

                          Added you in the first post.
                          I saw that some files are missing from part1.
                          And I would like to have just 1 pack that I can download and generate files from.
                          Or perhaps better, have all the files separately on a google drive.

                          Can we discuss that in an other thread ?

                          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:

                            Does the 720.zip.cfg contain this now ? :
                            input_overlay = "/home/pi/RetroPie/downloads/Orionsangels_Arcade_Overlays_For_Retroarch_Part1/overlay/realistic/720.cfg"

                            yes

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

                              @DTEAM

                              So everything works now from the arcade folder.
                              (apart from bios files not found)
                              But not from the realistic folder, correct ?

                              You should check if you have /opt/retropie/config(.hdmi)/realistic containing also the emulators.cfg etc.
                              And that realistic is found in the es_systems of emulationstation.

                              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:

                                So everything works now from the arcade folder.
                                But not from the realistic folder, correct ?

                                Nothing works except if I cut and paste xxxxxxx.zip.cfg directly into the arcade roms folder.

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

                                  @DTEAM

                                  What does it do then, when you paste the .zip.cfg inside the arcade folder and run a rom from that folder ?

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

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

                                    What does it do then, when you paste the .zip.cfg inside the arcade folder and run a rom from that folder ?

                                    It loads automatically with the good presets. Everything works fine, but I have to copy everything to Arcade directly
                                    thumbnail_IMG_4756.jpg

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

                                      @DTEAM

                                      OK, That is what I wanted to know.
                                      So it will work, but not from the realistic folder, correct ?

                                      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:

                                        OK, That is what I wanted to know.
                                        So it will work, but not from the realistic folder, correct ?

                                        Yes

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

                                          @DTEAM

                                          So not showing the bezel and not having the correct viewpoint is solved now.

                                          What is left is that you can't run roms from the realistic folder.
                                          Do other folders, like classich or konamih have the same problem ?

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

                                            @Folly
                                            Why have you create a "realistic" system in es_system.cfg?

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

                                            Do other folders, like classich or konamih have the same problem ?

                                            I'm using MAME Artworks for those folders . I need to download bezel's with your script first. I'll do a test.

                                            F 3 Replies 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.