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

Commit 9729175

Browse files
authored
v1.0
1 parent fa45e30 commit 9729175

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

installxdepgames.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
clear
3+
echo ---------------------------------
4+
echo X dependency game installer
5+
echo for Retropie
6+
echo ---------------------------------
7+
echo Install games that require
8+
echo a GUI to be played in Retropie
9+
echo ---------------------------------
10+
if [$1 null]
11+
then
12+
echo Example:
13+
echo "installxdepgames.sh <exact/location/of/game> <output.sh>"
14+
exit
15+
fi
16+
echo Creating launcher for $1 Step 1 of 3
17+
echo "#!/bin/bash" >> /home/pi/RetroPie/roms/ports/$2
18+
echo Creating launcher for $1 Step 2 of 3
19+
echo "xinit "$1" "\$"* -- :0 vt"\$"XDG_VTNR" >> /home/pi/RetroPie/roms/ports/$2
20+
echo Creating launcher for $1 Step 3 of 3
21+
sudo chmod +x /home/pi/RetroPie/roms/ports/$2
22+
echo Launcher created for $1 as $2
23+
exit

0 commit comments

Comments
 (0)