Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: hallwayorchard on June 14, 2019, 06:21:50 AM
-
Hi All,
I am in the process of using AM for a frontend for MAME 0.209 on Ubuntu 18.04.
I *think* I am well along in the process; AM has generated the list of roms, however I cannot seem to launch roms from AM. I have tested and can launch them from MAME.
Here is how I've got the emulator set up in AM:
Executable: /snap/mame/1122/mame
Command Arguments: "[romfilename]"
I'm assuming I'm messing something up in these two fields. Any help would be much appreciated!
Thanks!
-
The path /snap/mame/1122/mame seems a little strange. Is that really the path to your mame executable?
The leading "/" means that "snap" is in your system's root directory, which I doubt. If "snap" is in your home directory, this should work:
Executable: $HOME/snap/mame/1122/mame
$HOME is an environmental variable that contains the path to the current user's home directory.
For comparison, here's the resp. part of my $HOME/.attract/emulators/mame.cfg:
executable $HOME/bin/mame64
args -video bgfx [name]
workdir $HOME/mame
rompath $HOME/mame/roms
romext .zip;.7z;<DIR>
system Arcade
However, I'm still using Attract Mode 2.2.1-50, and I don't know if it's configuration differs from the current version.
-
Thanks for the reply... yes, Snap is in my root. I went against convention and installed MAME via the new(ish) Snappy deployment mechanism. That is where everything ends up.
-
UPDATE:
Looks like I was struggling for nothing. Since MAME is executable from any location from the command line, all I needed was to delete any path reference.
I changed my settings to:
Executable: mame
And now everything seems to be working!
-
Thanks for sharing your solution. I have no experience with snap installations.
It's still strange why AM didn't find the executable with the path, since it does so in my case. The path was 100% correct?