forked from CastroFidel/PortWINE
Scripts version 2137
This commit is contained in:
0
data_from_portwine/scripts/credits
Normal file → Executable file
0
data_from_portwine/scripts/credits
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/AC4BFSP
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/AC4BFSP
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ACValhalla
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ACValhalla
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ALOTInstaller
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ALOTInstaller
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Anno4
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Anno4
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/AnomalyLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/AnomalyLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/DAOriginsLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/DAOriginsLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/DXHRDC
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/DXHRDC
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Deponia
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Deponia
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Dolphin
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Dolphin
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/FarCry6
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/FarCry6
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Forsaken_World
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Forsaken_World
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GalaxyClient
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GalaxyClient
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GameCenter
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GameCenter
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GameLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GameLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GoW
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/GoW
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Half-Life2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Half-Life2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Inscryption
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Inscryption
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/JustCause4
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/JustCause4
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Lineage2_NewRP
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Lineage2_NewRP
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MWO_Portal.exe.ppdb
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MWO_Portal.exe.ppdb
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MassEffectConfig
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MassEffectConfig
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MassEffectLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MassEffectLauncher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MikuMikuDance
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/MikuMikuDance
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/NFS
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/NFS
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Oddworld_Soulstorm
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Oddworld_Soulstorm
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Photoshop
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Photoshop
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Quake4
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Quake4
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/QuickSFV
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/QuickSFV
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/SamSM
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/SamSM
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Sheltered2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/Sheltered2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/StarCraft Launcher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/StarCraft Launcher
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/TwoWorlds2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/TwoWorlds2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/TwoWorlds2_DX10
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/TwoWorlds2_DX10
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/UNDERTALE
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/UNDERTALE
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/VKPlayLoader
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/VKPlayLoader
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/VampireLife_2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/VampireLife_2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/WolfNewOrder
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/WolfNewOrder
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/WorldOfSeaBattleClient
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/WorldOfSeaBattleClient
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/death_stranding
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/death_stranding
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ePSXe
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ePSXe
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/fc3_blooddragon_d3d11
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/fc3_blooddragon_d3d11
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ghost
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/ghost
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/gta3
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/gta3
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/gu_addon
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/gu_addon
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/hl2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/hl2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/itch
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/itch
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/saferun
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/saferun
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/sanitarium_XP
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/sanitarium_XP
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/sprally2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/sprally2
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/vocaloid4_4.3.0_setup
Normal file → Executable file
0
data_from_portwine/scripts/portwine_db/vocaloid4_4.3.0_setup
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_ITCH
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_ITCH
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_LGC
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_LGC
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_LOL
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_LOL
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_WOSB
Normal file → Executable file
0
data_from_portwine/scripts/pw_autoinstall/PW_WOSB
Normal file → Executable file
@ -104,18 +104,24 @@ start_portwine () {
|
||||
var_vkd3d_config_update single_queue
|
||||
fi
|
||||
|
||||
if ! try_force_link_file "${WINEDIR}"/lib64/wine/fakedlls/winmm.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
|
||||
then try_force_link_file "${WINEDIR}"/lib64/wine/x86_64-windows/winmm.dll "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
|
||||
fi
|
||||
enabled_fake_nvidia_videocard ()
|
||||
{
|
||||
if [[ "${1}" == 1 ]] ; then
|
||||
sed -i /'dxgi.customDeviceId =/c dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.customVendorId =/c dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
|
||||
elif [[ "${1}" == 0 ]] ; then
|
||||
sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ ! -z "${PW_USE_FAKE_DLSS}" && "${PW_USE_FAKE_DLSS}" == 1 && -d "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/" ]]
|
||||
then
|
||||
try_force_link_file "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/nvngx.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
|
||||
try_force_link_file "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/nvngx.ini" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
|
||||
sed -i /'dxgi.customDeviceId =/c dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.customVendorId =/c dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.nvapiHack =/c dxgi.nvapiHack = False' "${DXVK_CONFIG_FILE}"
|
||||
enabled_fake_nvidia_videocard 1
|
||||
export DXVK_NVAPIHACK=0
|
||||
elif [[ ! -z "${PW_USE_NVAPI_AND_DLSS}" && "${PW_USE_NVAPI_AND_DLSS}" == 1 && -d "${WINEDIR}/lib/wine/nvapi/" ]]
|
||||
elif [[ ! -z "${PW_USE_NVAPI_AND_DLSS}" && "${PW_USE_NVAPI_AND_DLSS}" == 1 ]] && [[ -d "${WINEDIR}/lib/wine/nvapi/" ]]
|
||||
then
|
||||
try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x32/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/"
|
||||
try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x64/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/"
|
||||
@ -129,25 +135,13 @@ start_portwine () {
|
||||
try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/nvml.dll"
|
||||
try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib64/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvml.dll"
|
||||
export DXVK_NVAPIHACK=0
|
||||
sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.nvapiHack =/c # dxgi.nvapiHack = False' "${DXVK_CONFIG_FILE}"
|
||||
enabled_fake_nvidia_videocard 0
|
||||
else
|
||||
var_winedlloverride_update "nvapi,nvapi64,nvml,nvngx,nvcuda="
|
||||
sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.nvapiHack =/c # dxgi.nvapiHack = False' "${DXVK_CONFIG_FILE}"
|
||||
fi
|
||||
if [[ ! -z "${PW_WINEDBG_DISABLE}" && "${PW_WINEDBG_DISABLE}" != 0 ]] ; then
|
||||
var_winedlloverride_update "winedbg.exe="
|
||||
fi
|
||||
if [[ ! -z "${PW_HIDE_NVIDIA_GPU}" && "${PW_HIDE_NVIDIA_GPU}" != 0 ]] ; then
|
||||
export WINE_HIDE_NVIDIA_GPU="1"
|
||||
enabled_fake_nvidia_videocard 0
|
||||
export DXVK_NVAPIHACK=1
|
||||
sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId = 222F' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.customVendorId =/c # dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
|
||||
sed -i /'dxgi.nvapiHack =/c dxgi.nvapiHack = True' "${DXVK_CONFIG_FILE}"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${PW_PRIME_RENDER_OFFLOAD}" && "${PW_PRIME_RENDER_OFFLOAD}" != 0 ]] ; then
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
check_nvidia_vk_icd_file
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#Author: Castro-Fidel (linux-gaming.ru)
|
||||
#SCRIPTS_NEXT_VERSION=2136
|
||||
#SCRIPTS_NEXT_VERSION=2137
|
||||
########################################################################
|
||||
export PW_MANGOHUD=0
|
||||
export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt
|
||||
@ -21,7 +21,6 @@ export PW_WINEDBG_DISABLE="1"
|
||||
export PW_WINDOWS_VER="10"
|
||||
export WINEARCH="win64"
|
||||
export PW_LIBS_VER="_v33"
|
||||
export LG_SITE_URL="https://linux-gaming.ru/"
|
||||
export GDK_BACKEND="x11"
|
||||
export PW_USE_GSTREAMER="1"
|
||||
export PW_USE_D3D_EXTRAS="1"
|
||||
@ -35,7 +34,7 @@ export PW_WINE_USE="PROTON_LG"
|
||||
export PW_PLUGINS_VER="_v8"
|
||||
export PW_FAKE_DLSS_VER="051022"
|
||||
###WINE_PROTON_LG###
|
||||
export PW_LG_VER="7-31"
|
||||
export PW_LG_VER="7-32"
|
||||
export PW_PROTON_LG_VER="PROTON_LG_${PW_LG_VER}"
|
||||
###WINE_PROTON_GE###
|
||||
export PW_GE_VER="7-37"
|
||||
@ -66,7 +65,8 @@ add_in_stop_portwine ()
|
||||
echo " "
|
||||
}
|
||||
########################################################################
|
||||
pw_other_fixes () {
|
||||
pw_other_fixes ()
|
||||
{
|
||||
if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" ]] ; then
|
||||
#fix after installation Origin, for disabled OriginWebHelperService by default
|
||||
if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep -wm 1 "Origin.exe" | awk '{print $1}'` ]] ; then
|
||||
@ -74,15 +74,17 @@ pw_other_fixes () {
|
||||
sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg"
|
||||
fi
|
||||
#fix after installation PnkBstr*, for disabled PnkBstr* by default
|
||||
for fix_reg in "PnkBstrA.exe" "PnkBstrB.exe" ; do
|
||||
if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep -wm 1 "${fix_reg}" | awk '{print $1}'` ]] ; then
|
||||
sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep "${fix_reg}" | awk '{print $1}'` + 3)))
|
||||
if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep -wm 1 "PnkBstrA.exe" | awk '{print $1}'` ]] ; then
|
||||
sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep "PnkBstrA.exe" | awk '{print $1}'` + 3)))
|
||||
sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg"
|
||||
if [[ ! -z `cat "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep -wm 1 "PnkBstrB.exe" | awk '{print $1}'` ]] ; then
|
||||
sysreg_norig=$(((`cat -n "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg" | grep "PnkBstrB.exe" | awk '{print $1}'` + 3)))
|
||||
sed -i "${sysreg_norig}s/dword:0000000[1-2]/dword:00000003/" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/system.reg"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
#disabled silent autostart steam
|
||||
if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg" ]] ; then
|
||||
sed -i '/steam.exe\\" -silent"/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg"
|
||||
fi
|
||||
# if [[ -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg" ]] ; then
|
||||
# sed -i '/steam.exe\\" -silent"/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/user.reg"
|
||||
# fi
|
||||
}
|
||||
|
0
data_from_portwine/scripts/zen_yad_gui
Normal file → Executable file
0
data_from_portwine/scripts/zen_yad_gui
Normal file → Executable file
Reference in New Issue
Block a user