RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Game starts to launch but goes back to emulationstation

    Scheduled Pinned Locked Moved Help and Support
    raspbian stretcmame4allemulationstaton
    8 Posts 4 Posters 4.1k 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.
    • M
      maretodoric
      last edited by maretodoric

      Hello eveyone, I've been having issues running MAME games from emulationstation. But first things first

      • Pi Model or other hardware:
        Pi 3B+

      • Power Supply used:
        Native Raspberry Pi PSU that goes to MicroUSB slot (3A if I'm not mistaken)

      • RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest):
        Latest (j/k):
        4.4.12

      • Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used):
        Installed Raspbian OS, then downloaded from git using 'https://github.com/RetroPie/RetroPie-Setup.git' (more specifically, following guide from https://retropie.org.uk/docs/Manual-Installation/)
        USB Devices connected: 1 (Gamepad dongle)

      • Controller used: 1

      • Error messages received: 0

      • Log found in /dev/shm/runcommand.log (if relevant):
        Parameters:
        Executing: /opt/retropie/emulators/mame4all/mame "mk3mdb"

      • Guide used: (Mention if you followed a guide):
        https://retropie.org.uk/docs/Manual-Installation/

      • File: (File with issue - with FULL path):
        /home/pi/RetroPie/roms/mame-mame4all/mk3mdb.zip /home/pi/RetroPie/roms/mame-mame4all/mk3.zip /home/pi/RetroPie/roms/mame-mame4all/mk3snes.zip (only three roms that i have)

      • Emulator: (Name of emulator - if applicable):
        mame

      • Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
        Please let me know which config files do i post? Since i use roms for mame, i will post mame config file, all others are untouched by me (though i haven't touched mame config files either)

      emulators.cfg:

      mame4all = "/opt/retropie/emulators/mame4all/mame %BASENAME%"
      default = "mame4all"
      lr-mame2000 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2000/mame2000_libretro.so --config /opt/retropie/configs/mame-mame4all/retroarch.cfg %ROM%"
      

      mame.cfg:

      [config]
      artwork=yes
      samples=yes
      antialias=yes
      translucency=yes
      skiplines=0
      skipcolumns=0
      beam=1.0
      flicker=0.0
      gamma=1.0
      frameskip=auto
      ror=no
      rol=no
      flipx=no
      flipy=no
      samplerate=44100
      volume=0
      cheat=no
      vector_width=640
      vector_height=480
      kioskmode=no
      force_stereo=no
      # Anti-alias the display?
      display_smooth_stretch=yes
      display_border=0
      # display effect postprocessing: 0 none, 1 scanlines
      display_effect=0
      
      [directory]
      inp=/opt/retropie/configs/mame-mame4all/inp
      nvram=/opt/retropie/configs/mame-mame4all/nvram
      hi=/opt/retropie/configs/mame-mame4all/hi
      cfg=/opt/retropie/configs/mame-mame4all/cfg
      snap=/opt/retropie/configs/mame-mame4all/snap
      memcard=/opt/retropie/configs/mame-mame4all/memcard
      sta=/opt/retropie/configs/mame-mame4all/sta
      artwork=/home/pi/RetroPie/roms/mame-mame4all/artwork
      cheat=.
      rompath=/home/pi/RetroPie/roms/mame-mame4all;/home/pi/RetroPie/roms/arcade
      samplepath=/home/pi/RetroPie/roms/mame-mame4all/samples;/home/pi/RetroPie/roms/arcade/samples
      
      [frontend]
      #Keyboard controls for frontend only
      # Get codes from /usr/include/SDL/SDL_keysym.h
      K_START=13
      K_SELECT=53
      K_LEFT=276
      K_RIGHT=275
      K_UP=273
      K_DOWN=274
      K_A=306
      K_QUIT=27
      #Joystick controls for frontend only
      #Defaults to XBOX360 controller
      J_START=7
      J_SELECT=6
      J_A=0
      AXIS_LR=0
      AXIS_UD=1
      

      retroarch.cfg:

      # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
      
      input_remapping_directory = "/opt/retropie/configs/mame-mame4all/"
      
      #include "/opt/retropie/configs/all/retroarch.cfg"
      
      • How to replicate the problem:
      1. System boots to emulationstation
      2. Select Mame
      3. Select any of three roms (MK3, MK3 Bootleg of megadrive, MK3SNES)
      4. Screen goes away like it starts loading, then goes back to ROM Selection screen.

      Let me know if there is any more info that i can provide ! Thanks in advance !

      rbakerR 1 Reply Last reply Reply Quote 0
      • rbakerR
        rbaker @maretodoric
        last edited by

        @maretodoric One looks like its for the SNES, the others are from an incompatible rom set if they do not launch. If you have downloaded random roms, there is no way of knowing to which set they belong. You say MAME for the emulator but there are 10 versions, each requiring it's own romset - start with the Arcade section of the docs.

        1 Reply Last reply Reply Quote 0
        • M
          maretodoric
          last edited by

          Thanks for assisting on the issue!

          I know it says SNES but's it's bootleg of SNES ROM for MAME.
          But, i took your advice. I've checked Arcade docs and figured that i might not be using ROM for mame4all romsets. So:

          1. I've downloaded mk3 version for 0.78romset into /home/pi/RetroPie/roms/arcade/mk3.zip.
          2. Restarted emulationstation so it can pickup new rom for arcade.
          3. When i ran rom, it asked me to select emulator, I've chosen lr-mame2003 for emulator (since that one seems to support 0.78 romset according to docs)
          4. Same thing happens, it looks like it will launch it, but nothing else happens, goes back to rom selection.

          /dev/shm/runcommand.log:

          Parameters:
          Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/mk3.zip" --appendconfig /dev/shm/retroarch.cfg
          

          Anything else i could try to do to troubleshoot?

          1 Reply Last reply Reply Quote 0
          • sirhenrythe5thS
            sirhenrythe5th
            last edited by sirhenrythe5th

            I remember other Threads concerning non-running MK3 on MAME2003.
            Just an idea: is it possible that mk3 was on the one hand site supported by 0.78, but non-working at that time?
            That would not be unusal for MAME Releases, the DEV-Team supports games as soon as the dumps can be handled by the internal drivers, but that does not mean that they are allready working.
            Within the release-notes you often see the entry "Game added -> not Working".

            MK2 + MK3 do run with AdvanceMame also btw, but with Speed issues, only MK1 runs at perfect speed.
            I dont know if MAME2003 is so much better in perfomance, but doubt it.

            -- Retro-Achievements Username: SirALX --
            RetroRatio: 1.88
            Started Games beaten: 2,47%
            Site Rank: 4382/93743 ranked users (TOP 4.76%)
            Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

            1 Reply Last reply Reply Quote 0
            • M
              maretodoric
              last edited by

              Unfortunately i don't even know how to check that. I'm fairly new to MAME and Emulators, even though i have vast Linux experience and knowledge, not much helps here. I would like to rekindle the old MK3 love from childhood so this is basically the first game I've checked. I also love 'Tales from the crypt' pinball, but I've read somewhere that that doesn't work at all.

              I've downloaded this ROM from a site with fairly good reviews. Though.... Review can be bumped..

              Do you recommend that i try any specific rom ?

              sirhenrythe5thS 1 Reply Last reply Reply Quote 0
              • sirhenrythe5thS
                sirhenrythe5th @maretodoric
                last edited by sirhenrythe5th

                @maretodoric
                As mentioned: as soon as the games are supported by a new MAME Version it will appear on download sites.
                They dont filter if games are allready playable or not, so the site may have earned the good Reviews, they are not responsible for the status of the roms, just to offer them ;)

                Sadly i have no experience with lr-MAME2003 or any other lr-Port of MAME for the Raspberry Pi, i am a die hard AdvanceMAME-Fan.
                But i hope someone of the majority of lr-Users will have an idea!

                A bit offtopic, but i also had loooots of fun with "PinMAME" in conjunction with "Visual Pinball".
                I dont know if they allready made "Tales from the Crypt" playable, but many other great pinballs are playable by using the original ROMSets with great recreations of the Playfields on a PC ;)

                -- Retro-Achievements Username: SirALX --
                RetroRatio: 1.88
                Started Games beaten: 2,47%
                Site Rank: 4382/93743 ranked users (TOP 4.76%)
                Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                1 Reply Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver
                  last edited by

                  Mk3 works for me in mame2003. I would recommend downloading an entire 0.78 romset and picking out the games you want. Downloading Mame ROMs one at a time in the long run takes more time because of issues like yours.

                  1 Reply Last reply Reply Quote 0
                  • M
                    maretodoric
                    last edited by

                    Just managed to figure out!! I SSH'ed into the box running retropi and ran emulationstation from that console . When i did that, emulationstation appeared on TV (great). When i ran game, i saw a menu that says to press a button to configure, and there I've seen to run with verbose logging. When game exited, i opened up /dev/shm/runcommand.log file and saw that umk3-u2.bin file was missing. So I've kept on looking for 0.78 romset mk3 files until i found that there is umk3-u2.bin file in one of them ! When i found it, I've copied that one to arcade dir and ran it without issues!!!

                    I love mk3 ! Now all i have to do is find my notebook with special moves written on it for every character which i collected during old days ! Ahhhh, that takes me back!

                    Thank you, all of you for assisting ! Would not have done it without you!

                    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.