• 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.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 1 Sept 2023, 17:04 9 Jan 2023, 16:58

    @DTEAM

    I saw a post about it on the mamedev forum, just recently.

    This is the wiki:
    https://en.wikipedia.org/wiki/DECO_Cassette_System

    I added it in version 0251.01

    D 1 Reply Last reply 9 Jan 2023, 18:58 Reply Quote 1
    • D
      DTEAM @Folly
      last edited by 9 Jan 2023, 18:58

      @Folly
      Those games are already in my Arcade folder. They also run well with lr-mame 2016. The 2 minutes counter is a pain in the ass .

      F 1 Reply Last reply 9 Jan 2023, 21:11 Reply Quote 0
      • F
        Folly @DTEAM
        last edited by Folly 1 Sept 2023, 21:12 9 Jan 2023, 21:11

        @DTEAM

        Indeed, they are not new but now they are now categorised.
        There are a few new multigame ones that will work without loading time :
        decodark
        decomult

        I think most slow loadable games are in there.

        D K 2 Replies Last reply 9 Jan 2023, 21:23 Reply Quote 1
        • D
          DTEAM @Folly
          last edited by DTEAM 1 Sept 2023, 21:26 9 Jan 2023, 21:23

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

          Indeed, they are not new but now they are now categorised.

          I agree, it reminds me "Playchoice 10". I will not add the gamelist on the drive because we can scrape that system with Skraper (ScreenScraper) or other .

          F 1 Reply Last reply 14 Jan 2023, 15:11 Reply Quote 0
          • K
            kiro @Folly
            last edited by 10 Jan 2023, 17:55

            Hi @Folly, quick update on the import into retroscraper of lr-mess roms. I've imported all the roms from 'standard' systems (such as c64, msx, etc..) and all roms for about 200 lesser know systems (still 150 to go). In total, I've added around 300k roms (totaling over a million now) and created around 30k new software references.

            Everything should be available by tomorrow morning after the API refresh.

            Once the whole thing is done, I'll start (if you guys are ok with it) importing the images from your gamelists.

            If everything goes ok, the gamelists that you have pregenerated could be done on the fly with retroscraper.

            Bye!

            F 2 Replies Last reply 10 Jan 2023, 20:35 Reply Quote 1
            • F
              Folly @kiro
              last edited by 10 Jan 2023, 20:35

              @kiro

              That's great news ;-)
              Really curious.

              D 1 Reply Last reply 12 Jun 2023, 07:01 Reply Quote 0
              • F
                Folly @kiro
                last edited by 12 Jan 2023, 12:32

                @kiro @DTEAM

                I have implemented the retroscraper option into my script.
                I solved all problems I faced.
                Hopefully there are no issues.
                There is some room for improvements in the future like :

                • scraping recursively
                • scraping all folders in one go
                • perhaps use the retroscraper-rpie when someone has installed it

                Overall I am quite happy with it.

                Please test and let my know if you like it and if it works for you.

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

                K 1 Reply Last reply 12 Jan 2023, 13:37 Reply Quote 0
                • K
                  kiro @Folly
                  last edited by 12 Jan 2023, 13:37

                  @Folly Ohm some info, if you want to add paremeters to retroscraper:

                  curl https://raw.githubusercontent.com/zayamatias/retroscraper-remote/main/retroscraper.py |python3 - --PARAM
                  

                  Where param is any of these:

                  -h, --help            show this help message and exit
                    --systemsfile SYSTEMSFILE
                                          location of the es_systems.cfg file)
                    --nobackup            Do not backup gamelist.xml file
                    --relativepaths       Use relative paths instead of full paths
                    --recursive           Search subdirctories in systems paths
                    --mediadir MEDIADIR   Single media dir wwhere all media is going to be stored, strat with '/' for absolute path (this will append the system name autoamtically), otherwise relative to system path
                    --keepdata            Keep favorites and play count of your games
                    --preferbox           Prefer boxes instead of screenshots
                    --novideodown         Do not download videos
                    --nodb                Do not use a local DB to store file hashes (might impact performance nagatively)
                    --language LANGUAGE   Select language for descriptions
                    --google              Use google translate if description not found in your language
                    --country             Add country decorator from filename [Sonic (es)]
                    --disk                Add disk decorator from filename [Sonic (disk 1/2)]
                    --version             Add version decorator from filename [Sonic V1.10]
                    --hack                Add hack decorator from filename [Sonic (madhedgehog hack)]
                    --brackets            Add brackets decorator from filename (Sonic [TT])
                    --bezels              Download bezels for games
                    --sysbezels           Download system bezel if game bezel is not found
                    --cleanmedia          Clean media directroies before downloading
                    --systems SYSTEMS     List of systems to scan (comma separated values)
                    --debug               Use for debugging purposes
                    --listsystems         Return a list of available systems
                    --listlangs           List available languages
                    --appver              Display retroscraper version and stop
                    --sort ORIG DEST      Sort your roms by system, put all your roms in one directory and output structure to second directory
                  

                  As you see there's the recursive flag to go into subidrs, and by default retroscraper will scan all systems found in es_systems.cfg.

                  Let me know if this helps!

                  F 1 Reply Last reply 12 Jan 2023, 15:16 Reply Quote 0
                  • F
                    Folly @kiro
                    last edited by Folly 1 Dec 2023, 15:21 12 Jan 2023, 15:16

                    @kiro

                    Thanks, though I am aware of the help/parameters.
                    Just haven't added --recursiveor an other optional option to the command just yet.
                    First I want to see how it works without it before moving a step further.

                    1 Reply Last reply Reply Quote 0
                    • F
                      Folly @DTEAM
                      last edited by Folly 14 Jan 2023, 15:11


                      1 Reply Last reply Reply Quote 0
                      • F Folly referenced this topic on 1 Feb 2023, 17:48
                      • S
                        Soxbrother @Folly
                        last edited by Soxbrother 2 Aug 2023, 21:32 8 Feb 2023, 21:09

                        @Folly

                        Thanks for this tutorial.
                        I have done all the steps, but didn't manage to get it working.
                        I have used the script generator and did all the steps.
                        I have put the roms in the gameandwatch folder, the artwork in the suggested folder
                        ( \bios\mame\artwork )

                        But it doesn't show up between my other systems in the Retropie home menu.
                        I thought maybe it's because in the etc\emulationstation\es_systems.cfg file
                        under gameandwatch, -> extension it says .mgw .MGW
                        So I've added .zip to the mix, but no joy.

                        Or do I need to add the gameandwatch also here in this file :
                        /opt/retropie/configs/all/emulationstation\es_systems.cfg

                        Or is it simply because there's no gamelist under
                        /opt/retropie/configs/all/emulationstation/gamelists ?

                        Can you help me with this.
                        Probably a simple solution, I guess.
                        Thanks in advance.

                        Greetings,
                        Soxbrother

                        F 1 Reply Last reply 9 Feb 2023, 16:54 Reply Quote 0
                        • F
                          Folly @Soxbrother
                          last edited by Folly 2 Sept 2023, 18:49 9 Feb 2023, 16:54

                          @Soxbrother

                          Or do I need to add the gameandwatch also here in this file :
                          /opt/retropie/configs/all/emulationstation/es_systems.cfg

                          You should look at /etc/emulationstation/es_systems.cfg , unless you installed the emulationstation-dev version then the es_systems.cfg could be somewhere else.

                          Or is it simply because there's no gamelist under
                          /opt/retropie/configs/all/emulationstation/gamelists ?

                          A gamelist is not directly required.

                          I thought maybe it's because in the etc\emulationstation\es_systems.cfg file
                          under gameandwatch, -> extension it says .mgw .MGW
                          So I've added .zip to the mix, but no joy.

                          I discovered that when installing lr-gw it will remove extensions that already are in the es_systems.cfg.
                          So I have converted the order of installing lr-gw and installing it before the runcommands of mame and lr-mess.
                          i updated my version to 251.07.
                          After installing lr-gw will be the default emulator.
                          So If you want to use mame or lr-mess change that when running a rom.

                          So you can update my script now and install gameandwatch again.
                          Hopefully it will fix your problem.

                          S 1 Reply Last reply 9 Feb 2023, 20:13 Reply Quote 0
                          • S
                            Soxbrother @Folly
                            last edited by Soxbrother 2 Sept 2023, 20:57 9 Feb 2023, 20:13

                            @Folly Hi, I've updated your script and installed lr-gw again.
                            (it said already installed from source, but I next choose install from precompiled binary )

                            after that it says,
                            "you have a custom override of the EmulationStation system config in :

                            /opt/retropie/configs/all/emulationstation/es_system.cfg

                            You will need to copy the updated gameandwatch config from /etc/emulationstation/es_system.cfg to your custom config for gameandwatch to show up in Emulationstation.

                            Now I think of it, somethinh like that came on the screen yesterday as well.

                            I'm going to try that now.

                            I'll let you know, if it works.

                            Update:

                            It works now !!
                            I've only tested "ball" so far, I need to set up the controls first.

                            It's not full screen, is there a way to zoom in or make it bigger ?

                            Thanks for your help so far.

                            Greetings,
                            Soxbrother

                            F 1 Reply Last reply 9 Feb 2023, 20:56 Reply Quote 0
                            • F
                              Folly @Soxbrother
                              last edited by 9 Feb 2023, 20:56

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

                              @Folly Hi, I've updated your script and installed lr-gw again.
                              (it said already installed from source, but I next choose install from precompiled binary )

                              My script installs lr-gw from source and then installs the mame / lr-mess runcommands so there is no need to install lr-gw from the optional packages.
                              Installing the binary again from the optional packages will remove the necessary extensions for mame/lr-mess in the es_systems.cfg

                              after that it says,
                              "you have a custom override of the EmulationStation system config in :

                              /opt/retropie/configs/all/emulationstation/es_system.cfg

                              You will need to copy the updated gameandwatch config from /etc/emulationstation/es_system.cfg to your custom config for gameandwatch to show up in Emulationstation.

                              If it says this then you have installed the emulationstation developers version.
                              Indeed, then you need to copy stuff otherwise systems aren't found correctly.

                              Now I think of it, somethinh like that came on the screen yesterday as well.

                              I'm going to try that now.

                              I'll let you know, if it works.

                              Good luck.

                              S 1 Reply Last reply 9 Feb 2023, 21:00 Reply Quote 0
                              • S
                                Soxbrother @Folly
                                last edited by Soxbrother 2 Sept 2023, 21:09 9 Feb 2023, 21:00

                                @Folly Got it working, thanks !!!
                                Only need a way to maybe zoom in or make it larger or maybe fullscreen.
                                Would be great if you could make it larger but still see the handheld, instead of fullscreen and only see the playfield.

                                F 1 Reply Last reply 10 Feb 2023, 08:56 Reply Quote 0
                                • F
                                  Folly @Soxbrother
                                  last edited by Folly 2 Nov 2023, 08:27 10 Feb 2023, 08:56

                                  @Soxbrother

                                  Depending on which emulator you use you can zoom in with all.

                                  With lr-mess we don't use artwork but retroarch overlays for the background.
                                  If installed/created with my script then they will show up with the game in fullscreen.

                                  With mame/lr-mess you can use the "tab" key to open the mame-ui then select video options -> screen#0 -> your choice.

                                  With lr-gw you can use "right-shift" and press until you see zoom then press "enter".

                                  Btw.
                                  The combination mame and lr-gw is not ideal in my script.
                                  It works but I want to change it in the future to something better if I get a good idea.

                                  S 1 Reply Last reply 11 Feb 2023, 14:14 Reply Quote 0
                                  • S
                                    Soxbrother @Folly
                                    last edited by Soxbrother 2 Nov 2023, 14:19 11 Feb 2023, 14:14

                                    @Folly Thanks !!!

                                    I didn't test all of them, but for now a few games say that "there are known problems with this system" or something like that. But seems that they can be played, so I don't know what problems they have.
                                    The few games I saw with that message for now, were :
                                    climber ( only displayed the gamefield, no other graphics ), game worked
                                    black jack, worked ,
                                    bomb sweeper worked
                                    cgrab didn't display graphics, only playfield, game worked, it complained about not having the graphics.
                                    Is it true that there are titles that have known problems then ?
                                    or has it something to do with the roms itself ? (usinf 0.251 roms)

                                    Greetings,
                                    Soxbrother

                                    A 1 Reply Last reply 11 Feb 2023, 14:39 Reply Quote 0
                                    • A
                                      Ashpool @Soxbrother
                                      last edited by 11 Feb 2023, 14:39

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

                                      I didn't test all of them, but for now a few games say that "there are known problems with this system" or something like that. But seems that they can be played, so I don't know what problems they have.

                                      You can query 'em here in the Arcade Database, even if the datfile lists emulation/driver/etc. as good, I bet there are some rom-files marked as missing/bad dump/or_similar (at least for climber dr-802.melody and dr-802.program are marked as bad dump).

                                      S 1 Reply Last reply 11 Feb 2023, 15:07 Reply Quote 0
                                      • S
                                        Soxbrother @Ashpool
                                        last edited by Soxbrother 2 Nov 2023, 15:09 11 Feb 2023, 15:07

                                        @Ashpool I see, I've searched the games I mentioned and they all have bad dumps.
                                        With all of them the melody files are bad dumps apparently.

                                        So if my assumption is correct, the only thing wrong with them would be the sound/melody in the game ?

                                        A 1 Reply Last reply 13 Feb 2023, 11:59 Reply Quote 0
                                        • A
                                          Ashpool @Soxbrother
                                          last edited by 13 Feb 2023, 11:59

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

                                          So if my assumption is correct, the only thing wrong with them would be the sound/melody in the game ?

                                          I'm really not sure, as sound is flaged as good, and whether that means that there is sound/music missing from the emulation due to the bad dump or not, I have no idea. Sometimes a look into the driver source can be helpfull, but in this case (at least for me) it is just further information (not answering the and what does it mean) -> citing from the drivers source (hh_sm510.cpp [accessed: 20230213]):

                                          • Currently there is no accurate way to dump the SM511/SM512 melody ROM
                                            electronically. For the ones that weren't decapped, they were read by
                                            playing back all melody data and reconstructing it to ROM. Visual(decap)
                                            verification is wanted for: bassmate, gnw_bfightn, gnw_bjack, gnw_bsweep,
                                            gnw_climbern, gnw_dkcirc, gnw_dkhockey, gnw_dkjrp, gnw_dkong3, gnw_gcliff,
                                            gnw_mariocmt, gnw_mariocmta, gnw_mariotj, gnw_mbaway, gnw_mmousep,
                                            gnw_pinball, gnw_popeyep, gnw_sbuster, gnw_snoopyp, gnw_zelda
                                          D 1 Reply Last reply 22 Feb 2023, 16:19 Reply Quote 1
                                          1309 out of 2231
                                          • First post
                                            1309/2231
                                            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