Author Topic: Attract Mode + RetroPie on Ubuntu help  (Read 8707 times)

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Attract Mode + RetroPie on Ubuntu help
« on: February 17, 2017, 04:35:37 PM »
I saw a video on youtube of someone had setup up attract mode and retropie on ubuntu.  I have both installed but can't get them to talk to each other.  Attract mode can see the roms and art work but can't launch any games.  Really new to this and tried the regular way as if it was a raspberry pi but didn't work.  Any help would great.
« Last Edit: February 17, 2017, 06:52:01 PM by yelever »

rcampbel3

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #1 on: March 06, 2017, 09:15:10 PM »
So, there's no magic in attract mode - it's awesome, but it's going to take you some time to get to where you see in anyone's youtube video.

Here's what you need to do:

Before you do anything with Attract Mode:
- get your emulators working and configured individually
- get your joysticks and video modes and fullscreen and commandline options and exit keys all bound and set in each emulator

Install attract mode
- bind your controller and keys, configure attract mode
- Create a proper emulator config file for each emulator in attract mode
- scan your roms and scan artwork
- create a display for your emulator
- repeat for your other emulators
- search for additional attract mode themes and install them
- search for missing artwork and add it to each display
- Test, test, test, play, test some more
- read through the forums and spend LOTS of time fine-tuning your setup to your liking
- repeat

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #2 on: March 09, 2017, 01:31:16 AM »
I saw a video on youtube of someone had setup up attract mode and retropie on ubuntu.  I have both installed but can't get them to talk to each other.  Attract mode can see the roms and art work but can't launch any games.  Really new to this and tried the regular way as if it was a raspberry pi but didn't work.  Any help would great.

RetroPie on Ubuntu doesn't use the RunCommand like RetroPie on a Raspberry Pi does, as a result you need to make changes to the <emulator>.cfg files.

If you post a <emulator>.cfg file you have, I can show you how to fix it.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #3 on: March 24, 2017, 08:42:38 AM »
# Generated by Attract-Mode v2.2.1
#
executable           /opt/retropie/supplementary/runcommand/runcommand.sh
args                 0 _SYS_ mastersystem "[romfilename]"
rompath              /home/yelever/RetroPie/roms/mastersystem
romext               .sms;.bin;.zip;.SMS;.BIN;.ZIP
system               Sega Master System
artwork    flyer           /home/yelever/RetroPie/roms/mastersystem/flyer
artwork    marquee         /home/yelever/RetroPie/roms/mastersystem/marquee
artwork    snap            /home/yelever/RetroPie/roms/mastersystem/snap
artwork    wheel           /home/yelever/RetroPie/roms/mastersystem/wheel

This is how Sega Mastersystem is setup.  It sees the roms, video snaps and wheels but just doesn't launch.  When I run retropie on it's own it boots into EmulationStation and runs the games just fine.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #4 on: March 25, 2017, 12:21:26 AM »
This looks ok to me if you're running RetroPie 4.2 which was released a couple of days ago. What version of RetroPie are you using? Do you have problems running any other systems in Attract-Mode?

You can try this configuration file:
Code: [Select]
# Generated by Attract-Mode v2.2.1
#
executable           /opt/retropie/emulators/retroarch/bin/retroarch
args                 -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/megadrive/retroarch.cfg "[romfilename]"
rompath              /home/yelever/RetroPie/roms/mastersystem
romext               .sms;.bin;.zip;.SMS;.BIN;.ZIP
system               Sega Master System
artwork    flyer           /home/yelever/RetroPie/roms/mastersystem/flyer
artwork    marquee         /home/yelever/RetroPie/roms/mastersystem/marquee
artwork    snap            /home/yelever/RetroPie/roms/mastersystem/snap
artwork    wheel           /home/yelever/RetroPie/roms/mastersystem/wheel


yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #5 on: March 25, 2017, 04:40:48 AM »
Can't any systems to work in attract mode.  Will try that cfg and report back.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #6 on: March 25, 2017, 04:52:38 AM »
Running 4.1.15.  Tried the cfg, getting further but only getting a black screen so doing a total re-install of everything.
« Last Edit: March 25, 2017, 05:52:23 AM by yelever »

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #7 on: March 25, 2017, 08:05:14 AM »
Did a fresh install of everything and use the emulator.cfg.  Now it boots to retroarch but just a black screen.  I can get into the retroarch menu and navigate around but can't get any games to load.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #8 on: March 25, 2017, 08:40:25 PM »
Do the games run properly in EmulationStation?

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #9 on: March 26, 2017, 12:02:50 AM »
Yes.  Everything runs fine through EmulationStation.  With the cfg you suggested it's like it's loading retroarch but no game so just get a black screen but it does show my gamepad text and can access the retroarch menus and settings.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #10 on: March 26, 2017, 12:52:25 AM »
Post your /etc/emulationstation/es_systems.cfg file.

This will have the command that EmulationStation is using to launch your Sega Master System games. It should be almost the same in Attract-Mode but the command and the arguments are on different lines and %ROM% changes to "[romfilename]" in the emulator.cfg file

How are you launching Attract-Mode?

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #11 on: March 26, 2017, 04:13:18 AM »
Here's my es.systems.cfg file

<system>
    <name>mastersystem</name>
    <fullname>Sega Master System</fullname>
    <path>/home/yelever/RetroPie/roms/mastersystem</path>
    <extension>.7z .sms .bin .zip .7Z .SMS .BIN .ZIP</extension>
    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ mastersystem %ROM%</command>
    <platform>mastersystem</platform>
    <theme>mastersystem</theme>

Launching Attract mode from from the Ubuntu menu which has run attract mode as that's the only way it shows up.

Tried the es.cfg and get does the same before I tried yours, just flickers and returns to the attract mode.
« Last Edit: March 26, 2017, 05:25:25 AM by yelever »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #12 on: March 26, 2017, 01:23:32 PM »
Open a command terminal and type "attract" instead of clicking on the attract file. Try this with your original emulator.cfg file.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Attract Mode + RetroPie on Ubuntu help
« Reply #13 on: March 26, 2017, 01:34:47 PM »
Thank you so much.  It works.  Not sure why isn't wasn't working the other way.  Is there a way to created a shortcut instead of going through the terminal?