• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 35 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 4 Nov 2022, 20:41 11 Apr 2022, 19:39

    @DTEAM

    Not sure why, but it has to be "custom".
    I will try "core" here, and see what happens.

    1 Reply Last reply Reply Quote 0
    • D
      DTEAM @Folly
      last edited by DTEAM 4 Nov 2022, 20:46 11 Apr 2022, 19:42

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

      Is your config looking like this ?, with a bit different values :
      custom_viewport_height = "252"
      custom_viewport_width = "329"
      custom_viewport_x = "198"
      custom_viewport_y = "74"
      input_overlay = "/opt/retropie/configs/all/retroarch/overlay/realistic/720.cfg"
      aspect_ratio_index = "23"
      video_shader = "/opt/retropie/configs/all/retroarch/shaders/fake-crt-geom.glslp"

      No, in /opt/retropie/configs.hdmi/all/retroarch/overlay/realistic my 720.cfg look like this :

      overlays = 1
      
      overlay0_overlay = 720.png
      
      
      overlay0_full_screen = true
      
      overlay0_descs = 0
      
      
      This Realistic Arcade Overlay was made by: OrionsAngel
      

      in /opt/retropie/configs.hdmi/all/retroarch/config/MAME/realistic, it looks like this

      **720.zip.cfg ** and **720.7z.cfg **

      custom_viewport_height = "303"
      custom_viewport_width = "365"
      custom_viewport_x = "220"
      custom_viewport_y = "89"
      input_overlay = "/opt/retropie/configs/all/retroarch/overlay/realistic/720.cfg"
      aspect_ratio_index = "23"
      video_shader = "/opt/retropie/configs/all/retroarch/shaders/fake-crt-geom.glslp"
      
      
      F 1 Reply Last reply 11 Apr 2022, 19:47 Reply Quote 0
      • F
        Folly @DTEAM
        last edited by Folly 4 Nov 2022, 21:08 11 Apr 2022, 19:47

        @DTEAM

        I mean > /home/pi/RetroPie/roms/realistic/720.zip.cfg

        I tried "core" (22) and then the viewport settings are off.
        When I set it from core to custom into the RetroArch GUI (scaling) it will shrink again to the viewport values.
        Can you try that, to see if it works ?

        Edit I see what the problem is.
        It's the configs.hdmi directory.
        I think it was part of the Valerino fork.

        It should be linked to the normal /opt/retropie/configs directory.
        But when it's not the .zip.cfg and .7z.cfg can't be moved by my script to the /home/pi/RetroPie/roms/realistic roms directory.
        (or by definition there wasn't a /home/pi/RetroPie/roms/realistic in the first place so the files can't be moved, perhaps)

        So you should move or copy the .zip.cfg and .7z.cfg to the /home/pi/RetroPie/roms/realistic roms directory.

        D 1 Reply Last reply 11 Apr 2022, 19:57 Reply Quote 0
        • D
          DTEAM @Folly
          last edited by DTEAM 4 Nov 2022, 21:01 11 Apr 2022, 19:57

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

          /home/pi/RetroPie/roms/realistic/

          I have no folder realistic in /home/pi/RetroPie/roms/
          The only one I have is in /opt/retropie/configs.hdmi/all/retroarch/config/MAME/

          It should be linked to the normal /opt/retropie/configs directory.
          But when it's not the .zip.cfg and .7z.cfg can't be moved by my script to the /home/pi/RetroPie/roms/realistic roms directory.
          So you should move or copy the .zip.cfg and .7z.cfg to the /home/pi/RetroPie/roms/realistic roms directory.

          I will do that. I have to go now, I'll try tomorrow

          F 2 Replies Last reply 11 Apr 2022, 20:03 Reply Quote 1
          • F
            Folly @DTEAM
            last edited by Folly 4 Dec 2022, 09:24 11 Apr 2022, 20:03

            @DTEAM

            EDIT: Skip this part, look at the next post.

            Install this again.
            Choose and install HANDHELD/PLUG&PLAY/CATEGORIES > Submenu
            Forcing Arcade Category => realistic

            Then you should have the /home/pi/RetroPie/roms/realistic

            • Place your 720.zip there.
            • Move the 720.zip.cfg there.
            • Test the rom.
            • If it doesn't work, edit the file 720.zip.cfg so it will find the config.hdmi directory.

            Select realistic in emulationstation.

            I think it should work then. ;-)

            1 Reply Last reply Reply Quote 0
            • F
              Folly @DTEAM
              last edited by Folly 4 Dec 2022, 09:54 11 Apr 2022, 20:09

              @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
              • D
                DTEAM @Folly
                last edited by DTEAM 4 Dec 2022, 15:49 12 Apr 2022, 14:35

                @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 12 Apr 2022, 15:35 Reply Quote 0
                • F
                  Folly @DTEAM
                  last edited by Folly 4 Dec 2022, 18:39 12 Apr 2022, 15:35

                  @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

                  D 2 Replies Last reply 12 Apr 2022, 18:29 Reply Quote 0
                  • D
                    DTEAM @Folly
                    last edited by 12 Apr 2022, 18:29

                    @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 12 Apr 2022, 19:20 Reply Quote 1
                    • D
                      DTEAM @Folly
                      last edited by DTEAM 4 Dec 2022, 19:42 12 Apr 2022, 18:37

                      @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 12 Apr 2022, 19:32 Reply Quote 0
                      • F
                        Folly @DTEAM
                        last edited by Folly 4 Dec 2022, 20:21 12 Apr 2022, 19:20

                        @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/

                        D 1 Reply Last reply 13 Apr 2022, 15:36 Reply Quote 0
                        • F
                          Folly @DTEAM
                          last edited by 12 Apr 2022, 19:32

                          @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 4 Dec 2022, 20:37 12 Apr 2022, 19:33

                            @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 12 Apr 2022, 19:38 Reply Quote 1
                            • F
                              Folly @JimmyFromTheBay
                              last edited by Folly 4 Dec 2022, 20:38 12 Apr 2022, 19:38

                              @JimmyFromTheBay

                              Can you give the realistic bezels a try ?

                              1 Reply Last reply Reply Quote 0
                              • O
                                Orionsangel
                                last edited by 13 Apr 2022, 06:03

                                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 13 Apr 2022, 06:45 Reply Quote 1
                                • F
                                  Folly @Orionsangel
                                  last edited by Folly 13 Apr 2022, 06:45

                                  @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
                                  • D
                                    DTEAM @Folly
                                    last edited by 13 Apr 2022, 15:36

                                    @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 13 Apr 2022, 15:42 Reply Quote 0
                                    • F
                                      Folly @DTEAM
                                      last edited by Folly 13 Apr 2022, 15:42

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

                                      D 1 Reply Last reply 13 Apr 2022, 15:46 Reply Quote 0
                                      • D
                                        DTEAM @Folly
                                        last edited by 13 Apr 2022, 15:46

                                        @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 13 Apr 2022, 15:47 Reply Quote 0
                                        • F
                                          Folly @DTEAM
                                          last edited by Folly 13 Apr 2022, 15:47

                                          @DTEAM

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

                                          D 1 Reply Last reply 13 Apr 2022, 15:55 Reply Quote 0
                                          1122 out of 2234
                                          • First post
                                            1122/2234
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received