Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awest03 authored Apr 8, 2019
1 parent fa45e30 commit 9729175
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions installxdepgames.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
clear
echo ---------------------------------
echo X dependency game installer
echo for Retropie
echo ---------------------------------
echo Install games that require
echo a GUI to be played in Retropie
echo ---------------------------------
if [$1 null]
then
echo Example:
echo "installxdepgames.sh <exact/location/of/game> <output.sh>"
exit
fi
echo Creating launcher for $1 Step 1 of 3
echo "#!/bin/bash" >> /home/pi/RetroPie/roms/ports/$2
echo Creating launcher for $1 Step 2 of 3
echo "xinit "$1" "\$"* -- :0 vt"\$"XDG_VTNR" >> /home/pi/RetroPie/roms/ports/$2
echo Creating launcher for $1 Step 3 of 3
sudo chmod +x /home/pi/RetroPie/roms/ports/$2
echo Launcher created for $1 as $2
exit

0 comments on commit 9729175

Please sign in to comment.