Attract Mode with RetroPie - Alternative to EmulationStation
-
@robertybob said:
So just to confirm, Floob's image doesn't have the RetroPie emulators (i.e Libretro) set up already within AM?
It has a couple setup (mame2003 and genesis-plus-gx), but the next image will have the vast majority added (as well as other improvements). I'll set the artwork paths up as well. Obviously all the emulators are already there, but the AM config isnt setup for them yet. As Finhead points out, its not too bad setting them up and there is an example on the vid.
-
Sorry to ask this again..
With this setup can you have both emulation station and Attract on the same image.
Attract started from Emulationstation,
Emulationstation started from Attract?Something like Attract Mode on the homescreen in Emulation station and in Attract Mode?
-
Yes - you do end up with both EmulationStation and Attract Mode on the same image.
You can run either from the terminal by typing attract to start attract mode or typing emulationstation to start EmulationStation.
I'm sure there would be some way of running one from the other but that sounds like some scripting / programming work which is a tad beyond what I know.
-
The duplicated config is a problem with our image, will correct for next version
-
@Rion said:
Sorry to ask this again..
With this setup can you have both emulation station and Attract on the same image.
Attract started from Emulationstation,
Emulationstation started from Attract?Something like Attract Mode on the homescreen in Emulation station and in Attract Mode?
Yes, Floob built this image with Retropie as base, so it contains both ES and AM.
As it is now, when you boot up you log in to terminal. Then you can choose either to start ES by entering emulationstation from the command line, or start AM by entering xinit attract.
I believe you can have AM started from within ES as an sub-menu item under Ports, if you set it up that way. And with the new changes from Retropie 3.5^ it might be possible to have AM as a custom menu.
I have not played with this yet but I do believe you can start ES from within AM. AM provides an exit option where you can set a command, so perhaps it could be as simple as setting exit command to "emulationstation"
So yes, I think it would be entirely possible to autoboot into either AM or ES, and then launch into the other frontend from within each other.
Have a look here for more info;
https://github.com/RetroPie/RetroPie-Setup/issues/1071 -
@senkun said:
@Rion said:
Sorry to ask this again..
With this setup can you have both emulation station and Attract on the same image.
Attract started from Emulationstation,
Emulationstation started from Attract?Something like Attract Mode on the homescreen in Emulation station and in Attract Mode?
Yes, Floob built this image with Retropie as base, so it contains both ES and AM.
As it is now, when you boot up you log in to terminal. Then you can choose either to start ES by entering emulationstation from the command line, or start AM by entering xinit attract.
I believe you can have AM started from within ES as an sub-menu item under Ports, if you set it up that way. And with the new changes from Retropie 3.5^ it might be possible to have AM as a custom menu.
I have not played with this yet but I do believe you can start ES from within AM. AM provides an exit option where you can set a command, so perhaps it could be as simple as setting exit command to "emulationstation"
So yes, I think it would be entirely possible to autoboot into either AM or ES, and then launch into the other frontend from within each other.
Have a look here for more info;
https://github.com/RetroPie/RetroPie-Setup/issues/1071IT's not as easy as "emulationstation" , I tried that. It needs to have a script writen I believe to take it to the command prompt and then "emulationstation" I have no idea how to do this so that's where I have stopped my search.
I wanted to exit to ES to run Daphne games since you can set them all up in one emulator, on AM you need to setup individual emulators for each game.BTW AM should boot direct if you change your profile.d/10-emulationsation.sh to xinit attract
-
@Finhead said in Attract Mode with RetroPie - Alternative to EmulationStation:
@senkun said:
@Rion said:
Sorry to ask this again..
With this setup can you have both emulation station and Attract on the same image.
Attract started from Emulationstation,
Emulationstation started from Attract?Something like Attract Mode on the homescreen in Emulation station and in Attract Mode?
Yes, Floob built this image with Retropie as base, so it contains both ES and AM.
As it is now, when you boot up you log in to terminal. Then you can choose either to start ES by entering emulationstation from the command line, or start AM by entering xinit attract.
I believe you can have AM started from within ES as an sub-menu item under Ports, if you set it up that way. And with the new changes from Retropie 3.5^ it might be possible to have AM as a custom menu.
I have not played with this yet but I do believe you can start ES from within AM. AM provides an exit option where you can set a command, so perhaps it could be as simple as setting exit command to "emulationstation"
So yes, I think it would be entirely possible to autoboot into either AM or ES, and then launch into the other frontend from within each other.
Have a look here for more info;
https://github.com/RetroPie/RetroPie-Setup/issues/1071IT's not as easy as "emulationstation" , I tried that. It needs to have a script writen I believe to take it to the command prompt and then "emulationstation" I have no idea how to do this so that's where I have stopped my search.
I wanted to exit to ES to run Daphne games since you can set them all up in one emulator, on AM you need to setup individual emulators for each game.BTW AM should boot direct if you change your profile.d/10-emulationsation.sh to xinit attract
Hopeful that some bin/bash guru can solve this. I don't mind if it drops to the console with a few lines and then starts attract mode from within Emulationstation and the other way around.
Then you can choose what you want to starts first with profile.d/10-emulationsation.sh or 10-default-frontend.sh
-
-
Gui method of switching to and from emulationstation and attract mode:
I came up with a solution for this a few days ago.
I wrote a quick and dirty script to help you setup the same thing on your pi.
This will create a "scripts" section on attract mode. In there it will give you a script to reset the default front end and reboot.
"Launch EmulationStation to Configure Controllers"
This will put you in emulationstation after the reboot.
Under RetroPie I added a script to put you back into attract mode.
" Switch To Attract Mode"To install just run the following on your pi. It only takes a second. Feel free to look at the code. Its nothing fancy.
cd
wget http://eazyhax.com/downloads/attract/installswitchAM.sh
chmod 755 installswitchAM.sh
./installswitchAM.shHope this helps yall!
-
@Shakz said in Attract Mode with RetroPie - Alternative to EmulationStation:
Gui method of switching to and from emulationstation and attract mode:
I came up with a solution for this a few days ago.
I wrote a quick and dirty script to help you setup the same thing on your pi.
This will create a "scripts" section on attract mode. In there it will give you a script to reset the default front end and reboot.
"Launch EmulationStation to Configure Controllers"
This will put you in emulationstation after the reboot.
Under RetroPie I added a script to put you back into attract mode.
" Switch To Attract Mode"To install just run the following on your pi. It only takes a second. Feel free to look at the code. Its nothing fancy.
cd
wget http://eazyhax.com/downloads/attract/installswitchAM.sh
chmod 755 installswitchAM.sh
./installswitchAM.shHope this helps yall!
Just tried this out, it works great for a one click solution. But it's much faster to just exit to command line and type "xinit attract" or "emulationstaion" no need for a full reboot.
Is there a way to make the script run from command line rather than a full reboot? -
Great job man!
This is exactly what i needed.
The less i have to pull up the keyboard the better.Great for my son to :)
-
@Shakz Thanks, I'll give this a go. Just installed it via RetroPie-Extra but forgot to install X ! Whoops!
-
@robertybob
Have you run Attract Mode at least once before installing the script?@Shakz Is it ok if I include your script in my next image?
-
@Floob Absolutly man. Thanks for all you contribute to this project. I use your stuff all the time. Glad you can use some of mine.
Thanks everyone else. Glad the script is working out.
-
@Finhead Well the problem is that if you call a script from x then kill x....the script dies. Attract runs in X.....I dont see any issues from the emulationstation side.....its nice and clean. Gotta figure a way around it. Perhaps calling it with nohup would work?
-
@Shakz said in Attract Mode with RetroPie - Alternative to EmulationStation:
@Finhead Well the problem is that if you call a script from x then kill x....the script dies. Attract runs in X.....I dont see any issues from the emulationstation side.....its nice and clean. Gotta figure a way around it. Perhaps calling it with nohup would work?
Ah makes sense I never thought of that, that's too bad would cut the switch time in half or less. Regarless works great, it'll be super handy for setup on a new install for sure.
-
@Shakz
Thanks very much, I'll add credit in the readme. Should have an image this weekend with a lot more tweaks. -
New version released v0.2
Download: http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8277
Video:Version History
10th April 2016 - v0.1- First Version
16th April 2016 - v0.2
- RetroPie 3.7
- Attract Mode 2.0.0 - 15th April 2016
- Shaders configured for RetroArch emulators
- AM configs pre-configured to match most RetroPie emulators
- Artwork directories created in the roms directories of the systems
- Extra AM layouts/themes pre-installed
- Exit to from AM to ES and vice versa
- Fixed keyboard hang (hacked boot delay)
- Added boot script by Shakz (to flip between ES and AM)
- Hide motd and raspberry logo appearing
- Stop white screen with X boot info showing
- Selected new version of Robospin as default theme
To Do
- Auto resize image partitions
- Remove X console output for clean boot
- Work out if runcommand from RetroPie will play nicely with AM
- Other Stuff
-
@Floob said in Attract Mode with RetroPie - Alternative to EmulationStation:
New version released v0.2
http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8277Version History
10th April 2016 - v0.1- First Version
16th April 2016 - v0.2
- RetroPie 3.7
- Attract Mode 2.0.0 - 15th April 2016
- Shaders configured for RetroArch emulators
- AM configs pre-configured to match most RetroPie emulators
- Artwork directories created in the roms directories of the systems
- Extra AM layouts/themes pre-installed
- Exit to from AM to ES and vice versa
- Fixed keyboard hang (hacked boot delay)
- Added boot script by Shakz (to flip between ES and AM)
- Hide motd and raspberry logo appearing
- Stop white screen with X boot info showing
- Selected new version of Robospin as default theme
To Do
- Auto resize image partitions
- Remove X console output for clean boot
- Work out if runcommand from RetroPie will play nicely with AM
- Other Stuff
Nice! This should make it super slick for new installs. Is Daphne one of the emulators pre-configured ?
-
@Floob Thanks for v2! Looks very polished with all the updates incorporated, gonna put this in another new Pi3 incoming. but I'm sticking to the v1 I have on the current Pi, weeding out MAME and have spent ages matching wheels and vidsnaps. It's running really well now.
I made some dirty hacks to suppress X white screen/boot info, but I'm sure you have way more elegant solutions done. And I never did fix the keyboard hang. I would like to incorporate your fixes into my v1 build, could you please share the steps you made to fix them?:
- Fixed keyboard hang (hacked boot delay)
- Hide motd and raspberry logo appearing
- Stop white screen with X boot info showing
Edit: Just watched your video, you mentioned a 10 sec boot delay, would it be as simple as boot_delay=10 in config.txt? That would fix the keyboard hang?
Edit2: Well I just got round to trying boot_delay and of course, no such luck didn't think it would be that easy... so what was the fix?
Edit3: I don't know what you did @Floob but couldn't wait and messed around, added a sleep to /etc/rcS.d/S03keyboard-setup which seems to have fixed it. Just seems so kludgy, but I guess it'd do for now.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.