Making a separate thread since AM on a Pi is quite involved compared to the simplicity of installing AttractMode on a PC setup.
----------------------------
For putting Attractmode on a Retropie image:
Pre-requisites on your Pi:
---It is assumed you have Retropie installed and updated to the latest version
---SSH is enabled
---Wifi is enabled
---Putty is installed on your PC
---Winscp is installed on your PC
---Notepad++ is installed on your PC
1- Install attractmode from Retropie Setup>Manage Packages>Experimental Packages>attractmode found toward bottom of the list
2- You have to connect to the pi with a program called Putty from your computer.
This lets you work from the Pi command prompt at your PC.
2a- Start Putty on your PC,
---In the Host name field, enter the IP address for the Pi (found from retropie menu>show IP)
---Check radio box for SSH
---Hit Login, usercode is pi, password is raspberry
---You will end up at a raspberry pi command prompt, the same as if you hit F4 from the Pi itself.
3- At command prompt:
---type> nano menu.sh <hit enter>
---Copy the text listed below under the "------contents----" section into Notepad++, copy the text directly from notepad++, then right click to paste it into the menu.sh text file.
---Then use ctl-X and Yes to save the file.
---<type> chmod +x menu.sh <hit enter>
---<type> ./menu.sh <hit enter>,
---Putty will get disconnected due to the reboot.
4- Attractmode will now be an entry on the retropie menu.
5- Continue with download of the attractmode layouts found on teh interwebz,
6- Use Winscp to copy the files (Layouts folder) from PC to the Pi.
---In Winscp, go to options>preferences>panels and check the box for show hidden files
---Use Winscp to copy the layout folders you downloaded to the Pi at /home/pi/.attract/layouts
7- From the Retropie menu, select AttractMode to bring you out of emulation station and into attractmode
8- Hit Tab on your Pi keyboard,
---Navigate to Controls
---You can get as complex as you want with the controls for AttractMode (AM) but let's keep it simple
---Map the Back to Escape on the keyboard, optionally you can map it to Start/Select on your joystick.
---Map Up to Up on keyboard and Up on your joystick
---Map Down to Down on keyboard and Down on your joystick
---Map Select to Return on keyboard and Start button on your joystick (this selects the game from the list to start it up)
9- Choose Emulators from the list.
---Navigate to Arcade
---Under flyer, enter /home/pi/.attract/scraper/Arcade/flyer
---Under marquee, enter /home/pi/.attract/scraper/Arcade/marquee
---Under snap, enter /home/pi/.attract/scraper/Arcade/snap
---Under wheel, enter /home/pi/.attract/scraper/Arcade/wheel
---Under Rom paths, enter /home/pi/RetroPie/roms/arcade
---Run Generate Collection/Rom List so attractmode can see your arcade roms that are installed on the Pi
---Run Scrape Artwork so attractmode can go out to internet and get the artwork related to the games you have installed.
10- Navigate to Displays on the attractmode (AM) list.
---Go to Arcade
---Under Layout you can change to whatever AM layouts you copied over to the AM's Layout folder on the Pi earlier.
---I personally like a layout called RoboSpin, Vertical Sphere from Frizz's website.
11- Once you start a game, you aren't really in AM anymore. So go to Tab in a game so you can map UI CANCEL to your Start/Select buttons on joystick. That will let you exit your game back to the AM menu.
-----contents of menu.sh-------
mkdir /home/pi/RetroPie/roms/setup
cat >> /home/pi/RetroPie/roms/setup/EmulationStation.sh << EOF
clear
echo "Switching default boot system to EmulationStation and rebooting"
echo ""
sed -i 's/attract/emulationstation/g' /opt/retropie/configs/all/autostart.sh
sudo reboot
EOF
cat >> /home/pi/RetroPie/retropiemenu/Attract-Mode.sh << EOF
echo "Switching default boot system to Attract-Mode and rebooting"
echo ""
sed -i 's/emulationstation/attract/g' /opt/retropie/configs/all/autostart.sh
sudo reboot
EOF
chmod +x /home/pi/RetroPie/retropiemenu/Attract-Mode.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/audiosettings.rp >> "/home/pi/RetroPie/roms/setup/Audio Settings.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/bluetooth.rp >> /home/pi/RetroPie/roms/setup/Bluetooth.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/configedit.rp >> "/home/pi/RetroPie/roms/setup/Configuration Editor.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/wifi.rp >> "/home/pi/RetroPie/roms/setup/Configure Wifi.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/filemanager.rp >> "/home/pi/RetroPie/roms/setup/File Manager.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/raspiconfig.rp >> "/home/pi/RetroPie/roms/setup/Raspberry Pie Setup.sh"
echo sudo reboot >> /home/pi/RetroPie/roms/setup/Reboot.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/retroarch.rp >> "/home/pi/RetroPie/roms/setup/Retroarch Setup.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/retronetplay.rp >> "/home/pi/RetroPie/roms/setup/Retroarch Netplay.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/rpsetup.rp >> "/home/pi/RetroPie/roms/setup/RetroPie Setup.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/runcommand.rp >> /home/pi/RetroPie/roms/setup/RunCommand.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/showip.rp >> "/home/pi/RetroPie/roms/setup/Show IP Address.sh"
echo sudo poweroff >> /home/pi/RetroPie/roms/setup/Shutdown.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/splashscreen.rp >> "/home/pi/RetroPie/roms/setup/Splash Screen.sh"
mkdir /home/pi/RetroPie/roms/setup/box
mkdir /home/pi/RetroPie/roms/setup/cart
mkdir /home/pi/RetroPie/roms/setup/box
mkdir /home/pi/RetroPie/roms/setup/marquee
mkdir /home/pi/RetroPie/roms/setup/snap
mkdir /home/pi/RetroPie/roms/setup/video
mkdir /home/pi/RetroPie/roms/setup/wheel
cp /home/pi/RetroPie/retropiemenu/icons/audiosettings.png "/home/pi/RetroPie/roms/setup/snap/Audio Settings.png"
cp /home/pi/RetroPie/retropiemenu/icons/bluetooth.png /home/pi/RetroPie/roms/setup/snap/Bluetooth.png
cp /home/pi/RetroPie/retropiemenu/icons/configedit.png "/home/pi/RetroPie/roms/setup/snap/Configuration Editor.png"
cp /home/pi/RetroPie/retropiemenu/icons/wifi.png "/home/pi/RetroPie/roms/setup/snap/Configure Wifi.png"
cp /home/pi/RetroPie/retropiemenu/icons/filemanager.png "/home/pi/RetroPie/roms/setup/snap/File Manager.png"
cp /home/pi/RetroPie/retropiemenu/icons/raspiconfig.png "/home/pi/RetroPie/roms/setup/snap/Raspberry Pie Setup.png"
cp /home/pi/RetroPie/retropiemenu/icons/retroarch.png "/home/pi/RetroPie/roms/setup/snap/Retroarch Setup.png"
cp /home/pi/RetroPie/retropiemenu/icons/retronetplay.png "/home/pi/RetroPie/roms/setup/snap/Retroarch Netplay.png"
cp /home/pi/RetroPie/retropiemenu/icons/rpsetup.png "/home/pi/RetroPie/roms/setup/snap/RetroPie Setup.png"
cp /home/pi/RetroPie/retropiemenu/icons/runcommand.png /home/pi/RetroPie/roms/setup/snap/RunCommand.png
cp /home/pi/RetroPie/retropiemenu/icons/showip.png "/home/pi/RetroPie/roms/setup/snap/Show IP Address.png"
cp /home/pi/RetroPie/retropiemenu/icons/splashscreen.png "/home/pi/RetroPie/roms/setup/snap/Splash Screen.png"
chmod +x /home/pi/RetroPie/roms/setup/*.sh
wget
http://attractmode.org/images/logo.pngmv logo.png /home/pi/RetroPie/retropiemenu/icons/Attract-Mode.png
cat >> /home/pi/.attract/emulators/Setup.cfg << EOF
# Generated by Attract-Mode v2.2.1
#
executable /bin/bash
args "[romfilename]"
rompath /home/pi/RetroPie/roms/setup
romext .sh
system Setup
artwork box /home/pi/RetroPie/roms/setup/box
artwork cart /home/pi/RetroPie/roms/setup/cart
artwork flyer /home/pi/RetroPie/roms/setup/box
artwork marquee /home/pi/RetroPie/roms/setup/marquee
artwork snap /home/pi/RetroPie/roms/setup/video;/home/pi/RetroPie/roms/setup/snap
artwork wheel /home/pi/RetroPie/roms/setup/wheel
EOF
sed -i '/\<sound\>/i \display Setup' /home/pi/.attract/attract.cfg
sed -i '/\<sound\>/i \ layout Basic' /home/pi/.attract/attract.cfg
sed -i '/\<sound\>/i \ romlist Setup' /home/pi/.attract/attract.cfg
sed -i '/\<sound\>/i \ in_cycle yes' /home/pi/.attract/attract.cfg
sed -i '/\<sound\>/i \ in_menu yes' /home/pi/.attract/attract.cfg
sed -i '/\<sound\>/i \ filter all' /home/pi/.attract/attract.cfg
sed -i '/\<sound\>/i \ ' /home/pi/.attract/attract.cfg
sed -i 's/window_mode default/window_mode fullscreen/g' /home/pi/.attract/attract.cfg
attract -b Setup
sed -i '/<\<gameList\>>/a \ </game>' /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
sed -i '/<\<gameList\>>/a \ <image>./icons/Attract-Mode.png</image>' /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
sed -i '/<\<gameList\>>/a \ <desc>Change system boot to the Attract-Mode frontend and reboot.</desc>' /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
sed -i '/<\<gameList\>>/a \ <name>Attract-Mode</name>' /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
sed -i '/<\<gameList\>>/a \ <path>./Attract-Mode.sh</path>' /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
sed -i '/<\<gameList\>>/a \ <game>' /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
sudo reboot