Added Star Citizen and Dwarf Fortress launchers

This commit is contained in:
Siina Mashek 2021-04-06 06:57:19 +03:00
parent 70c317381a
commit d161ac10d0
2 changed files with 22 additions and 0 deletions

18
bitbreaker/dwarf-fortress Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
dwarfdir="$HOME/df_linux"
# Remove libstdc++.so.6 since it's too old for bitbreaker
if [[ -f "$dwarfdir/libs/libstdc++.so.6" ]]; then
rm "$dwarfdir/libs/libstdc++.so.6"
echo "Removed bundled libstdc++.so.6"
fi
cd $dwarfdir
if [[ -f "dfhack" ]]; then
echo "DFHack installed, using dfhack"
./dfhack
else
./dfhack
fi

4
bitbreaker/starcitizen Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
LAUNCHER="c:\\Program Files\\Roberts Space Industries\\RSI Launcher\\RSI Launcher.exe"
WINEPREFIX=$HOME/.wine/starcitizen wine "$LAUNCHER" --use-gl=osmesa