RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Tutorial: Handheld and Plug & Play systems with MAME

    Scheduled Pinned Locked Moved Ideas and Development
    game&watchjakkskonami handheldmametiger handheld
    278 Posts 10 Posters 129.0k 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
      last edited by Folly

      @DTEAM

      It took me quite some time but it seems I have a working generator script.
      I tried to improve the file names and the names given to the commands.
      I also added quite some explaining in the script on how the script works.
      I still have to look out for some mistakes and I hope it still works on a fresh install.

      What it should do now is :

      • create module-scripts that work with an original RetroPie-setup (for lr-mess only the run_mess.sh from valerino is needed)
      • add all mame commands
      • add the rompaths in the commandlines (for now it was too difficult to add them in mame.ini)
      • use this BIOS directory for both lr-mess and mame : /home/pi/RetroPie/BIOS/mame

      I hope I can create a thread this week.

      This is the script so feel free to experiment :
      https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scripts-00/generate-systems-lr-mess_mame-1v8-alpha.sh

      EDIT :
      There still seems to be an issue with artwork.
      lr-mess doesn't load roms if mame artwork is present in :
      /home/pi/RetroPie/BIOS/mame/artwork
      Both emulators seem to share the same directory structure.

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

        @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

        EDIT :
        There still seems to be an issue with artwork.
        lr-mess doesn't load roms if mame artwork is present in :
        /home/pi/RetroPie/BIOS/mame/artwork
        Both emulators seem to share the same directory structure.

        Normally, games run and lr-Mess loads Artworks if you are able to go in the MAME UI menu with lr-mame and select Artwork. For some reason, I'm able to go in MAME UI when I press (select and Y) and in Retroarch UI with (select and X). With Lr-mess, you have access to Retroarch artwork and mess artwork. Maybe the problem is there?

        I'm gonna try generate-systems-lr-mess_mame-1v8-alpha.sh tomorrow. What do you prefer that I test. Handheld games above, lr-Mess systems like Vectrex, NES, Artworks?

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

          @dteam

          Yes, it would be nice if you could test handhelds with mame and artwork.
          Can you then try if the handheld games also run with lr-mess ?

          Also testing some lr-mess systems using media would be great.
          As you said vextrex and nes will do for now.

          I like to hear what you think of the file/module naming and the commands that are being added in the emulators.cfg.
          Perhaps we can improve it somehow if we have better ideas.

          I added the version in the desired script and above systems are uncommented.
          So if you run the desired script it will generate those directly.

          The goal is to get it running with an original RetroPie-setup.
          Can you try with the original setup ?
          With the next command you only download the valerino run_mess.sh in the correct place :

          wget -nv -O /home/pi/RetroPie-Setup/scriptmodules/run_mess.sh https://raw.githubusercontent.com/valerino/RetroPie-Setup/master/scriptmodules/run_mess.sh
          
          

          run_mess.sh is only used if running games with lr-mess that use the -<media> option.

          **EDIT : I created a thread to discuss tests and improvements : **
          https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-and-mame-standalone

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

            @dteam

            Nice, I see you are integrating the script part in the first post. 👍

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

              @dteam

              I checked all handheld systems and discovered some systems that perhaps can be added.

              I checked all your system files against mame0233 and added these to the repository :
              commit 1

              I removed an unknown system :
              commit 2

              I removed a double system :
              commit 3

              I added possible systems to add :
              commit 4

              The JAKKS and the unknown have to be checked the most before adding.
              I am more confident that the others can just be added.

              Can you check it before we add them ?

              If you can keep the structure in post 2 the same that would be nice.

              ( I have to tell you, I was quite some work checking it all ;-) )

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

                @folly

                here, I have tested a lot of systems and the unworking are listed. For JAKKS, a lot of handheld doesn't work.

                I removed an unknown system :

                commit 2

                For TBASKB

                see http://adb.arcadeitalia.net/dettaglio_mame.php?game_name=tbaskb&arcade_only=0&autosearch=1

                This pocket handheld exists and works. Maybe they change the name of the file?

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

                  @dteam

                  Ok, so possibly there are still "non-working-systems" among them.
                  Well, for now, the data is somewhat registered.

                  So we can look at it another day then.


                  Edit :
                  I added tbaskb back in the list (last found in 0229) :
                  https://github.com/FollyMaddy/RetroPie-Share/commit/5454b8ab35b1ccf80288570b1872178b6ae7612a

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

                    @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                    I added possible systems to add :
                    commit 4

                    You can definitely go ahead for those (excepted Thomas and Friends)

                    Driver bndarc (Arcadia (Bandai)):
                    Driver bmcfball (Classic Football (Bambino)):
                    Driver cpacmanr1 (Pac-Man (Coleco, Rev. 28)):
                    Driver ebknight (Black Knight Pinball (Entex)):
                    Driver efootb4 (Color Football 4 (Entex)):
                    Driver einvaderc (Space Invader (Entex, COP444L version)):
                    Driver epacman2r (Pac Man 2 (Entex, red Pacman)):
                    Driver esbattle (Space Battle (Entex)):
                    Driver gpoker (Poker (Gakken, 1979 version)):
                    Driver mbaskb (Basketball (Mattel)):
                    Driver mchess (Computer Chess (Mattel)):
                    Driver mfootb2 (Football 2 (Mattel)):
                    Driver mhockey (Hockey (Mattel)):
                    Driver msoccer (Soccer (Mattel)):
                    Driver tmy_thom (Thomas and Friends (Tomy)):

                    For Game & Watch below:

                    Driver gnw_bfightn (Game & Watch: Balloon Fight (New Wide Screen)):
                    Driver gnw_climbern (Game & Watch: Climber (New Wide Screen)):
                    Driver gnw_dkcirc (Game & Watch: Donkey Kong Circus):
                    Driver gnw_smbn (Game & Watch: Super Mario Bros. (New Wide Screen)):

                    They are already covered by Madrigal romset or it's a different version like gnw_smbn and gnw_smb.
                    We should add them.

                    For Jakks (not playable) and those 2 :
                    Driver mdallas (Dalla$ (J.R. handheld)): --------> Board Game
                    Driver megajet (Mega Jet (Japan Mega Drive handheld)): -----------> Portable MegaDrive

                    It's a no go.

                    I'll work on the gamelist.xml files to add them and try to find some artwork for them.

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

                      @dteam

                      I updated the databases.
                      (I still have to update them in the script) (updated)

                      Here you can check what I added :
                      (the red Drivers in the check_database_files are removed and added to the normal database_files)
                      https://github.com/FollyMaddy/RetroPie-Share/commit/9d7fe77b260441c9f66a360ef7a3b50ec171f38f

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

                        @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

                        Driver gnw_bfightn (Game & Watch: Balloon Fight (New Wide Screen)):
                        Driver gnw_climbern (Game & Watch: Climber (New Wide Screen)):
                        Driver gnw_dkcirc (Game & Watch: Donkey Kong Circus):
                        Driver gnw_smbn (Game & Watch: Super Mario Bros. (New Wide Screen)):

                        For those G&Watch, the MAME's Artworks was already in the Google drive folder

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

                          @dteam

                          Now you said, I looked into the folder.
                          Indeed they are already there !

                          Back then, you already added some future stuff ;-)
                          Magnificent !

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

                            @folly
                            Same thing for epacman2r.zip

                            Now, I'm working on gamelist.xml files

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

                              @Folly

                              this one is a console

                              Driver bndarc (Arcadia (Bandai)) not a handheld

                              Arcadia (Bandai)

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

                                @Folly

                                Site with artworks for MESS and MAME

                                http://discreteconsoles.blogspot.com/2015/11/

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

                                  @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

                                  @Folly

                                  this one is a console

                                  Driver bndarc (Arcadia (Bandai)) not a handheld

                                  Arcadia (Bandai)

                                  I removed bndarc from the classich database and in the scripts.
                                  And updated the check_databases according to post 68 and 73.

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

                                    @dteam said in Tutorial: Handheld and Plug & Play systems with MAME:

                                    @Folly

                                    Site with artworks for MESS and MAME

                                    http://discreteconsoles.blogspot.com/2015/11/

                                    Looking nice.
                                    Can you find the download link ?

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

                                      @folly said in Tutorial: Handheld and Plug & Play systems with MAME:

                                      Can you find the download link ?

                                      unfortunately no

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

                                        @Folly

                                        gamelist.xml for classich has been updated on Google Drive. Game and Watch was already ok.

                                        The list in post #2 has been updated too, according post 68

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

                                          @dteam

                                          This driver is missing :
                                          Driver gnw_egg (Game & Watch: Egg):

                                          Can you have a look, I think we can add it.

                                          I tried in both mame and lr-mess .
                                          Adding it to the script array will generate config files and background overlay for lr-mess.

                                          2021-10-31-121710_800x600_scrot-resized.png 2021-10-31-122648_800x600_scrot-resized.png

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

                                            @folly
                                            Thanks. I added it.

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