###Scripts version 2005###
This commit is contained in:
parent
06e3953b19
commit
ea518e5f21
@ -10,6 +10,14 @@
|
||||
* добавить комментарии описывающие функционал скриптов
|
||||
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
|
||||
-----------------------------------------
|
||||
###Scripts version 2005###
|
||||
* обновлен db файл для steam (под ProtonGE связь с интернетом снова есть) - Спасибо Cefeiko!
|
||||
* обновлен WINE PROTON_GE 6.16-GE1
|
||||
* переменная PW_GUI_DISABLED_CS сбрасывается при запуске порта (для совместимости со старыми ярлыками которые были созданы на предыдущих версиях порта)
|
||||
* добавлена возможность создавать 32-х битный префикс (необходимо для будущей автоустановки League of Legends)
|
||||
* в GUI AUTOINSTALL добавлены лаунчеры Bethesda.net Launcher и Rockstar-Games-Launcher
|
||||
* улучшена функция pw_kill_autostart
|
||||
|
||||
###Scripts version 2004###
|
||||
* HOTFIX - использование и редактирование db файла Battle.NET
|
||||
|
||||
|
BIN
data_from_portwine/img/gui/Bethesda.png
Normal file
BIN
data_from_portwine/img/gui/Bethesda.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
data_from_portwine/img/gui/Rockstar.png
Normal file
BIN
data_from_portwine/img/gui/Rockstar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1017 B |
@ -198,3 +198,39 @@ PW_OSU () {
|
||||
fi
|
||||
stop_portwine
|
||||
}
|
||||
|
||||
PW_BETHESDA () {
|
||||
export LAUNCH_PARAMETERS=("/silent" )
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/BethesdaNetLauncher_Setup.exe"
|
||||
start_portwine
|
||||
if try_download "https://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
|
||||
}
|
||||
|
||||
PW_ROCKSTAR () {
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Rockstar-Games-Launcher.exe"
|
||||
start_portwine
|
||||
if try_download "https://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
|
||||
}
|
@ -576,7 +576,7 @@ pw_kill_autostart () {
|
||||
else
|
||||
sleep 10
|
||||
while true ; do
|
||||
if [ -z `pgrep "$1" | head -n 1` ] && [ ! -z `pgrep wrap | head -n 1` ]; then
|
||||
if [ -z "`ps aux | grep "$1" | head -n 1 | awk '{print $2}'`" ] && [ ! -z "`pgrep wrap | head -n 1`" ]; then
|
||||
echo -e "PID "$1" not found"
|
||||
sleep 1
|
||||
else
|
||||
@ -675,4 +675,3 @@ pw_check_and_download_wine () {
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -1,15 +1,42 @@
|
||||
export LAUNCH_PARAMETERS="--launch-product=league_of_legends --launch-patchline=live"
|
||||
cd "${PATH_TO_GAME}"
|
||||
|
||||
if [ "$(cat /proc/sys/abi/vsyscall32)" -ne 0 ]
|
||||
then
|
||||
#!/bin/bash
|
||||
#Author: xuser
|
||||
#LeagueClient.exe
|
||||
#Rating=1-5
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
export LAUNCH_PARAMETERS="('--launch-product=league_of_legends' '--launch-patchline=live')" # Additional launch options
|
||||
export PW_WINE_USE=proton_ge
|
||||
export PW_VULKAN_USE=dxvk
|
||||
##export PW_DXR_ON=1
|
||||
##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_NVAPI=0
|
||||
##export PW_OLD_GL_STRING=1
|
||||
##export PW_HIDE_NVIDIA_GPU=1
|
||||
##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
|
||||
##export ENABLE_VKBASALT=1
|
||||
##export PW_VKBASALT_EFFECTS="FakeHDR:cas" # Use Reshade in others games (dx9-12 to vulkan only)
|
||||
##export PW_VKBASALT_FFX_CAS="0.75" # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HEAP_DELAY_FREE=1
|
||||
##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
|
||||
export WINEARCH=win32 # defaut = win64
|
||||
export WINEPREFIX="${PORT_WINE_PATH}/data/pfx_x86"
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_USE_TERMINAL=1 # Force run in terminal
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
add_in_start_portwine () {
|
||||
if [ "$(cat /proc/sys/abi/vsyscall32)" -ne 0 ] ; then
|
||||
zenity --question --title="Fix for LoL anti-cheat" \
|
||||
--text='Root rights are required to execute the command: \n"sysctl -w abi.vsyscall32=0" and "sysctl -p"' --no-wrap
|
||||
if [ "$?" = 1 ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
[ "$?" = 1 ] && exit 0
|
||||
pkexec sh -c 'sysctl -w abi.vsyscall32=0 && sysctl -p'
|
||||
fi
|
||||
sh "${PORT_SCRIPTS_PATH}"/fix_start_lol.sh | zenity --progress --title="Start PortLoL" --text="Please wait, launch is in progress, it may take few minutes" --pulsate --auto-close --auto-kill --width=450 &
|
||||
fi
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
#Author: Ridbowt (Nikola P.)
|
||||
#MOHAA.exe
|
||||
#moh_spearhead.exe
|
||||
#moh_breakthrough.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_VULKAN_USE=0
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export MESA_EXTENSION_MAX_YEAR=2002
|
@ -8,6 +8,7 @@
|
||||
#export PW_COMMENT_DB="blablabla"
|
||||
################################################
|
||||
export PW_VULKAN_USE=0 #dxvk or vkd3d
|
||||
export PW_WINE_USE=proton_steam
|
||||
#export WINEDLLOVERRIDES="blabla=n,b"
|
||||
#export PW_LOG=0 # Enable debug mode fo terminal
|
||||
export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
|
@ -6,5 +6,7 @@
|
||||
export PW_COMMENT_DB="Steam"
|
||||
export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
|
||||
export PW_DLL_INSTALL="vcrun2019 d3dcompiler_46"
|
||||
export WINEDLLOVERRIDES="libglesv2="
|
||||
export WINEDLLOVERRIDES="libglesv2,lsteamclient="
|
||||
export LAUNCH_PARAMETERS="-no-cef-sandbox"
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_WINE_USE=proton_ge
|
||||
|
32
data_from_portwine/scripts/portwine_db/trine
Executable file
32
data_from_portwine/scripts/portwine_db/trine
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
#Author: xuser
|
||||
#trine.exe
|
||||
#Rating=1-5
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
export PW_DLL_INSTALL="physx" # Install DDL in port prefix (used winetricks)
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export PW_DXR_ON=1
|
||||
##export PW_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_NVAPI=0
|
||||
##export PW_OLD_GL_STRING=1
|
||||
##export PW_HIDE_NVIDIA_GPU=1
|
||||
##export PW_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
|
||||
##export ENABLE_VKBASALT=1
|
||||
##export PW_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
|
||||
##export PW_NO_ESYNC=0 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export PW_NO_WRITE_WATCH=1 # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
|
||||
##export PW_HEAP_DELAY_FREE=1
|
||||
##export PW_WINE_ALLOW_XIM=1 # Disable XIM support until libx11 >= 1.7 is widespread
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_USE_TERMINAL=1 # Force run in terminal
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
37
data_from_portwine/scripts/portwine_db/witcher3
Executable file
37
data_from_portwine/scripts/portwine_db/witcher3
Executable file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
#Author: xuser
|
||||
#witcher3.exe
|
||||
#Rating=1-5
|
||||
########################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
#####################examples###########################
|
||||
##export PW_COMMENT_DB="blablabla"
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_DLL_INSTALL="vcrun2017" # Install DDL in port prefix (used winetricks)
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
export PW_DXR_ON=0
|
||||
export PW_VULKAN_NO_ASYNC=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
export PW_OLD_GL_STRING=0
|
||||
export PW_HIDE_NVIDIA_GPU=0
|
||||
export PW_FORCE_USE_VSYNC=0
|
||||
export PW_VIRTUAL_DESKTOP=0
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
|
||||
export ENABLE_VKBASALT=1
|
||||
export PW_VKBASALT_FFX_CAS="0.5"
|
||||
export PW_NO_FSYNC=0
|
||||
export PW_NO_ESYNC=1
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
export PW_NO_WRITE_WATCH=0
|
||||
export PW_HEAP_DELAY_FREE=0
|
||||
export PW_WINE_ALLOW_XIM=0
|
||||
##export WINEARCH=win32 # defaut = win64
|
||||
##export WINEPREFIX=
|
||||
export PW_WINEDBG_DISABLE=0
|
||||
export PW_USE_TERMINAL=0
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
||||
export PW_WINE_USE=proton_ge
|
||||
export PW_USE_NVAPI=0
|
||||
export PW_GUI_DISABLED_CS=0
|
@ -134,8 +134,12 @@ start_portwine () {
|
||||
fi
|
||||
if [ ! -z "${PW_USE_NVAPI}" ] && [ "${PW_USE_NVAPI}" == 1 ] && [ -d "${WINEDIR}/lib/wine/nvapi/" ]
|
||||
then
|
||||
if [ "${WINEARCH}" != "win32" ] ; then
|
||||
try_copy_file "${WINEDIR}/lib/wine/nvapi/nvapi.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}/lib64/wine/nvapi/nvapi64.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
else
|
||||
try_copy_file "${WINEDIR}/lib/wine/nvapi/nvapi.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
var_winedlloverride_update "nvapi,nvapi64=n"
|
||||
else
|
||||
var_winedlloverride_update "nvapi,nvapi64="
|
||||
@ -255,6 +259,7 @@ start_portwine () {
|
||||
# export TOTAL_VRAM=`"${PW_WINELIB}/runtime/bin/glxinfo" -B | grep Total | awk -F: '{print $2}' | awk '{print $1}'`
|
||||
# echo "TOTAL_VRAM=${TOTAL_VRAM}"
|
||||
echo "Try copy native DXGI"
|
||||
if [ "${WINEARCH}" != "win32" ] ; then
|
||||
if ! try_copy_file "${WINEDIR}"/lib/wine/fakedlls/dxgi.dll "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
then try_copy_file "${WINEDIR}"/lib/wine/i386-windows/dxgi.dll "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
fi
|
||||
@ -263,25 +268,41 @@ start_portwine () {
|
||||
fi
|
||||
try_copy_file "${WINEDIR}/lib/wine/dxvk/dxvk_config.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}/lib64/wine/dxvk/dxvk_config.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
else
|
||||
if ! try_copy_file "${WINEDIR}"/lib/wine/fakedlls/dxgi.dll "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
then try_copy_file "${WINEDIR}"/lib/wine/i386-windows/dxgi.dll "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
try_copy_file "${WINEDIR}/lib/wine/dxvk/dxvk_config.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
if [ "${PW_VULKAN_USE}" = "0" ] ; then
|
||||
export MESA_GLSL_CACHE_DIR="${PORT_WINE_TMP_PATH}"
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
export GL_YIELD="NOTHING"
|
||||
for wine_build_dll in d3d11 d3d10 d3d10core d3d10_1 d3d9 ; do
|
||||
if [ "${WINEARCH}" != "win32" ] ; then
|
||||
if ! try_copy_file "${WINEDIR}/lib/wine/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
then try_copy_file "${WINEDIR}/lib/wine/i386-windows/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
fi
|
||||
if ! try_copy_file "${WINEDIR}/lib64/wine/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
then try_copy_file "${WINEDIR}/lib64/wine/x86_64-windows/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
else
|
||||
if ! try_copy_file "${WINEDIR}/lib/wine/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
then try_copy_file "${WINEDIR}/lib/wine/i386-windows/${wine_build_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
var_winedlloverride_update "d3d11,d3d10,d3d10core,d3d10_1,d3d9,dxgi=b;d3d12="
|
||||
echo "Use OpenGL"
|
||||
elif [ "${PW_VULKAN_USE}" = "vkd3d" ] ; then
|
||||
echo "Try copy native VKD3D files"
|
||||
for wine_vkd3d_dll in d3d12 libvkd3d-proton-utils-3 ; do
|
||||
if [ "${WINEARCH}" != "win32" ] ; then
|
||||
try_copy_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}/lib64/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
else
|
||||
try_copy_file "${WINEDIR}/lib/wine/vkd3d-proton/${wine_vkd3d_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
var_winedlloverride_update "${wine_vkd3d_dll}=n"
|
||||
create_new_dir "${PORT_WINE_TMP_PATH}/gl_shader_cache"
|
||||
export __GL_SHADER_DISK_CACHE_PATH="${PORT_WINE_TMP_PATH}/gl_shader_cache"
|
||||
@ -295,8 +316,12 @@ start_portwine () {
|
||||
export CP_DXVK_FILES="d3d11 d3d10 d3d10core d3d10_1 d3d9 dxgi"
|
||||
echo "Try copy native DXVK files"
|
||||
for wine_dxvk_dll in ${CP_DXVK_FILES} ; do
|
||||
if [ "${WINEARCH}" != "win32" ] ; then
|
||||
try_copy_file "${WINEDIR}/lib/wine/dxvk/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/"
|
||||
try_copy_file "${WINEDIR}/lib64/wine/dxvk/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
else
|
||||
try_copy_file "${WINEDIR}/lib/wine/dxvk/${wine_dxvk_dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/"
|
||||
fi
|
||||
var_winedlloverride_update "${wine_dxvk_dll}=n"
|
||||
done
|
||||
create_new_dir "${PORT_WINE_TMP_PATH}/dxvk_cache"
|
||||
@ -357,7 +382,11 @@ start_portwine () {
|
||||
fi
|
||||
if [[ -z `cat "${WINEPREFIX}/system.reg" | grep "Windows $PW_WINDOWS_VER"` ]] ; then
|
||||
if [ ! -z "${PW_WINDOWS_VER}" ] && [ `echo "$PW_WINDOWS_VER" | sed 's/.*/\L&/'` == "xp" ] ; then
|
||||
if [ "${WINEARCH}" != "win32" ] ; then
|
||||
export PW_WINDOWS_VER="xp64"
|
||||
else
|
||||
export PW_WINDOWS_VER="xp"
|
||||
fi
|
||||
fi
|
||||
${pw_runtime} env LD_LIBRARY_PATH="${PW_AND_RUNTIME_LIBRARY_PATH}${LD_LIBRARY_PATH}" "${WINELOADER}" winecfg -v `echo "win${PW_WINDOWS_VER}" | sed 's/.*/\L&/'`
|
||||
echo "Set to win${PW_WINDOWS_VER}"
|
||||
@ -396,7 +425,7 @@ pw_run () {
|
||||
}
|
||||
|
||||
###MAIN###
|
||||
unset MANGOHUD MANGOHUD_DLSYM PW_NO_ESYNC PW_NO_FSYNC PW_VULKAN_USE WINEDLLOVERRIDES PW_NO_WRITE_WATCH
|
||||
unset MANGOHUD MANGOHUD_DLSYM PW_NO_ESYNC PW_NO_FSYNC PW_VULKAN_USE WINEDLLOVERRIDES PW_NO_WRITE_WATCH PW_GUI_DISABLED_CS
|
||||
unset PW_CHECK_AUTOINSTAL PW_VKBASALT_EFFECTS PW_VKBASALT_FFX_CAS PORTWINE_DB PORTWINE_DB_FILE PW_DISABLED_CREAT_DB
|
||||
|
||||
cd "$(dirname "`readlink -f "$0"`")" && export PORT_SCRIPTS_PATH="$(pwd)"
|
||||
|
@ -50,7 +50,7 @@ portwine_create_shortcut () {
|
||||
echo "[Desktop Entry]" > "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Name=${PORTPROTON_NAME}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
if [ -z "${PW_CHECK_AUTOINSTAL}" ]
|
||||
then echo "Exec=env PW_GUI_DISABLED_CS=1 "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${PORTPROTON_EXE}\" "" \
|
||||
then echo "Exec=env "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${PORTPROTON_EXE}\" "" \
|
||||
>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
else echo "Exec=env "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${PORTPROTON_EXE}\" "" \
|
||||
>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
@ -320,6 +320,8 @@ else
|
||||
--field=" Steam Client Launcher"!"$PW_GUI_ICON_PATH/steam.png":"BTN" '@bash -c "button_click PW_STEAM"' \
|
||||
--field=" EVE Online Launcher"!"$PW_GUI_ICON_PATH/eve.png":"BTN" '@bash -c "button_click PW_EVE"' \
|
||||
--field=" Origin Launcher"!"$PW_GUI_ICON_PATH/origin.png":"BTN" '@bash -c "button_click PW_ORIGIN"' \
|
||||
--field=" Bethesda.net Launcher"!"$PW_GUI_ICON_PATH/Bethesda.png":"BTN" '@bash -c "button_click PW_BETHESDA"' \
|
||||
--field=" Rockstar Games Launcher"!"$PW_GUI_ICON_PATH/Rockstar.png":"BTN" '@bash -c "button_click PW_ROCKSTAR"' \
|
||||
--field=" OSU"!"$PW_GUI_ICON_PATH/osu.png":"BTN" '@bash -c "button_click PW_OSU"' & \
|
||||
|
||||
"${pw_yad}" --plug=${KEY} --tabnum=1 --columns=3 --form --separator=";" \
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#Author: Castro-Fidel (PortWINE-Linux.ru)
|
||||
#SCRIPTS_NEXT_VERSION=2004
|
||||
#SCRIPTS_NEXT_VERSION=2005
|
||||
########################################################################
|
||||
export PW_MANGOHUD=1
|
||||
export MANGOHUD_CONFIG=font_size=24,position=top-left,toggle_hud=Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt
|
||||
@ -28,7 +28,7 @@ export PW_LIBS_VER="_v17"
|
||||
export PORTWINE_URL="http://portwine-linux.ru/"
|
||||
export GDK_BACKEND="x11"
|
||||
|
||||
export PW_PROTON_GE_VER="6.15-GE-2"
|
||||
export PW_PROTON_GE_VER="6.16-GE-1"
|
||||
export PW_MONO_VER="6.3.0"
|
||||
export PW_GECKO_VER="2.47.2"
|
||||
export WINEPREFIX="${PORT_WINE_PATH}/data/pfx"
|
||||
|
Loading…
Reference in New Issue
Block a user