In addition, Kite has a great update utility for his HUD software. However, in most cases users don't have a keyboard at hand with hand-held devices and even with the (awesome!) on screen keyboard, it is not that easy to access the update script.
So, after a bit of digging around and playing with it, I figured out a simple way to add the HUD update functionality to RetroPie's main menu. I figured this might be very useful for others so I'll post the procedure here. @kite, maybe you'll even consider having this as part of your image?
You two options for installation:
- You can run the automated install using info in this repo: https://github.com/dikodahan/cs-hud-shortcuts. This will take care of everything listed below and you do not need to continue with this tutorial.
- You can follow the manual process listed here if you wish so.
You will need to SSH into your Circuit Gem/Sword to get this set up once. In my specific example, this is a Circuit Gem, but aside from some minor variations I will note below, the process is the same.
- First off, you will need to copy this image file here to your PC. Make sure it is saved as kite.png
- SSH to your Kite board.
- Go into the retromenu directory. Any sh file in this directory will automatically show up in RetroPie configuration menu.
Code: Select all
cd RetroPie/retropiemenu/
- Create a new shell script file to launch the script.
Code: Select all
nano kite-update.sh
- Paste the following lines in the file.
Code: Select all
#!/bin/bash if [[ -d "${HOME}/Circuit-Gem" ]]; then cd ~/Circuit-Gem sudo ./update.sh elif [[ -d "${HOME}/Circuit-Sword" ]]; then cd ~/Circuit-Sword sudo ./update.sh elif [[ -d "${HOME}/Circuit-Sword-Lite" ]]; then cd ~/Circuit-Sword-Lite sudo ./update.sh fi
- To save the file press Ctrl+x, Then y and then press Enter.
- Make the shell script executable:
Code: Select all
chmod +x kite-update.sh
- Now we need to update the RetroPie configuration menu to add this item properly.
Code: Select all
sudo nano /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml
- Scroll all the way down to the end of the file and just above the last line </gameList> add the following lines.
Code: Select all
<game> <path>./kite-update.sh</path> <name>Kite HUD Update</name> <desc>Installs available updates to Kite's HUD software.</desc> <image>./icons/kite.png</image> </game>
- To save the file press Ctrl+x, Then y and then press Enter.
- Close the SSH connection.
- Now you need to copy the kite.png file over to the following directory on your Circuit board: /home/pi/RetroPie/retropiemenu/icons
I will not cover how to copy a file over to RetroPie from a PC or a Mac in this tutorial. You can easily google this part. - From your HUD software perform a proper shutdown and turn your hand-held back on. You now have the update command easily accessible from RetroPie menu!!!