Added mkwine.sh script for making test bottles.
This commit is contained in:
parent
20f11c04a3
commit
e2a9aaaa24
@ -180,7 +180,6 @@ gameList=(
|
||||
"Bloodshed"
|
||||
"Kitchensinc Games"
|
||||
"Light Cars"
|
||||
"Rail Racer"
|
||||
"Shades of Doom"
|
||||
"Super Egg Hunt"
|
||||
"Super Liam"
|
||||
@ -251,13 +250,6 @@ case "${game}" in
|
||||
add_launcher "c:\Program Files\Lighttech Interactive\Light Cars\lightCars.exe"
|
||||
rm -f "$WINEPREFIX/drive_c/Program Files/light cars setup.exe"
|
||||
;;
|
||||
"Rail Racer")
|
||||
install_wine_bottle
|
||||
wget -O "$WINEPREFIX/drive_c/Program Files/RailRacerDemo10Setup.exe" "https://www.agarchive.net/games/other/RailRacerDemo10Setup.exe"
|
||||
wine "$WINEPREFIX/drive_c/Program Files/RailRacerDemo10Setup.exe" /silent
|
||||
#add_launcher "c:\Program Files\"
|
||||
rm -f "$WINEPREFIX/drive_c/Program Files/RailRacerDemo10Setup.exe"
|
||||
;;
|
||||
"Shades of Doom")
|
||||
install_wine_bottle vcrun6
|
||||
wget -O "$WINEPREFIX/drive_c/Program Files/sod20022.exe" "http://www.gmagames.com/sod20022.exe"
|
||||
|
15
mkwine.sh
Executable file
15
mkwine.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
export WINEARCH=win32
|
||||
bottle="${1,,}"
|
||||
shift
|
||||
bottle="${bottle//[[:space:]]/-}"
|
||||
mkdir -p "$HOME/.local/wine/${bottle}"
|
||||
export WINEPREFIX="$HOME/.local/wine/${bottle}"
|
||||
# Arguments to the function are dependancies to be installed.
|
||||
(wine msiexec /i z:/usr/share/wine/mono/$(ls -1 /usr/share/wine/mono/) /silent
|
||||
wine msiexec /i z:$(ls -1 /usr/share/wine/gecko/*x86.msi) /silent
|
||||
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}) | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user