MAME confusion, why multiple versions?

Home Forums RetroPie Project Everything else related to the RetroPie Project MAME confusion, why multiple versions?

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 70 replies, has 15 voices, and was last updated by Profile photo of rawk1971 rawk1971 1 year, 11 months ago.

Viewing 35 posts - 36 through 70 (of 71 total)
  • Author
    Posts
  • #5081
    Profile photo of cacophony555
    cacophony555
    Participant

    So it can’t find the mame executable within the “/home/pi/RetroPie/emulators/mame4all-pi/” directory.

    Do this to see if “mame4all-pi” exists:
    ls /home/pi/RetroPie/emulators

    Does it list mame4all-pi?

    If it does then do this:
    /home/pi/RetroPie/emulators/mame4all-pi/

    Does it list mame?

    #5084
    Profile photo of cacophony555
    cacophony555
    Participant

    If “mame” is listed in the mame4all-pi directory, then try doing this:
    chmod +x /home/pi/RetroPie/emulators/mame4all-pi/mame

    and then launching again.

    #5085
    Profile photo of toasti
    toasti
    Participant

    Sure, the mame4all-pi folder is there, I created the “roms” folder within 😉
    mame is also existing, without any file Extension.

    I executed chmod+x mame, but after this it’s also not finding mame.

    I tried just another game with the emulation station and again missing some files like neo geo Rom and it seems also a few game files. On my Mame on Windows the game is running fine.

    #5091
    Profile photo of trimmtrabb
    trimmtrabb
    Participant

    can you post your es_systems.cfg? also what version of RetroPie are you running, the 1.9.1 image or have you installed via the setup script?

    If you have found the solution to your problem please mark the topic as resolved.

    #5094
    Profile photo of toasti
    toasti
    Participant

    Sure, here it is:

    DESCNAME=Apple ][
    NAME=apple2
    PATH=/home/pi/RetroPie/roms/apple2
    EXTENSION=.txt
    COMMAND=/home/pi/RetroPie/emulators/linapple-src_2a/Start.sh
    
    DESCNAME=Atari 800
    NAME=atari800
    PATH=/home/pi/RetroPie/roms/atari800
    EXTENSION=.xex .XEX
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/atari800-3.0.0/installdir/bin/atari800 %ROM%"
    PLATFORMID=22
    
    DESCNAME=Atari 2600
    NAME=atari2600
    PATH=/home/pi/RetroPie/roms/atari2600
    EXTENSION=.a26 .A26 .bin .BIN .rom .ROM .zip .ZIP .gz .GZ
    #alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "stella %ROM%"
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/stella-libretro/stella_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/atari2600/retroarch.cfg  %ROM%"
    PLATFORMID=22
    
    DESCNAME=Atari ST/STE/Falcon
    NAME=atariStSteFalcon
    PATH=/home/pi/RetroPie/roms/atariStSteFalcon
    EXTENSION=.st .ST .img .IMG .rom .ROM
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "hatari %ROM%"
    
    DESCNAME=Basilisk II
    NAME=basiliskii
    PATH=/home/pi/RetroPie/roms/basiliskii
    EXTENSION=.txt
    COMMAND=sudo modprobe snd_pcm_oss && xinit /home/pi/RetroPie/emulators/basiliskii/installdir/bin/BasiliskII
    # Or possibly just COMMAND=xinit /home/pi/RetroPie/emulators/basiliskii/installdir/bin/BasiliskII
    
    DESCNAME=Cave Story
    NAME=cavestory
    PATH=/home/pi/RetroPie/roms/cavestory
    EXTENSION=.txt
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/nxengine-libretro/nxengine_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/cavestory/retroarch.cfg /home/pi/RetroPie/emulatorcores/nxengine-libretro/datafiles/Doukutsu.exe"
    
    DESCNAME=C64
    NAME=c64
    PATH=/home/pi/RetroPie/roms/c64
    EXTENSION=.crt .CRT .d64 .D64 .g64 .G64 .t64 .T64 .tap .TAP .x64 .X64 .zip .ZIP
    COMMAND=/home/pi/RetroPie/emulators/vice-2.3.dfsg/installdir/bin/x64 %ROM%
    PLATFORMID=40
    
    DESCNAME=Doom
    NAME=doom
    PATH=/home/pi/RetroPie/roms/doom
    EXTENSION=.WAD .wad
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/libretro-prboom/prboom_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/doom/retroarch.cfg %ROM%"
    PLATFORMID=1
    
    DESCNAME=Duke Nukem 3D
    NAME=duke3d
    PATH=/home/pi/RetroPie/roms/duke3d
    EXTENSION=.grp .GRP
    COMMAND=eduke32 -g %ROM% -gamegrp %ROM%
    PLATFORMID=1
    
    DESCNAME=Game Boy
    NAME=gb
    PATH=/home/pi/RetroPie/roms/gb
    EXTENSION=.gb .GB
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/gambatte-libretro/libgambatte/gambatte_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/gb/retroarch.cfg %ROM%"
    PLATFORMID=4
    
    DESCNAME=Game Boy Advance
    NAME=gba
    PATH=/home/pi/RetroPie/roms/gba
    EXTENSION=.gba .GBA
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/gpsp/raspberrypi/gpsp %ROM%"
    PLATFORMID=5
    
    DESCNAME=Game Boy Color
    NAME=gbc
    PATH=/home/pi/RetroPie/roms/gbc
    EXTENSION=.gbc .GBC
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/gambatte-libretro/libgambatte/gambatte_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/gbc/retroarch.cfg %ROM%"
    PLATFORMID=41
    
    DESCNAME=Sega Game Gear
    NAME=gamegear
    PATH=/home/pi/RetroPie/roms/gamegear
    EXTENSION=.gg .GG
    COMMAND=/home/pi/RetroPie/emulators/osmose-0.8.1+rpi20121122/osmose %ROM% -joy -tv -fs
    PLATFORMID=20
    
    DESCNAME=Intellivision
    NAME=intellivision
    PATH=/home/pi/RetroPie/roms/intellivision
    EXTENSION=.int .INT .bin .BIN
    COMMAND=/home/pi/RetroPie/emulators/jzintv-1.0-beta4/bin/jzintv -z1 -f1 -q %ROM%
    PLATFORMID=32
    
    DESCNAME=MAME
    NAME=mame
    PATH=/home/pi/RetroPie/roms/mame
    EXTENSION=.zip .ZIP
    COMMAND=/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/mame/retroarch.cfg %ROM% 
    # alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/pifba/fba2x %ROM%" 
    PLATFORMID=23
    
    DESCNAME=FinalBurn Alpha
    NAME=fba
    PATH=/home/pi/RetroPie/roms/fba
    EXTENSION=.zip .ZIP
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/fba-libretro/fb_alpha_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/fba/retroarch.cfg  %ROM%"
    # alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/pifba/fba2x %ROM%" 
    PLATFORMID=23
    
    DESCNAME=PC (x86)
    NAME=x86
    PATH=/home/pi/RetroPie/roms/x86
    EXTENSION=.txt
    COMMAND=/home/pi/RetroPie/emulators/rpix86/Start.sh
    PLATFORMID=1
    
    DESCNAME=ScummVM
    NAME=scummvm
    PATH=/home/pi/RetroPie/roms/scummvm
    EXTENSION=.exe .EXE
    COMMAND=scummvm
    PLATFORMID=20
    
    DESCNAME=Sega Master System II
    NAME=mastersystem
    PATH=/home/pi/RetroPie/roms/mastersystem
    EXTENSION=.sms .SMS
    COMMAND=/home/pi/RetroPie/emulators/osmose-0.8.1+rpi20121122/osmose %ROM% -joy -tv -fs
    PLATFORMID=35
    
    DESCNAME=Sega Mega Drive / Genesis
    NAME=megadrive
    PATH=/home/pi/RetroPie/roms/megadrive
    EXTENSION=.smd .SMD .bin .BIN
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/picodrive/picodrive_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/megadrive/retroarch.cfg  %ROM%"
    # alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/dgen-sdl/dgen -f -r /home/pi/RetroPie/configs/all/dgenrc %ROM%"
    # alternatively: COMMAND=export LD_LIBRARY_PATH="/home/pi/RetroPie/supplementary/dispmanx/SDL12-kms-dispmanx/build/.libs"; /home/pi/RetroPie/emulators/dgen-sdl/dgen %ROM%
    PLATFORMID=18
    
    DESCNAME=NeoGeo
    NAME=neogeo
    PATH=/home/pi/RetroPie/roms/neogeo
    EXTENSION=.zip .ZIP
    COMMAND=/home/pi/RetroPie/emulators/gngeo-pi-0.85/installdir/bin/arm-linux-gngeo -i /home/pi/RetroPie/roms/neogeo -B /home/pi/RetroPie/emulators/gngeo-pi-0.85/neogeobios %ROM%
    # alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/pifba/fba2x %ROM%" 
    PLATFORMID=24
    
    DESCNAME=Nintendo Entertainment System
    NAME=nes
    PATH=/home/pi/RetroPie/roms/nes
    EXTENSION=.nes .NES
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/fceu-next/fceumm-code/fceumm_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/nes/retroarch.cfg  %ROM%"
    PLATFORMID=7
    
    DESCNAME=Nintendo 64
    NAME=n64
    PATH=/home/pi/RetroPie/roms/n64
    EXTENSION=.z64 .Z64 .n64 .N64
    COMMAND=cd /home/pi/RetroPie/emulators/mupen64plus-rpi/test/ && ./mupen64plus %ROM%
    PLATFORMID=3
    
    DESCNAME=PC Engine/TurboGrafx 16
    NAME=pcengine
    PATH=/home/pi/RetroPie/roms/pcengine
    EXTENSION=.pce
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/mednafen-pce-libretro/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/pcengine/retroarch.cfg %ROM%"
    PLATFORMID=34
    
    DESCNAME=Sony Playstation 1
    NAME=psx
    PATH=/home/pi/RetroPie/roms/psx
    EXTENSION=.img .IMG .7z .7Z .pbp .PBP .bin .BIN
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/pcsx_rearmed/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/psx/retroarch.cfg %ROM%"
    PLATFORMID=10
    
    DESCNAME=Playstation Portable
    NAME=psp
    PATH=/home/pi/RetroPie/roms/psp
    EXTENSION=.iso .ISO .cso .CSO
    COMMAND=/home/pi/RetroPie/emulators/ppsspp/PPSSPPSDL %ROM% en
    PLATFORMID=13
    
    DESCNAME=Super Nintendo
    NAME=snes
    PATH=/home/pi/RetroPie/roms/snes
    EXTENSION=.smc .sfc .fig .swc .SMC .SFC .FIG .SWC
    COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/pocketsnes-libretro/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/snes/retroarch.cfg  %ROM%"
    # alternatively: COMMAND=/home/pi/RetroPie/emulators/snes9x-rpi/snes9x %ROM%
    # alternatively: COMMAND=/home/pi/RetroPie/emulators/pisnes/snes9x %ROM%
    PLATFORMID=6
    
    DESCNAME=ZX Spectrum
    NAME=zxspectrum
    PATH=/home/pi/RetroPie/roms/zxspectrum
    EXTENSION=.z80 .Z80
    COMMAND=xinit fuse
    # alternatively: COMMAND=/home/pi/RetroPie/emulators/fbzx-2.10.0/fbzx %ROM%
    
    DESCNAME=Input Configuration
    NAME=esconfig
    PATH=/home/pi/RetroPie/roms/esconfig
    EXTENSION=.sh .SH
    COMMAND=/home/pi/RetroPie/roms/esconfig/Start.sh
    

    The script is Standard, nothing changed.

    I’m running the newest RetroPie Image.

    I googled a lot and is it possible that only MAME games v0.37b5 are working?

    #5095
    Profile photo of cacophony555
    cacophony555
    Participant

    mame4all-pi only supports 37b5 roms. Not sure about the retroarch version that the default config uses.

    #5096
    Profile photo of cacophony555
    cacophony555
    Participant

    What is the exact output of this command:

    ls -l /home/pi/RetroPie/emulators/mame4all-pi/mame

    #5098
    Profile photo of toasti
    toasti
    Participant
    pi@raspberrypi / $ ls -l /home/pi/RetroPie/emulators/mame4all-pi/mame
    -rwxr-xr-x 1 pi pi 9528164 Nov  4 19:39 /home/pi/RetroPie/emulators/mame4all-pi/mame
    

    That’s it.

    #5099
    Profile photo of cacophony555
    cacophony555
    Participant

    Ok, that helps.

    Can you show the exact command you did that led to “mame: command not found” ?

    #5100
    Profile photo of toasti
    toasti
    Participant

    Sure, I can do and let you know.
    At the Moment I cannot do it, because my girlfriend is watching TV 😉

    I have only the SSH Access to test at the Moment and now I know my mistake when you ask in this way…
    I navigated to the mame4all-pi Directory and then entered only “mame <game Name>”.

    Now, if I enter the complete path, “/home/pi/RetroPie/emulators/mame4all-pi/mame <game Name>” I get no error in the console.
    But as already said, I cannot test it directly, just entered it in the SSH Access and get no error. Tested again in the wrong way, and yes, get the error again.

    Sorry for that misunderstanding, I’m a Windows guy 😉

    So I will test in aprox. 1 hour and will let you know what happen.
    Thanks for your help!

    #5102
    Profile photo of cacophony555
    cacophony555
    Participant

    No problem, happy to help.

    What you said explains it. If you’re actually in the mame4all-pi directory then doing this won’t work:
    mame <gamename>

    This would would work though:
    ./mame <gamename>

    The nice thing about this command is that it works regardless of what directory you’re in:
    /home/pi/RetroPie/emulators/mame4all-pi/mame <gamename>

    So give it a try when you’re not ssh’ing in. It should work, and the only problem you’re likely to hit is a rom that is not compatible. The version of Mame for your windows pc is likely compatible with a much more recent version of the roms, whereas mame4all-pi is compatible with 037b5 roms from over 10 years ago.

    #5104
    Profile photo of toasti
    toasti
    Participant

    Thanks! 🙂

    I have tried it and the same error message with several roms:

    ERROR: required files are missing, the game cannot be run.
    RetroArch [WARN]:: [GL] Stock GLSL shaders will be used.
    RetroArch [ERROR] :: Implementation does not Support save states. Cannot use rewind.

    All games that I tried, I got this error.

    Also some game files missing as it seems. But on the Windows PC and mame, it’s running, exact the same game.
    The neogeo.zip is also in the rom folder.

    EDIT: Now I tried some really old roms, with Emulation station – These are running. 🙁
    But classics like Metal Slug are not.

    So what is the best way to get it running on RetroPie?
    There are a lot YouTube clips where people run all the cassics I also tried without success.

    #5109
    Profile photo of cacophony555
    cacophony555
    Participant

    So it sounds like an issue with the roms you’re trying to run. Most websites offer the newest versions of mame roms which aren’t going to be compatible with mame on the pi. Those roms run fine on your windows machine because you’re using a much newer version of mame on that setup.

    What you need is the “mame 037b5 complete full 2270” set. Try a google search for that string 😉 As far as I know there’s no easy way to get individual 037b5 roms.

    EDIT: alternatively, piFba supports the latest versions of many roms including Metal Slug, Metal Slug 2, etc, but that’s a whole separate setup.

    #5125
    Profile photo of toasti
    toasti
    Participant

    Good morning! 😉

    I tried to find, but the websites are strange and I don’t want to download a Virus…

    But I used a program this morning to convert roms to another version and now Metal Slug 2 is running. Could be a Little bit faster, but this should be fixed when I will overclock it.

    The program only converted a few roms and for example mslug1 is not running.
    When I switch over to pifba in the es_systems.cfg Mslug1 and 2 are loading, but I only see a black Screen.

    I have found a few single 0375b roms, but they didn’t run. Maybe they are named as 0375b roms, but they aren’t? How can I find out which Version of rom it is?

    Is there a way to use Mame4all and PIFBA with the RetroPie and Emulation Station? What’s about the separate Setup, is there a tutorial or something else?

    Your help is much appreciated!

    #5140
    Profile photo of cacophony555
    cacophony555
    Participant

    Glad to hear it’s (partly) working now!

    To switch what emulator is used by Emulation Station just press F4 to quit, and then modify the appropriate COMMAND line in the es_systems.cfg. For Mame that would be :

    DESCNAME=MAME
    NAME=mame
    PATH=/home/pi/RetroPie/roms/mame
    EXTENSION=.zip .ZIP
    COMMAND=/home/pi/RetroPie/emulators/RetroArch/installdir/bin/retroarch -L /home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/mame/retroarch.cfg %ROM% 
    # alternatively: COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "/home/pi/RetroPie/emulators/pifba/fba2x %ROM%" 
    PLATFORMID=23

    Just put a “#” in front of the current COMMAND line above and then add a new one in the same block that points at the emulator you want:

    COMMAND = /home/pi/RetroPie/emulators/mame4all-pi/mame %BASENAME%

    (you need to use %BASENAME% at the end so that it puts in the rom name without the extension when it tries to launch; Mame is the only one that doesn’t want the extension, so for all other emulators you would put %ROM% instead)

    If pifba is just showing a black screen it’s probably because of issues with the roms. You could verify this by running from the command line. IIRC, the roms from romnation worked more consistently than roms from certain other sites. Neo Geo roms also require bios files packaged in a certain way which adds to the complexity.

    Not sure how to check the version number of a rom… My best suggestion would be to grab the entire set (mentioned above) via torrent. Not all of those will work but about 90% do.

    #5226
    Profile photo of toasti
    toasti
    Participant

    Hey 🙂
    Thanks for the help!
    I have changed it, but then my controller were no more working? I think I need a special config for mame4all?

    BUT, I have found 037b5 found for testing and all what I tried was working. 😉

    So I think that should be ok now, but now I have another problem.
    Not the right one for this Thread, but maybe it’s solved quickly.

    I wanted to make my ES more beautiful and ran the ES-Scraper in the RetroPie setup, based on this manual: http://supernintendopi.wordpress.com/2013/01/23/an-a-to-z-beginners-guide-to-installing-retropie-on-a-raspberry-pi/

    After that, my Pie is hanging in the SlpashScreen, with CTRL+ALT+F2 and F1 I can switch between terminal and splash, but there’s only a blinking cursor. After that I rewrite my backed up image, I saw no other chance to get the running system back.

    I followed all the steps.

    What’s about the “Start Emulationstation on boot?” – why should I disable it? I tried it disabled and enabled, the same happened.

    I would like to use this nice feature, but how get it running?

    Researched a lot, but found nothing that helped me.

    Do you have any clue for me?

    Many, many thanks for your help!

    #5227
    Profile photo of cacophony555
    cacophony555
    Participant

    Nice, glad it helped! For mame4all you need to set keys by launching a game and then hitting TAB on the keyboard. That will bring up the Mame menu and you can set keys from there. Whatever keys you set will be remembered going forward.

    Never been a fan of ES-scraper. It’s always seemed like way more trouble then it’s worth, especially if you have a bunch of unlicensed or import games. It ends up guessing the wrong game and setting incorrect titles and images as a result. It’s also painfully slow to run on a large ROM collection.

    #5229
    Profile photo of peanut
    peanut
    Participant

    If you wanna run metal slug you should just go for gngeo! Best performance and sound. Only metalslug 4 doesnt work on gngeo. Works on pifba but no sound.

    #5258
    Profile photo of retrofredde
    retrofredde
    Participant

    Is there any way to deactivate the rotation/dial controls in mame4all_pi?

    I’m trying to get Ikari Warriors playable.

    The retroarch mame emulator manage this by putting the rotation on the L/R shoulder buttons, not perfct but definitely playable. But there is no sound in Ikari Warriors, and Bad Dudes have no music either, so since everyone is praising mame4all-pi I’m trying to switch over, if possible.

    Mame4all_pi have sound, in both Ikari Warriors and Bad Dudes, but the rotation dial emulation is placed on the analog stick for some weird reason, which makes the character spin around like a ballet dancer when moving left or right… I’ve dug through the complete source code to hack it out manually in an desperate attempt to get it to work but can’t find where it’s activated.
    I _think_ deactivating analog controls could work too, but the dpad isn’t working in this emulator.

    Sigh.

    sound vs controls
    Mame4allpi vs Retroarchmame

    #5260
    Profile photo of cacophony555
    cacophony555
    Participant

    retrofredde, I’m wondering the same thing. If you find a solution, please post it.

    #5262
    Profile photo of retrofredde
    retrofredde
    Participant

    retrofredde, I’m wondering the same thing. If you find a solution, please post it.

    Yup I will. I’m a coding noob but I’ve been looking inside the .cpp files anyway, reason is I’ve seen some people talk about an analog dial on/off menu option that is in “this game” user interface config menu. When setting it to off the stick rotation goes away. But that option isn’t there in the pi port, at least not the latest one, if someone more experienced could find that option in the .cpp files for the pc version of mame4all then maybe we could just cut and paste it into the pi version and recompile?

    Edit:

    http://www.arcadeperfect.net/2010/05/mame-tutorial.html?m=1

    At the bottom:

    “I figured out how to play games on MAME with analog dial controls, like Ikari Warriors, TRON, etc.
    Press TAB. go to player controls (this game) go down to where it says dial analog, select it with enter and press Esc to turn it off. Assign dial inc and dial dec to whatever keys you want to use. From the main menu go into analog controls and adjust dial digital speed to a managable level.”

    This is what I’m talking about.

    #5276
    Profile photo of xantric
    xantric
    Participant

    @cacophony555: Thanks for mentioning that alternate command for mame4all

    COMMAND = /home/pi/RetroPie/emulators/mame4all-pi/mame %BASENAME%

    Once I added that to my es_systems.cfg, Galaga ran flawlessly. I did lose my joystick controls and when trying to map them, mame did not recogize my wireless PS3 controller. But I will try and work through that next.

    #5297
    Profile photo of retrofredde
    retrofredde
    Participant

    I simply dropped the idea of getting dial control games to work and completely switched over to Mame4all_pi today. Wow. Just wow. It a night and day difference from the original retroarch mame emulator. Just about everything runs full speed and everything get the correct aspect ratio too. 🙂

    A few games you all should try:
    AirDuel – vertical heli/plane shooter
    Cadillacs and Dinosaurs – Beat’em up ala Final Fight
    OutZone – top down run and gun shooter
    GunForce – side scrolling action platformer

    #5306
    Profile photo of toasti
    toasti
    Participant

    Nice, glad it helped! For mame4all you need to set keys by launching a game and then hitting TAB on the keyboard. That will bring up the Mame menu and you can set keys from there. Whatever keys you set will be remembered going forward.

    Never been a fan of ES-scraper. It’s always seemed like way more trouble then it’s worth, especially if you have a bunch of unlicensed or import games. It ends up guessing the wrong game and setting incorrect titles and images as a result. It’s also painfully slow to run on a large ROM collection.

    Thanks! I will give it a shot again on the weekend.

    ES-scrapper would be very, very nice but I also heard from performance issues with a lot of roms. I will try it again this weekend, maybe I get it working.
    If not, is there another possibility to get a proper gamelist instead of shortcuts from the ZIPs?

    @retrofredde:
    Thanks for the game suggestions!

    “Progear” was a game I was looking forward to play, but I think it’s to new that there is a 37b5 rom available.
    Do you know a game like Progear that is working on the RetroPie or is there possibly a rom available for RetroPie and mame4all-pi?

    #5313
    Profile photo of cacophony555
    cacophony555
    Participant

    @toasti, I wrote my own script to generate the gamelist.xml file with proper names, but it’s not really in a state to share without some additional work. I’ll probably do this at some point when I have some more time.

    #5317
    Profile photo of retrofredde
    retrofredde
    Participant

    Sigh. I still stumble upon games that have no sound after switching to mame4all_pi which I thought would erase all those problems. I’m using 0.37b5 roms. Why does these problems appear? Do I lack some files? Some roms complain about not finding neogeo.rom but most games start with ok on everything.

    #5321
    Profile photo of toasti
    toasti
    Participant

    @toasti, I wrote my own script to generate the gamelist.xml file with proper names, but it’s not really in a state to share without some additional work. I’ll probably do this at some point when I have some more time.

    But if you have the script in a state ready to share, please Keep me in mind 😉

    Sigh. I still stumble upon games that have no sound after switching to mame4all_pi which I thought would erase all those problems. I’m using 0.37b5 roms. Why does these problems appear? Do I lack some files? Some roms complain about not finding neogeo.rom but most games start with ok on everything.

    Since a few hours I try to get gngeo running – sadly without success.
    It freezes on the loading screen or I got only a black screen.
    Any ideas?

    I followed the instructions regarding bios files but nothing is working. 🙁

    #5325
    Profile photo of retrofredde
    retrofredde
    Participant

    toasti, I use the program posted here:
    http://lakeuk.blogspot.co.uk/2014/02/raspberry-pi-retropie.html
    …in combination with ES-scraper.

    First I run scraper and then loads gamelist.xml and downloaded cover art to a new folder on the computer and run the .exe file from that program inside the same folder, it’ll then show the current state of the gamelist file with cover art and descriptipn if available. Then you can go through the list and cut and paste new art and description from a web database and google and click update and it’ll save the new info to the gamelist.xml file. When you’re done you just delete the old gamelist.xml on your pi and uploads the new gamelist.xml file in it’s place. Done. 🙂

    It still take some time to do it but I find it easier than doing it completely manually.

    A trick to get scraper to find more games is to temporarily rename the games and try scraping again. Especially neogeo is impossible to scrape without renaming the games.

    Like this…
    mv androdun.zip “Andro Dunos.zip”

    Scrape with -p flag and choose neogeo will do the trick.

    But it needs the old filenames to run, so…
    mv “Andro Dunos.zip” androdun.zip

    And finally go into the gamelist.xml and find the path and swap Andro Dunos.zip to androdun.zip

    I wouldn’t do this on a huge collection though. And if you spend the time to do it this way… Do backups on your retropie image often! I did daily backups when I did my gamelists, luckily so because I’ve had two incidents with corrupt SD card. It’s final now though, cover art and description on every game. 🙂

    #5329
    Profile photo of toasti
    toasti
    Participant

    toasti, I use the program posted here:

    http://lakeuk.blogspot.co.uk/2014/02/raspberry-pi-retropie.html

    …in combination with ES-scraper.

    First I run scraper and then loads gamelist.xml and downloaded cover art to a new folder on the computer and run the .exe file from that program inside the same folder, it’ll then show the current state of the gamelist file with cover art and descriptipn if available. Then you can go through the list and cut and paste new art and description from a web database and google and click update and it’ll save the new info to the gamelist.xml file. When you’re done you just delete the old gamelist.xml on your pi and uploads the new gamelist.xml file in it’s place. Done. :)

    It still take some time to do it but I find it easier than doing it completely manually.

    A trick to get scraper to find more games is to temporarily rename the games and try scraping again. Especially neogeo is impossible to scrape without renaming the games.

    Like this…<br>
    mv androdun.zip “Andro Dunos.zip”

    Scrape with -p flag and choose neogeo will do the trick.

    But it needs the old filenames to run, so…<br>
    mv “Andro Dunos.zip” androdun.zip

    And finally go into the gamelist.xml and find the path and swap Andro Dunos.zip to androdun.zip

    I wouldn’t do this on a huge collection though. And if you spend the time to do it this way… Do backups on your retropie image often! I did daily backups when I did my gamelists, luckily so because I’ve had two incidents with corrupt SD card. It’s final now though, cover art and description on every game. :)

    Thank you very much! 😉
    I just downloaded the tool and I’m waiting for my sd card which I’m writing again due to hanging in the “RetroPie” loading screen after the neogeo emulator binary update.

    But I have one Problem regarding the scraper and getting gamelist.xml and cover arts: When I ran it I got my pi no more booting. So what is going wrong that the Emulation Station has such problems? I think there is nothing changed in the system, just cover art and descriptions downloaded and gamelist.xml created.

    EDIT: It’s booting until the RetroPie Project Splash Screen and then I have the possibility to go into the terminal with CTRL+ALT+F2, with CTRL+ALT+F1 I come back to the splash.
    When I am in the terminal I cannot do anything, just shutdown and reboot.
    When I want to enter another path I got only “No such file or Directory”.
    It says it’s read only? I don’t know what is going on.
    Among other things the ext 4 file System has a problem.

    So if I cannot “finish” the ES-scraper, I cannot use the program, right?
    As I understand it’s only usable to fill some gaps that ES-scraper could not fill out?

    And what is the trick with the neogeo Emulator?
    I unzpipped the bios files in the folder “neogeobios” which I had to create in the emulator folder of gngeo.
    Then I copied the neogeo.zip and unibios.zip in the roms folder.

    Anything else I have to do?

    #5333
    Profile photo of retrofredde
    retrofredde
    Participant

    tasti: That’s strange, as you say ES-scraper only edits the gamelist.xml file and downloads cover art, it shouldn’t cause the pi to not boot. I once got into a similar problem though when manually editing a gamelist.xml file and forgetting an end tag </desc>. I had to log onto the pi with an ssh client on the ipad and go through the xml file from there are fix it, after a rebott it was okay again. But scraper shouldn’t cause that.

    As for neogeo, I have the neogeo.zip file in the roms/neogeo folder, still zipped. There was some trouble to get the correct neogeo.zip though, I eventually used one with the unibios files inside it. Some games still don’t load though and I haven’t solved that. This rom jungle and the mame complexity is the downside to this emulation setup, when I’ve spent too much time struggling to get a game to run properly I just put the head in the sand and delete the file and play something else instead. 😛

    #5340
    Profile photo of cacophony555
    cacophony555
    Participant

    @toasti, ok here’s my script and instructions:
    http://webspace.lenscritic.com/mame/

    You can be my beta tester 😉

    #5346
    Profile photo of toasti
    toasti
    Participant

    tasti: That’s strange, as you say ES-scraper only edits the gamelist.xml file and downloads cover art, it shouldn’t cause the pi to not boot. I once got into a similar problem though when manually editing a gamelist.xml file and forgetting an end tag </desc>. I had to log onto the pi with an ssh client on the ipad and go through the xml file from there are fix it, after a rebott it was okay again. But scraper shouldn’t cause that.

    As for neogeo, I have the neogeo.zip file in the roms/neogeo folder, still zipped. There was some trouble to get the correct neogeo.zip though, I eventually used one with the unibios files inside it. Some games still don’t load though and I haven’t solved that. This rom jungle and the mame complexity is the downside to this emulation setup, when I’ve spent too much time struggling to get a game to run properly I just put the head in the sand and delete the file and play something else instead. :P

    Yes, I confirm. The MAME games and system is a very complex jungle and it’s just try and error and because of this very annoying. All the other emulators are running well, but the mame games are the most important for me.
    I hope I will get the most interesting games running.

    I try again, and again…

    And the ES-scraper will be ignored now, I will try the script above 😉

    @toasti, ok here’s my script and instructions:

    http://webspace.lenscritic.com/mame/

    You can be my beta tester ;)

    I’d be glad to! 😉 Thanks for your efforts and sharing your script!
    Will try it and let you know!

    #5660
    Profile photo of toasti
    toasti
    Participant

    Hello again!
    Sorry for my very late answer, I was very busy the last days and had no chance to do anything on my Raspberry.

    I can say that your script was working like a charm! No problem at all.

    But I was not accepting that the ES-scraper will not run on my system so I decided to do a fresh install of the whole System. And now – it works! A Little bit strange and I don’t know where the problems were. But not all games were found, so I have to put in some game names and covers manually.

    #7265
    Profile photo of minos
    minos
    Participant

    Need help here please!

    When using pifba as mame emulator = roms opened, poor resolution, could use the retroarch input controller configuration within the games.

    When changed to mame4all = roms opened, much better resolution, could NOT use usb controller. Have entered input configuration and set up joypad again (only on retroarch and dgen, because gngeo gives me “sript error”).

    It seems that mame4all, uses another joypad configuration rather then retroarch…

    A note: i already use my joypad in the emulestation menu, just can’t figure out to get it work on the games.

    Tried to create the /pi/.gngeo/gngeorcinput to configure a joypad thru the emulestation on inputconfiguration and the “script” error has gone, in sum i’ve configured the joypad to “retroarch” + “Dgen” + “Gngeo”, but still dont get it to work.

    It seems the path of the joypad configuration that MAME uses is different from pifba. But where do i see this?

    Sorry for long text. Please help!!

    #93064
    Profile photo of Floob
    Floob
    Moderator

    MAME version info on RetroPie is up here:
    http://blog.petrockblock.com/forums/topic/mame-versions-and-romsets-on-retropie/

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

Viewing 35 posts - 36 through 70 (of 71 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar