forked from CastroFidel/PortWINE
Scripts version 2137
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user