EmulationStation
EmulationStation copied to clipboard
Mame command
In EmulationStation, I am trying to launch mame, but when I choose a game, a command window pops up for a split second, then disappears and it brings me back to the EmulationStation window. I think it is somthing to so with the command. The command I currently have in the es_systems.cfg file for mame is
Is there a different way I need to do this?
sounds like your rom isn't working perhaps. correct romset for the emulator? if you recreate, then look at temp/run_command.log, you can see any errors that are reported during rom load.
I don't know what you mean by temp/run_command.log. When I load the rom through mame's user interface, it works just fine.
@objectchris emulationstation makes no such file - retropie has a /tmp/runcommand.log but that is unrelated to this ticket.
@aidankitty put the full pathname in without using %HOMEPATH% perhaps - have you set the rompath correctly for mame64 ? check in es_log.txt for what commandline it is using.
Where are your roms located? Are they in mame/roms? I was having a similar problem, but it's because I store my roms in a different location. My command (which is working) looks like this: E:\games\emulators\mame\mame.exe %BASENAME% -rompath E:\games\roms\mame\
@nweber I have the roms in both the \roms\mame and in \systems\mame\roms I tried your command, replacing the paths for the correct ones for my system, and it worked. Then only problem is mame doesn't load my configs, and just uses the default settings.
There's also a command line trigger to load a specific configuration file. Perhaps that will help?
-readconfig Description
Enables loading of configuration files
Short Command
-rc
Example
mame
I know this is a 2 year+ old thread, but in case anyone is "Googling" as I was I want them to see an extra step. Emulation station creates a log file when in runs called es_log.txt which should be in the same directory as es_system.cfg. Find the command that mame64.3exe is attempting to run and paste it into a command line and add the -verbose switch. Mame should give you the error that it has encountered running the ROM. I suspect that there are files missing. Mame64 allows you to bypass this error when you run the graphical interface. I do not believe there is a CLI switch to turn off error checking.
Hello, I have Mame working on Emulation Station for Windows with the following: C:\emulators\mame\mame.exe %BASENAME% -rompath C:\emulators\mame\roms\
But Mame is starting with the default settings so I can't use my controller for example. I've tried to use the -rc command but then nothing happens. Perhaps I am using it wrong. Can someone help me how to solve this. Thanks !!
in ES_systems.cfg
<system> <name>mame</name> <fullname>MAME</fullname> <path>~\.emulationstation\roms\mame\games\</path> <extension>.zip .ZIP</extension> <command>%HOME%\.emulationstation\systems\mame\mame.exe %BASENAME% -window -rompath %HOME%\.emulationstation\roms\mame\roms\;%HOME%\.emulationstation\roms\mame\games\</command> <platform>arcade</platform> <theme>mame</theme> </system>
<command>start /WAIT /B /D C:\Users\jjrambo\.emulationstation\mame\ mame64.exe %BASENAME%</command>