Many things changed

Perhaps this actually works properly now.
This commit is contained in:
Nicole George 2020-01-30 21:46:11 -06:00 committed by GitHub
parent 6254718d36
commit 010237b949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,46 +10,46 @@ start () {
if [ $1 == "fresh" ]; then if [ $1 == "fresh" ]; then
rm -rf $WINEPREFIX rm -rf $WINEPREFIX
fi fi
prefix download
}
download () {
cd "$DIR/downloads"
wget https://github.com/Vencorr/Worlds-LinuxScript/blob/master/files.txt
wget -i files.txt
prefix
} }
prefix () { prefix () {
echo "Settings up the Wine prefix..." echo "Installing components..."
wine init
if ! [ -x "$(command -v winetricks)" ]; then if ! [ -x "$(command -v winetricks)" ]; then
echo "Error: 'winetricks' not found! Please add it to your path or install it via your package manager." echo "Error: 'winetricks' not found! Please add it to your path or install it via your package manager."
exit 1 exit 1
fi fi
echo "Self updating winetricks..."
sudo winetricks --self-update sudo winetricks --self-update
echo "Installing components..." winetricks win7 corefonts droid ddr=gdi ie8 devenum wmp9 dmsynth wmv9vcm directplay quartz
winetricks gdiplus ddr=gdi glsl=disabled allfonts l3codecx devenum quartz wmp10 ie8 win7
install install
} }
install () { install () {
cd "$DIR/downloads" cd "$DIR/downloads"
echo "Downloading Java 6u45 Windows i586..." echo "Downloading Java 6u45 Windows i586..."
wget --user=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-entry="Email") --password=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-password="Password") https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-windows-i586.exe #wget --user=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-entry="Email") --password=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-password="Password") https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-windows-i586.exe
if ! [ -f "$DIR/downloads/jre-6u45-windows-i586.exe" ]; then #if ! [ -f "$DIR/downloads/jre-6u45-windows-i586.exe" ]; then
echo "JRE6 installer not found! Aborting!" # echo "JRE6 installer not found! Aborting!"
exit 1 # exit 1
fi #fi
wine jre-6u45-windows-i586 /s
echo "Downloading Installer..."
wget "http://cache.worlds.com/downloads/1900/Worlds1900.exe"
echo "Installing Worlds 1900. Please complete the setup." echo "Installing Worlds 1900. Please complete the setup."
wine "Worlds1900.exe" wine jre-6u23-windows-i586-s /s
wine Worlds1900.exe /s
killall run.exe Worlds1900.exe javaw.exe killall run.exe Worlds1900.exe javaw.exe
audio audio
} }
audio () { audio () {
echo "Setting up Audio prerequisites..." echo "Setting up Audio prerequisites. Please complete the setups."
cd "$DIR/downloads" cd "$DIR/downloads"
wget "https://www.dropbox.com/s/el0co8k0n0ps6a2/BCM1043.exe" wine K-Lite_Codec_Pack_1535_Full.exe /s
wine BCM1043.exe /s
wget "https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-Installer.exe"
wine LAVFilters-0.74.1-Installer.exe /s wine LAVFilters-0.74.1-Installer.exe /s
script script
} }