forked from CastroFidel/PortWINE
Scripts version 2131
This commit is contained in:
18
data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/S")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Ankama Launcher-Setup.exe"
|
||||
start_portwine
|
||||
if try_download "launcher.cdn.ankama.com/installers/production/Ankama%20Launcher-Setup.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Ankama Launcher. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/Ankama/Ankama Launcher/Ankama Launcher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="AnkamaLauncher"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_BATTLE_NET
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
[ "${update_loc}" = "RUS" ] && export BN_LOC=ruRU || export BN_LOC=enUS
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup-${BN_LOC}.exe"
|
||||
start_portwine
|
||||
if try_download "dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-${BN_LOC}.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
# PW_START_PROGRESS_BAR "Installing the Battle Net. Please wait..."
|
||||
pw_kill_autostart Battle.net.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "Battle.net.exe"`
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
fi
|
||||
stop_portwine
|
19
data_from_portwine/scripts/pw_autoinstall/PW_BETHESDA
Executable file
19
data_from_portwine/scripts/pw_autoinstall/PW_BETHESDA
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/BethesdaNetLauncher_Setup.exe"
|
||||
start_portwine
|
||||
if try_download "download.cdp.bethesda.net/BethesdaNetLauncher_Setup.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the BethesdaNetLauncher. Please wait..."
|
||||
pw_kill_autostart BethesdaNetLauncher.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Bethesda.net Launcher/BethesdaNetLauncher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Bethesda.net"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_CEMU
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_CEMU
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: linux-gaming.ru
|
||||
########################################################################
|
||||
export PW_URL_CEMU=($(curl -s "https://cemu.info" | grep "zip" | cut -d \" -f 2))
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/`echo ${PW_URL_CEMU} | awk -F/ '{print $5}'`"
|
||||
start_portwine
|
||||
if try_download "${PW_URL_CEMU}" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Cemu. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/`echo ${PW_URL_CEMU} | awk -F/ '{print $5}' | sed 's/.zip//'`/Cemu.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Cemu"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_CITRA
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_CITRA
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
#export LAUNCH_PARAMETERS=("")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/citra-setup-windows.exe"
|
||||
start_portwine
|
||||
if try_download "github.com/citra-emu/citra-web/releases/download/1.0/citra-setup-windows.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Citra. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly-mingw/citra-qt.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Citra"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN
Normal file
18
data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN
Normal file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
##########################################################################
|
||||
export LAUNCH_PARAMETERS=("/S")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/dolphin-x64-5.0.exe"
|
||||
start_portwine
|
||||
if try_download "dl-mirror.dolphin-emu.org/5.0/dolphin-x64-5.0.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Dolphin 5.0. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/Dolphin/Dolphin.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Dolphin 5.0"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_DUCKSTATION
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_DUCKSTATION
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/duckstation-windows-x64-release.zip"
|
||||
start_portwine
|
||||
if try_download "github.com/stenzek/duckstation/releases/download/preview/duckstation-windows-x64-release.zip" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the VBA-M. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Duckstation"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Duckstation/duckstation-qt-x64-ReleaseLTCG.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="DuckStation"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
28
data_from_portwine/scripts/pw_autoinstall/PW_EPIC
Executable file
28
data_from_portwine/scripts/pw_autoinstall/PW_EPIC
Executable file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/q" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EpicGamesLauncherInstaller.msi"
|
||||
export PW_USE_D3D_EXTRAS=1
|
||||
|
||||
start_portwine
|
||||
if try_download "launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing Epic Games Launcher. Please wait..."
|
||||
# pw_kill_autostart EpicGamesLauncher.exe &
|
||||
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
|
||||
# sleep 10
|
||||
# if [ ! -z `pgrep msiexec* | head -n 1` ] ; then
|
||||
# while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | head -n 1` ] || [ ! -z `pgrep -a wrap | grep ${portname} | head -n 1` ]
|
||||
# do
|
||||
# [ ! -z `pgrep rundll32* | head -n 1` ] && kill -n 9 `pgrep rundll32* | head -n 1` && echo "Kill rundll32.exe"
|
||||
# sleep 5
|
||||
# done
|
||||
# fi
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_EPSXE
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_EPSXE
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/ePSXe205.zip"
|
||||
start_portwine
|
||||
if try_download "www.epsxe.com/files/ePSXe205.zip" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the VBA-M. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/EPSXe"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/EPSXe/ePSXe.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="ePSXe"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
22
data_from_portwine/scripts/pw_autoinstall/PW_EVE
Executable file
22
data_from_portwine/scripts/pw_autoinstall/PW_EVE
Executable file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: cefeiko
|
||||
########################################################################
|
||||
export PW_WINDOWS_VER=10
|
||||
export PW_DLL_INSTALL="vcrun2017"
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EveLauncher-1892908.exe"
|
||||
start_portwine
|
||||
if try_download "binaries.eveonline.com/EveLauncher-1892908.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the EVE Launcher. Please wait..."
|
||||
if [ ! -f "$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe" ] ; then
|
||||
try_remove_dir "$WINEPREFIX/drive_c/Games/EVE Online"
|
||||
dd if="${PW_AUTOINSTALL_EXE}" of="${PW_AUTOINSTALL_EXE}".7z bs=1M skip=31646603 count=196171208 iflag=skip_bytes,count_bytes
|
||||
"$pw_7z" x "${PW_AUTOINSTALL_EXE}".7z -o"$WINEPREFIX/drive_c/Games/EVE Online"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}".7z
|
||||
fi
|
||||
portwine_exe="$WINEPREFIX/drive_c/Games/EVE Online/Launcher/evelauncher.exe"
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
37
data_from_portwine/scripts/pw_autoinstall/PW_GAMEFORGE
Executable file
37
data_from_portwine/scripts/pw_autoinstall/PW_GAMEFORGE
Executable file
@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.), cefeiko, Castro-Fidel (linux-gaming.ru)
|
||||
##########################################################################
|
||||
pw_shutdown_please () {
|
||||
if [ "$PW_USE_RUNTIME" != 1 ]
|
||||
then echo "PW_USE_RUNTIME: `echo $PW_USE_RUNTIME`"
|
||||
else
|
||||
sleep 10
|
||||
while true ; do
|
||||
if [ -z "`ps aux | grep -v grep | grep -wm 1 "$1" | awk '{print $2}'`" ] && [ ! -z "`pgrep wrap | head -n 1`" ]; then
|
||||
echo -e "PID "$1" not found"
|
||||
sleep 1
|
||||
else
|
||||
killall -s TERM gfclient.exe
|
||||
killall -s TERM GameforgeInstaller.exe
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
export LAUNCH_PARAMETERS=("")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GameforgeInstaller.exe"
|
||||
start_portwine
|
||||
if try_download "raw.githubusercontent.com/WarfaceZ/lutris-clients/master/GameforgeInstaller.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Gameforge-Client. Please wait..."
|
||||
pw_shutdown_please SparkWebHelper.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="GameforgeClient"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
19
data_from_portwine/scripts/pw_autoinstall/PW_GLYPH
Executable file
19
data_from_portwine/scripts/pw_autoinstall/PW_GLYPH
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/S" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GlyphInstall.exe"
|
||||
start_portwine
|
||||
if try_download "download.dyn.triongames.com/GlyphInstall.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the GlyphClient. Please wait..."
|
||||
pw_kill_autostart GlyphClient.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Glyph/GlyphClient.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="GlyphClient"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_GOG
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_GOG
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
export GOG_VER=2.0.48.63
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/setup_galaxy_${GOG_VER}.exe"
|
||||
start_portwine
|
||||
if try_download "content-system.gog.com/open_link/download?path=/open/galaxy/client/${GOG_VER}/setup_galaxy_${GOG_VER}.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the GOG Galaxy. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
19
data_from_portwine/scripts/pw_autoinstall/PW_ITCH
Normal file
19
data_from_portwine/scripts/pw_autoinstall/PW_ITCH
Normal file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
##########################################################################
|
||||
export LAUNCH_PARAMETERS=("--silent")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/itch-setup.exe"
|
||||
start_portwine
|
||||
if try_download "itch.io/app/download?platform=windows" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the ITCH.IO. Please wait..."
|
||||
pw_kill_autostart itch.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Itch"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
40
data_from_portwine/scripts/pw_autoinstall/PW_LOL
Normal file
40
data_from_portwine/scripts/pw_autoinstall/PW_LOL
Normal file
@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export PW_PREFIX_NAME="LEAGUE_OF_LEGENDS"
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/live.na.exe"
|
||||
export LAUNCH_PARAMETERS="--launch-product=league_of_legends --launch-patchline=live"
|
||||
export PW_MUST_HAVE_DLL=""
|
||||
export PW_VULKAN_USE=1
|
||||
export PW_WINE_USE=WINE_LOL_GE_7.0-4
|
||||
export WINEDLLOVERRIDES="mscoree,mshtml="
|
||||
export PW_USE_D3D_EXTRAS=1
|
||||
|
||||
if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
|
||||
if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
|
||||
"${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
|
||||
if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
|
||||
try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
|
||||
UNPACK_STATUS=0
|
||||
else
|
||||
try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
|
||||
try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
|
||||
fi
|
||||
fi
|
||||
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
|
||||
fi
|
||||
start_portwine
|
||||
if try_download "lol.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.na.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing League of Legends. Please wait..."
|
||||
zenity --info --width=500 --text "You must click the install button without changing the settings!"
|
||||
pw_kill_autostart RiotClientServices.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Riot Games/Riot Client/RiotClientServices.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="League of Legend"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_MAME
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_MAME
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/mame0237b_64bit.exe"
|
||||
start_portwine
|
||||
if try_download "github.com/mamedev/mame/releases/download/mame0237/mame0237b_64bit.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the MAME. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Mame/mame.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="MAME"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
19
data_from_portwine/scripts/pw_autoinstall/PW_MYGAMES
Executable file
19
data_from_portwine/scripts/pw_autoinstall/PW_MYGAMES
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/MyGamesLoader.exe"
|
||||
start_portwine
|
||||
if try_download "static.gc.my.games/MyGamesLoader.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the My.Games. Please wait..."
|
||||
pw_kill_autostart GameCenter.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/GameCenter/GameCenter.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="MY.GAMES"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_ORIGIN
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_ORIGIN
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/silent" "/NoLaunch" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/OriginSetup.exe"
|
||||
start_portwine
|
||||
if try_download "origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Origin. Please wait..."
|
||||
# pw_kill_autostart Origin.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe"
|
||||
pw_stop_progress_bar
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
21
data_from_portwine/scripts/pw_autoinstall/PW_OSU
Executable file
21
data_from_portwine/scripts/pw_autoinstall/PW_OSU
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: cefeiko
|
||||
########################################################################
|
||||
export PW_PREFIX_NAME=DOTNET
|
||||
start_portwine
|
||||
export PW_DLL_INSTALL="dotnet48"
|
||||
mkdir -p "${WINEPREFIX}/drive_c/Program Files (x86)/OSU/"
|
||||
export PW_AUTOINSTALL_EXE="${WINEPREFIX}/drive_c/Program Files (x86)/OSU/osu!.exe"
|
||||
if try_download "m1.ppy.sh/r/osu!install.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the OSU!. Please wait..."
|
||||
if [ -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" ]; then
|
||||
mv -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe"
|
||||
fi
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
|
||||
# pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
kill_portwine
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP
Normal file
18
data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP
Normal file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
##########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/PPSSPPSetup.exe"
|
||||
start_portwine
|
||||
if try_download "www.ppsspp.org/files/1_12_3/PPSSPPSetup.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the PPSSPPS. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/PPSSPP/PPSSPPWindows64.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="PPSSPPWindows"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_PROJECT64
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_PROJECT64
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Setup Project64 3.0.1-5664-2df3434.exe"
|
||||
start_portwine
|
||||
if try_download "www.pj64-emu.com/file/setup-project64-3-0-0-5632-f83bee9/" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Project64. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Project64 3.0/Project64.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Project64"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/RetroArch.7z"
|
||||
start_portwine
|
||||
if try_download "buildbot.libretro.com/stable/1.9.13/windows/x86_64/RetroArch.7z" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the RetroArch. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RetroArch-Win64/retroarch.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="RetroArch"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_ROCKSTAR
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_ROCKSTAR
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Rockstar-Games-Launcher.exe"
|
||||
start_portwine
|
||||
if try_download "web.archive.org/web/20210708074247if_/gamedownloads.rockstargames.com/public/installer/Rockstar-Games-Launcher.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Rockstar-Games-Launcher. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/Rockstar Games/Launcher/Launcher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
24
data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM
Normal file
24
data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM
Normal file
@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
##########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/scummvm-2.5.0-win32.exe"
|
||||
start_portwine
|
||||
if try_download "downloads.scummvm.org/frs/scummvm/2.5.0/scummvm-2.5.0-win32.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the ScummVM. Please wait..."
|
||||
#pw_kill_autostart launcher101xp.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/ScummVM/scummvm.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="ScummVM"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
||||
|
||||
|
||||
#/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
|
||||
|
||||
#downloads.scummvm.org/frs/scummvm/2.5.0/scummvm-2.5.0-win32.exe
|
22
data_from_portwine/scripts/pw_autoinstall/PW_STEAM
Executable file
22
data_from_portwine/scripts/pw_autoinstall/PW_STEAM
Executable file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Steam")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SteamSetup.exe"
|
||||
start_portwine
|
||||
if try_download "cdn.cloudflare.steamstatic.com/client/installer/SteamSetup.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_cs "Installing the Steam. Please wait..."
|
||||
pw_kill_autostart steam.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
if [ -f "$WINEPREFIX/drive_c/Program Files (x86)/Steam/Steam.exe" ]
|
||||
then mv -f "$WINEPREFIX/drive_c/Program Files (x86)/Steam/Steam.exe" "$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe"
|
||||
fi
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="STEAM_PP"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_UBC
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_UBC
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Castro-Fidel (linux-gaming.ru)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Ubisoft Game Launcher")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/UbisoftConnectInstaller.exe"
|
||||
start_portwine
|
||||
if try_download "ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_cs "Installing the Ubisoft Connect. Please wait..."
|
||||
pw_kill_autostart UbisoftConnect.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Ubisoft Game Launcher/UbisoftConnect.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
17
data_from_portwine/scripts/pw_autoinstall/PW_VBA-M
Executable file
17
data_from_portwine/scripts/pw_autoinstall/PW_VBA-M
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/visualboyadvance-m-Win-64bit.zip"
|
||||
start_portwine
|
||||
if try_download "github.com/visualboyadvance-m/visualboyadvance-m/releases/download/v2.1.4/visualboyadvance-m-Win-64bit.zip" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the VBA-M. Please wait..."
|
||||
"$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Visualboyadvance-m/visualboyadvance-m.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="VBA-M"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
28
data_from_portwine/scripts/pw_autoinstall/PW_WGC
Executable file
28
data_from_portwine/scripts/pw_autoinstall/PW_WGC
Executable file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: cefeiko
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
[ "${update_loc}" = "RUS" ] && export WGC_LOC=RU || export WGC_LOC=EU
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe"
|
||||
|
||||
try_download_wgc () {
|
||||
set -o pipefail
|
||||
wget -t 5 -T 3 "$1" --output-document="$2" 2>&1 | \
|
||||
tr '\r' '\n' | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./' | \
|
||||
"${pw_yad_new}" --center --progress --percentage=0 --title="Download $(basename $1)" --text=Starting... --auto-close --auto-kill --width=500 --height=90
|
||||
[ "${PIPESTATUS[0]}" != 0 ] && print_error "failed to download $1. Scipping." && return 1 || return 0
|
||||
}
|
||||
|
||||
start_portwine
|
||||
if try_download_wgc "redirect.wargaming.net/WGC/Wargaming_Game_Center_Install_WoT_${WGC_LOC}.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Starting WGC installation..."
|
||||
pw_kill_autostart wgc.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/ProgramData/Wargaming.net/GameCenter/api/wgc_api.exe"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Wargaming Game Center"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
37
data_from_portwine/scripts/pw_autoinstall/PW_WOSB
Normal file
37
data_from_portwine/scripts/pw_autoinstall/PW_WOSB
Normal file
@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: Cefeiko
|
||||
########################################################################
|
||||
export PW_PREFIX_NAME="DOTNET"
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/wos_client.exe"
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
export PW_DLL_INSTALL="faudio dotnet48"
|
||||
export PW_VULKAN_USE=1
|
||||
|
||||
if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
|
||||
if try_download "github.com/Castro-Fidel/wine_builds/releases/download/${PW_WINE_USE}/${PW_WINE_USE}.tar.xz" \
|
||||
"${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" ; then
|
||||
if unpack_tar_xz "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz" "${PORT_WINE_PATH}/data/dist/" ; then
|
||||
try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
|
||||
UNPACK_STATUS=0
|
||||
else
|
||||
try_remove_file "${PORT_WINE_PATH}/data/tmp/${PW_WINE_USE}.tar.xz"
|
||||
try_remove_dir "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}"
|
||||
fi
|
||||
fi
|
||||
[[ "${UNPACK_STATUS}" != 0 ]] && exit 1
|
||||
fi
|
||||
start_portwine
|
||||
if try_download "165311.selcdn.ru/wosb_installer/wos_client.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing World of Sea Battle. Please wait..."
|
||||
|
||||
pw_kill_autostart WorldOfSeaBattleClient.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Games/World Of Sea Battle/WorldOfSeaBattleClient.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
18
data_from_portwine/scripts/pw_autoinstall/PW_YABAUSE
Executable file
18
data_from_portwine/scripts/pw_autoinstall/PW_YABAUSE
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Author: chal55rus (Sergey P.)
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/S")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/yabause-0.9.15-win64.exe"
|
||||
start_portwine
|
||||
if try_download "download.tuxfamily.org/yabause/releases/0.9.15/yabause-0.9.15-win64.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing the Yabause. Please wait..."
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/yabause 0.9.15/yabause.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Yabause"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
Reference in New Issue
Block a user