Want to install the latest RetroPie on an old SAIO +Pi Zero? Try this.
Posted: Sat Mar 13, 2021 9:20 am
Moving these steps from another thread for easier visibility.
The following method is for a manual install of the On Screen Display and Shutdown script for Kites original SAIO board.
This works as of RetroPie 4.7.1
1) Flash a fresh Retropie image to your SD card and remount the SD card on your computer and open the boot folder.
2) Download the config.txt from here https://github.com/kiteretro/Super-AIO/ ... lease/saio and replace the one in the boot folder with it. That will get your screen working. You should then also be able boot retropie and see "gamepad detected" and set up your buttons in retropie.
3) Connect a USB keyboard and connect to wifi in the RetroPie menu. Also enable SSH to make the rest easier. Its better on a PC screen than the tiny handheld display. Also lets you copy and paste the lines below.
4) Do an update of retropie in Retropie Setup and elect to update the kernel/os as well. This make take a WHILE and appear to hang. It hasn't but one step may take about 30 mins to finish up. Reboot when done.
(I did the rest via SSH)
5) run "sudo apt-get install libpng12-0" (remove quotes). The SAIO script relies upon this library but is outdated and no longer installed with retropie. So far installing it manually hasn't broken anything. Not sure if any update in the future will remove this. If the OSD/shutdown stops working probably just run this again.
6) Copy, paste and run each command:
1. git clone https://github.com/geebles/Super-AIO/
2. cd Super-AIO/release/saio
3. sudo dpkg -i python-serial_2.6-1.1_all.deb
4. sudo chmod +x ../tester/pngview
5. sudo chmod +x osd/saio-osd
6. sudo chmod +x rfkill/rfkill
7. sudo chmod +x flash/flash.sh
8. python saio-osd.py (NOTE: this tests the OSD, if you see it on screen you are almost there. CTRL-C to exit it)
9. crontab cronSAIO.txt
10. sudo cp asound.conf /etc/
11. sudo cp config.txt /boot/config.txt
12. sudo cp config-saio.txt /boot/config-saio.txt
13. sudo mv /opt/retropie/configs/all/autostart.sh /opt/retropie/configs/all/autostart_OLD.sh
14. sudo cp autostart.sh /opt/retropie/configs/all/autostart.sh
15. sudo reboot
7) Once rebooted you need to also do the following to get sound working:
1. SSH into pi
2. sudo nano .asoundrc
3. copy and paste the following:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
4.save and reboot
8) When back in retropie press select then open Sound Settings set Volume to 100, Audio Card to Default, Audio Device to PCM and OMX Player Device to ALSA.
You should end up with fully working sound, OSD and safe shutdown via the power switch and Mode switch shortcuts!
If you use video splashscreens with sound. You may need to do the following fix.
1) Run: cd /opt/retropie/supplementary/splashscreen
2) Run: sudo nano asplashscreen.sh
3) find the line: omxplayer –no-osd -o both -b --layer 10000 "$line" and change to: omxplayer –no-osd -o alsa -b --layer 10000 "$line"
(the change is 'both' to 'alsa')
4) save and reboot.
The following method is for a manual install of the On Screen Display and Shutdown script for Kites original SAIO board.
This works as of RetroPie 4.7.1
1) Flash a fresh Retropie image to your SD card and remount the SD card on your computer and open the boot folder.
2) Download the config.txt from here https://github.com/kiteretro/Super-AIO/ ... lease/saio and replace the one in the boot folder with it. That will get your screen working. You should then also be able boot retropie and see "gamepad detected" and set up your buttons in retropie.
3) Connect a USB keyboard and connect to wifi in the RetroPie menu. Also enable SSH to make the rest easier. Its better on a PC screen than the tiny handheld display. Also lets you copy and paste the lines below.
4) Do an update of retropie in Retropie Setup and elect to update the kernel/os as well. This make take a WHILE and appear to hang. It hasn't but one step may take about 30 mins to finish up. Reboot when done.
(I did the rest via SSH)
5) run "sudo apt-get install libpng12-0" (remove quotes). The SAIO script relies upon this library but is outdated and no longer installed with retropie. So far installing it manually hasn't broken anything. Not sure if any update in the future will remove this. If the OSD/shutdown stops working probably just run this again.
6) Copy, paste and run each command:
1. git clone https://github.com/geebles/Super-AIO/
2. cd Super-AIO/release/saio
3. sudo dpkg -i python-serial_2.6-1.1_all.deb
4. sudo chmod +x ../tester/pngview
5. sudo chmod +x osd/saio-osd
6. sudo chmod +x rfkill/rfkill
7. sudo chmod +x flash/flash.sh
8. python saio-osd.py (NOTE: this tests the OSD, if you see it on screen you are almost there. CTRL-C to exit it)
9. crontab cronSAIO.txt
10. sudo cp asound.conf /etc/
11. sudo cp config.txt /boot/config.txt
12. sudo cp config-saio.txt /boot/config-saio.txt
13. sudo mv /opt/retropie/configs/all/autostart.sh /opt/retropie/configs/all/autostart_OLD.sh
14. sudo cp autostart.sh /opt/retropie/configs/all/autostart.sh
15. sudo reboot
7) Once rebooted you need to also do the following to get sound working:
1. SSH into pi
2. sudo nano .asoundrc
3. copy and paste the following:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
4.save and reboot
8) When back in retropie press select then open Sound Settings set Volume to 100, Audio Card to Default, Audio Device to PCM and OMX Player Device to ALSA.
You should end up with fully working sound, OSD and safe shutdown via the power switch and Mode switch shortcuts!
If you use video splashscreens with sound. You may need to do the following fix.
1) Run: cd /opt/retropie/supplementary/splashscreen
2) Run: sudo nano asplashscreen.sh
3) find the line: omxplayer –no-osd -o both -b --layer 10000 "$line" and change to: omxplayer –no-osd -o alsa -b --layer 10000 "$line"
(the change is 'both' to 'alsa')
4) save and reboot.