Attract-Mode Support Forum

Related Stuff => Emulators => Topic started by: sk8ersublime on April 21, 2016, 09:09:49 PM

Title: Retroarch and Advmame with Attract mode
Post by: sk8ersublime on April 21, 2016, 09:09:49 PM
Hi everyone,

I am using a Raspberry Pi 3 with RetroPie and successfully running attract mode, however it is not configured for advance mame. I tried configuring it using the following settings and nothing runs, however everything runs fine from Emulationstation.

pi@retropie:~/.attract/emulators $ cat adv-mame-0.94.cfg
# Generated by Attract-Mode v2.0.0
#
executable           /opt/retropie/emulators/retroarch/bin/retroarch
args                 -L /opt/retropie/emulators/advmame/0.94.0/bin/advmame --config /opt/retropie/configs/mame-advmame/advmame-0.94.0.rc "[romfilename]"
rompath              /home/pi/RetroPie/roms/mame-advmame
romext               .zip
artwork    flyer           /home/pi/.attract/scraper/mame/flyer
artwork    marquee         /home/pi/.attract/scraper/mame/marquee
artwork    snap            /home/pi/.attract/scraper/mame/snap
artwork    wheel           /home/pi/.attract/scraper/mame/wheel

All of my artwork is showing up as is my rom list, but the games arent launching, i switched the config file from the .rc to the .cfg file and that didnt matter.

any help would be great!

Thanks!
Title: Re: Retroarch and Advmame with Attract mode
Post by: omegaman on April 25, 2016, 10:50:10 AM
It looks like you're trying to run advmame standalone as a libretrocore, retropie installs the standalone version of advmame.   

So, cmd should be something like this.
args /opt/retropie/emulators/advmame/0.94.0/bin/advmame "[romfilename]"

Also, depending on how your environment variables are set you might need to use ./retroarch to execute retroarch. Like below...

/opt/retropie/emulators/retroarch/bin/./retroarch
Title: Re: Retroarch and Advmame with Attract mode
Post by: Finhead on April 25, 2016, 02:32:02 PM
It looks like you're trying to run advmame standalone as a libretrocore, retropie installs the standalone version of advmame.   

So, cmd should be something like this.
args /opt/retropie/emulators/advmame/0.94.0/bin/advmame "[romfilename]"

Also, depending on how your environment variables are set you might need to use ./retroarch to execute retroarch. Like below...

/opt/retropie/emulators/retroarch/bin/./retroarch

I'm aslo trying to get advmame up and running since the sound on some of my mame4all roms is really bad and advmame has that nifty video res/freq adjustment.
I tried this out and does not appear to work either, the few roms I have loaded for 0.94.0 seem to work perfect in Emulation Station though.
Anyone have it setup and working in Attract Mode?
Title: Re: Retroarch and Advmame with Attract mode
Post by: omegaman on April 25, 2016, 07:03:39 PM
Make sure you have the correct rom set too. You can download all the retropie dat files here under the step three paragraph. https://github.com/retropie/retropie-setup/wiki/Managing-ROMs (https://github.com/retropie/retropie-setup/wiki/Managing-ROMs)
Title: Re: Retroarch and Advmame with Attract mode
Post by: Finhead on April 25, 2016, 07:56:20 PM
Make sure you have the correct rom set too. You can download all the retropie dat files here under the step three paragraph. https://github.com/retropie/retropie-setup/wiki/Managing-ROMs (https://github.com/retropie/retropie-setup/wiki/Managing-ROMs)
Yes I rebuilt my ROMS, they all work perfectly in Emulation Station. They don't even try and load in Attract mode, so there has to be something wrong with the command or Arg path. I just have no idea what. lol
Title: Re: Retroarch and Advmame with Attract mode
Post by: Finhead on April 26, 2016, 08:36:20 AM
It looks like you're trying to run advmame standalone

Thought I should put this here as well so people know without searching.

"advmame has SDL issues with hardware scaling on x-windows. "

So advmame is broken for Attract Mode. Glad someone as able to confirm it wasn't going to work before too much time was spent fiddling.  :o
Title: Re: Retroarch and Advmame with Attract mode
Post by: sk8ersublime on May 01, 2016, 03:07:52 PM
Finally got back around to look at this. So yea, I am trying to launch Advmame in AttractMode because it seems to have better support for the ROMs I am trying to play, like the poster above. But with no luck :\ Looks like someone says its a no go :( that sucks.
Title: Re: Retroarch and Advmame with Attract mode
Post by: sk8ersublime on May 01, 2016, 04:04:13 PM
it looks like I am actually able to launch advmame from command line, however the issue in attract mode is related to how the ROM is being called. it seems with advmame, if you specific the path to the rom, I.E "/home/pi/RetroPie/roms/mame-adv/dkong.zip" advmame will tell you it is unsupported. However if you just put "dkong" it will work. Just need to figure out how to make the config file only give the name of the ROM and not the full path and I think it will work.
Title: Re: Retroarch and Advmame with Attract mode
Post by: sk8ersublime on May 01, 2016, 04:22:46 PM
i think this is the correct executable configuration, however like i stated above, it will not launch because of the file name including the path to the file name. Any ideas how to resolve that?

# Generated by Attract-Mode v2.0.0
#
executable           /opt/retropie/emulators/advmame/0.94.0/bin/./advmame
args                 "[romfilename]"
rompath              /home/pi/RetroPie/roms/mame-advmame
romext               .zip
artwork    flyer           /home/pi/.attract/scraper/mame/flyer
artwork    marquee         /home/pi/.attract/scraper/mame/marquee
artwork    snap            /home/pi/.attract/scraper/mame/snap
artwork    wheel           /home/pi/.attract/scraper/mame/wheel
Title: Re: Retroarch and Advmame with Attract mode
Post by: Lindytop on July 13, 2016, 08:49:53 PM
Did you ever resolve this???