forked from CastroFidel/PortWINE
Fix error: start.exe
This commit is contained in:
parent
66d9182c3e
commit
366dcb42a7
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#Author: Аливэй
|
||||
#Ableton Live 11 Suite.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_WINDOWS_VER=10
|
7
data_from_portwine/scripts/portwine_db/BF2
Normal file
7
data_from_portwine/scripts/portwine_db/BF2
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#Author: Сергей 33 (46)
|
||||
#BF2.exe
|
||||
#Rating=4
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export PW_WINDOWS_VER="7"
|
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#Author:
|
||||
#bg3_dx11.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_DLL_INSTALL="d3dcompiler_43 d3dcompiler_47 vcrun2019"
|
||||
#export DXVK_HUD=1
|
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#Author:
|
||||
#bg3.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export LAUNCH_PARAMETERS=""
|
||||
#export MANGOHUD=1
|
11
data_from_portwine/scripts/portwine_db/Battle.net_Launcher
Normal file
11
data_from_portwine/scripts/portwine_db/Battle.net_Launcher
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
#Author: dez
|
||||
#Battle.net Launcher.exe
|
||||
#Battle.net-Setup.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_DLL_INSTALL="vcrun2019 arial"
|
||||
export PW_WINDOWS_VER=10
|
||||
export PW_NVAPI_DISABLE=1
|
@ -4,9 +4,9 @@
|
||||
#Rating=?
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export WINEDLLOVERRIDES="amd_ags_x64=n,b"
|
||||
#export WINEDLLOVERRIDES="amd_ags_x64=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.
|
||||
#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=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
#export PW_DXVK_NO_ASYNC=1
|
||||
#export PW_USE_TERMINAL=1
|
||||
@ -21,7 +21,7 @@ export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronizatio
|
||||
#export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
export PULSE_LATENCY_MSEC=60
|
||||
#export PW_DLL_INSTALL="foo bar"
|
||||
declare -a LAUNCH_PARAMETERS
|
||||
export LAUNCH_PARAMETERS=('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')
|
||||
export LAUNCH_PARAMETERS="+in_terminal 1 +com_skipIntroVideo 1 +com_skipSignInManager 1"
|
||||
#export PW_GUI_DISABLED_CS=1
|
||||
#export PW_DXGI_FROM_DXVK=1
|
||||
#export VK_ICD_FILENAMES="/opt/amdgpu/etc/vulkan/icd.d/amd_icd64.json"
|
||||
|
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#Author: MrModer#6697
|
||||
#DetroitBecomeHuman.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_FORCE_USE_VSYNC=0
|
||||
export PW_WINDOWS_VER="10"
|
||||
export PW_VIRTUAL_DESKTOP=1
|
31
data_from_portwine/scripts/portwine_db/Diablo_II
Normal file
31
data_from_portwine/scripts/portwine_db/Diablo_II
Normal file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
#Author: spider
|
||||
#Diablo II.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=0
|
||||
#####################examples###########################
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##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.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # 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_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
11
data_from_portwine/scripts/portwine_db/GTAIV
Normal file
11
data_from_portwine/scripts/portwine_db/GTAIV
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
#Author: lemonchic with help from Dezert1r
|
||||
#GTAIV.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_NO_ESYNC=1
|
||||
export PW_NO_FSYNC=1
|
||||
export LAUNCH_PARAMETERS="-nomemrestrict -norestrictions -percentvidmem 100 -availablevidmem 2048 -novblank" # Change -availablevidmem 2048 if you have less than 2 Gb video memory
|
||||
|
||||
##export RADV_DEBUG=nodcc # Enable if you have Big Navi videocard (Radeon RX 60xx)
|
10
data_from_portwine/scripts/portwine_db/HITMAN3
Normal file
10
data_from_portwine/scripts/portwine_db/HITMAN3
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
#Author: nixon
|
||||
#HITMAN3.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_DXGI_FROM_DXVK=1
|
||||
#export MANGOHUD=1
|
||||
#export PW_NVAPI_DISABLE=1 # for nvidia gpu
|
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#Author:
|
||||
#HellbladeGame.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
31
data_from_portwine/scripts/portwine_db/LOF2
Normal file
31
data_from_portwine/scripts/portwine_db/LOF2
Normal file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
#Author: mrm0der
|
||||
#LOF2.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
#####################examples###########################
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##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.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # 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_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
export PULSE_LATENCY_MSEC=120 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#Author: Aliway
|
||||
#Little Nightmares II.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_WINDOWS_VER=10
|
@ -3,5 +3,5 @@
|
||||
#Praest.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS="-dx11"
|
||||
|
7
data_from_portwine/scripts/portwine_db/Radmir_launcher
Normal file
7
data_from_portwine/scripts/portwine_db/Radmir_launcher
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#Author: MrModer
|
||||
#RADMIR_LAUNCHER.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=0
|
||||
export WINEDLLOVERRIDES="libglesv2="
|
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
#Author: Garrett
|
||||
#RockstarService.exe
|
||||
#Launcher.exe
|
||||
#LauncherPatcher.exe
|
||||
#Rating=?
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_DLL_INSTALL="arial vcrun2019"
|
||||
export PW_WINDOWS_VER=10
|
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#Author: Veil
|
||||
#Secrets Of Grindea.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_DLL_INSTALL="faudio"
|
32
data_from_portwine/scripts/portwine_db/Sirus Launcher
Normal file
32
data_from_portwine/scripts/portwine_db/Sirus Launcher
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
#Author: PortWINE-Linux.ru
|
||||
#Sirus Launcher.exe
|
||||
#Rating=4
|
||||
#####################examples###########################
|
||||
export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
|
||||
#####################examples###########################
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##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.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # 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_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#Author:
|
||||
#Enderal Launcher.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_WINDOWS_VER=7
|
8
data_from_portwine/scripts/portwine_db/XR_3DA
Normal file
8
data_from_portwine/scripts/portwine_db/XR_3DA
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#Author: merkli
|
||||
#XR_3DA.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=0
|
||||
export LAUNCH_PARAMETERS="-nointro -noprefetch" # -nointro command line option to skip intro movies
|
||||
# -noprefetch command line option to shorten load times
|
@ -3,6 +3,6 @@
|
||||
#avengers.exe
|
||||
#Rating=?
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_VULKAN_USE=vkd3d
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export WINEDLLOVERRIDES="amd_ags_x64=b"
|
||||
#export WINEDLLOVERRIDES="amd_ags_x64=b"
|
||||
|
8
data_from_portwine/scripts/portwine_db/gta_sa
Normal file
8
data_from_portwine/scripts/portwine_db/gta_sa
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
#Author:
|
||||
#gta_sa.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export PW_DLL_INSTALL="d3dx9 physx"
|
@ -0,0 +1,131 @@
|
||||
#!/bin/bash
|
||||
#Author: Ridbowt (Nikola P.)
|
||||
#Sources: https://www.gog.com/forum/medal_of_honor_series/moh_dont_start_on_linux/post2 + https://lutris.net/games/medal-of-honor-allied-assault-war-chest/ + https://www.playground.ru/medal_of_honor_allied_assault/cheat/medal_of_honor_allied_assault_sovet_lyuboe_razreshenie_dalnost_prorisovki_pole_obzora_fov_pravilnoe_otkrytie_vseh_medalej-816472
|
||||
#Comment: Резервные копии кофиг-файлов находятся в корне игры, в каталогах "/Medal of Honor/main/" + "/Medal of Honor/main/configs/", "/Medal of Honor/mainta/" + "/Medal of Honor/mainta/configs/", "/Medal of Honor/maintt/" + "/Medal of Honor/maintt/configs/". Чтобы восстановить исходные конфигурации - просто удалите в этих каталогах файлы newconfig.cfg и unnamedsoldier.cfg; после этого удалите расширение .bak у файлов newconfig.cfg.bak и unnamedsoldier.cfg.bak.
|
||||
#MOHAA.exe
|
||||
#moh_spearhead.exe
|
||||
#moh_breakthrough.exe
|
||||
#Rating=5
|
||||
################################################
|
||||
export PW_VULKAN_USE=0
|
||||
export LAUNCH_PARAMETERS=""
|
||||
export MESA_EXTENSION_MAX_YEAR=2002
|
||||
export __GL_ExtensionStringVersion=17700
|
||||
ADD_IN_START_PORTWINE ()
|
||||
{
|
||||
if [ ! -e "$PATH_TO_GAME/0_Proton_PW_MoHAA" ] ; then
|
||||
touch "$PATH_TO_GAME/0_Proton_PW_MoHAA" && mv "$PATH_TO_GAME/main/newconfig.cfg" "$PATH_TO_GAME/main/newconfig.cfg.bak" && mv "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg.bak" && mv "$PATH_TO_GAME/mainta/newconfig.cfg" "$PATH_TO_GAME/mainta/newconfig.cfg.bak" && mv "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg.bak" && mv "$PATH_TO_GAME/maintt/newconfig.cfg" "$PATH_TO_GAME/maintt/newconfig.cfg.bak" && mv "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg" "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg.bak" &&
|
||||
echo '//
|
||||
// Video Card Family: NVidia GeForce
|
||||
// Video Card Driver: NVIDIA GeForce GTX 760
|
||||
//
|
||||
// Mhz 1100
|
||||
// Vidmem 64
|
||||
// Sysmem 256
|
||||
//
|
||||
|
||||
seta com_maxfps "144"
|
||||
seta cg_drawviewmodel "2"
|
||||
seta cg_effectdetail "1.0"
|
||||
seta cg_marks_add "1"
|
||||
seta cg_max_tempmodels "1200"
|
||||
seta cg_rain "1"
|
||||
seta cg_reserve_tempmodels "240"
|
||||
seta cg_shadows "2"
|
||||
seta g_ddayfodderguys "2"
|
||||
seta g_ddayfog "0"
|
||||
seta g_ddayshingleguys "2"
|
||||
seta r_colorbits "32"
|
||||
seta r_drawstaticdecals "1"
|
||||
seta r_ext_compressed_textures "1"
|
||||
seta r_fastdlights "0"
|
||||
seta r_fastentlight "0"
|
||||
seta r_forceClampToEdge "1"
|
||||
seta r_lodcap "1.0"
|
||||
seta r_lodscale "1.1"
|
||||
seta r_lodviewmodelcap "1.0"
|
||||
seta r_maxmode "9"
|
||||
seta r_picmip "0"
|
||||
seta r_picmip_models "0"
|
||||
seta r_picmip_sky "0"
|
||||
seta r_subdivisions "1"
|
||||
seta r_texturebits "32"
|
||||
seta r_texturemode "GL_LINEAR_MIPMAP_LINEAR"
|
||||
seta r_vidmode1024 "0"
|
||||
seta r_vidmodemax "1"
|
||||
seta s_khz "44"
|
||||
seta ter_error "4"
|
||||
seta ter_maxlod "6"
|
||||
seta ter_maxtris "24576"
|
||||
seta vss_draw "1"
|
||||
seta vss_maxcount "15"
|
||||
' | tee "$PATH_TO_GAME/main/newconfig.cfg" | tee "$PATH_TO_GAME/mainta/newconfig.cfg" | tee "$PATH_TO_GAME/maintt/newconfig.cfg" >/dev/null &&
|
||||
echo '// generated by moh:aa do not modify
|
||||
//
|
||||
// Key Bindings
|
||||
//
|
||||
unbindall
|
||||
bind TAB "+scores"
|
||||
bind ESCAPE "togglemenu"
|
||||
bind SPACE "+moveup"
|
||||
bind 1 "useweaponclass pistol"
|
||||
bind 2 "useweaponclass rifle"
|
||||
bind 3 "useweaponclass smg"
|
||||
bind 4 "useweaponclass mg"
|
||||
bind 5 "useweaponclass grenade"
|
||||
bind 6 "useweaponclass heavy"
|
||||
bind 7 "toggleitem"
|
||||
bind ` "toggleconsole"
|
||||
bind a "+moveleft"
|
||||
bind c "+leanright"
|
||||
bind d "+moveright"
|
||||
bind e "+use"
|
||||
bind h "weapdrop"
|
||||
bind p "pushmenu_weaponselect"
|
||||
bind q "holster"
|
||||
bind r "reload"
|
||||
bind s "+back"
|
||||
bind t "sayteam"
|
||||
bind u "pushmenu_teamselect"
|
||||
bind v "instamsg_main"
|
||||
bind w "+forward"
|
||||
bind y "say"
|
||||
bind z "+leanleft"
|
||||
bind PAUSE "pause"
|
||||
bind LCTRL "+movedown"
|
||||
bind LSHIFT "+speed"
|
||||
bind F2 "ui_getplayermodel;pushmenu_dm mpoptions"
|
||||
bind F3 "pushmenu Controls"
|
||||
bind F4 "pushmenu_sp LoadSave"
|
||||
bind F5 "savegame quick"
|
||||
bind F6 "messagemode"
|
||||
bind F9 "loadgame quick"
|
||||
bind F12 "screenshot"
|
||||
bind MOUSE1 "+attackprimary"
|
||||
bind MOUSE2 "+attacksecondary"
|
||||
bind MWHEELDOWN "weapprev"
|
||||
bind MWHEELUP "weapnext"
|
||||
//
|
||||
// Cvars
|
||||
//
|
||||
seta ui_console "1"
|
||||
seta r_mode "-1"
|
||||
seta r_customWidth "1920"
|
||||
seta r_customHeight "1080"
|
||||
seta s_milesdriver "Miles Fast 2D Positional Audio"
|
||||
seta r_gamma "1.000000"
|
||||
seta r_lastValidRenderer "GeForce GTX 760/PCIe/SSE2"
|
||||
seta sensitivity "10.750000"
|
||||
seta s_volume "0.900000"
|
||||
seta s_musicvolume "0.900000"
|
||||
seta vss_maxcount "10"
|
||||
seta r_texturemode "gl_linear_mipmap_linear"
|
||||
seta developer "1"
|
||||
//
|
||||
// Aliases
|
||||
//
|
||||
' | tee "$PATH_TO_GAME/main/configs/unnamedsoldier.cfg" | tee "$PATH_TO_GAME/mainta/configs/unnamedsoldier.cfg" | tee "$PATH_TO_GAME/maintt/configs/unnamedsoldier.cfg" >/dev/null
|
||||
else
|
||||
true
|
||||
fi
|
||||
}
|
@ -6,3 +6,4 @@
|
||||
export PW_VULKAN_USE=dxvk #dxvk, vkd3d or 0 for OpenGL
|
||||
#export PW_DLL_INSTALL="" # Install DDL in port prefix (used winetricks)
|
||||
export LAUNCH_PARAMETERS="--disable-gpu" # Additional launch options
|
||||
export PW_USE_TERMINAL=1
|
32
data_from_portwine/scripts/portwine_db/wotblitz
Normal file
32
data_from_portwine/scripts/portwine_db/wotblitz
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
#Author: chal55rus
|
||||
#wotblitz.exe
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=dxvk
|
||||
export PW_DLL_INSTALL="vcrun2013 vcrun2017 dotnet472"
|
||||
#####################examples###########################
|
||||
##export PW_VULKAN_USE=dxvk # dxvk, vkd3d or 0 for OpenGL
|
||||
##export WINEDLLOVERRIDES="blabla=n,b"
|
||||
##export PW_DLL_INSTALL="vcrun2019 vcrun6" # Install DDL in port prefix (used winetricks)
|
||||
##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.
|
||||
##export PW_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives
|
||||
##export PW_DXVK_NO_ASYNC=1 # Disabled ASYNC for VULKAN
|
||||
##export PW_USE_TERMINAL=0 # Force run in terminal
|
||||
##export PW_OLD_GL_STRING=0
|
||||
##export PW_NVAPI_DISABLE=1
|
||||
##export PW_VKD3D_FEATURE_LEVEL=0
|
||||
##export PW_NO_WRITE_WATCH=0 # 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_HIDE_NVIDIA_GPU=0
|
||||
##export PW_FORCE_USE_VSYNC=2 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
|
||||
##export PW_WINEDBG_DISABLE=1 # Disabled WINEDBG
|
||||
##export PW_FORCE_DISABLED_GAMEMOD=0 # Force disabele gamemod
|
||||
##export PW_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
|
||||
##export PULSE_LATENCY_MSEC=60 # Fix crackling audio in games
|
||||
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')" # Additional launch options
|
||||
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
|
||||
##export VKD3D_CONFIG=force_bindless_texel_buffer
|
||||
##export PW_WINDOWS_VER=10 # Set windows version 10, 7 or XP
|
||||
##export PW_VIRTUAL_DESKTOP=1
|
||||
##ADD_IN_START_PORTWINE () { commands ; }
|
File diff suppressed because it is too large
Load Diff
@ -5,215 +5,199 @@ if [ -f "$1" ]; then
|
||||
fi
|
||||
. "$(dirname $(readlink -f "$0"))/runlib"
|
||||
PW_SCRIPTS_UPDATE
|
||||
########################################################################
|
||||
PORTWINE_LAUNCH ()
|
||||
{
|
||||
KILL_PORTWINE
|
||||
START_PORTWINE
|
||||
PORTWINE_MSI=`basename "${portwine_exe}" | grep .msi`
|
||||
PORTWINE_BAT=`basename "${portwine_exe}" | grep .bat`
|
||||
if [ ! -z "${PW_VIRTUAL_DESKTOP}" ] && [ "${PW_VIRTUAL_DESKTOP}" == "1" ] ; then
|
||||
pw_screen_resolution=`xrandr --current | grep "*" | awk '{print $1;}' | head -1`
|
||||
PW_RUN explorer "/desktop=portwine,${pw_screen_resolution}" "$portwine_exe"
|
||||
elif [ ! -z "${PORTWINE_MSI}" ]; then
|
||||
echo "PORTWINE_MSI=${PORTWINE_MSI}"
|
||||
PW_RUN msiexec /i "$portwine_exe"
|
||||
elif [ ! -z "${PORTWINE_BAT}" ]; then
|
||||
echo "PORTWINE_BAT=${PORTWINE_BAT}"
|
||||
PW_RUN explorer "$portwine_exe"
|
||||
elif [ ! -z "${portwine_exe}" ]; then
|
||||
PW_RUN "$portwine_exe"
|
||||
elif [ -z "${gamestart}" ]; then
|
||||
PW_RUN explorer
|
||||
else
|
||||
PW_RUN "${gamestart}"
|
||||
fi
|
||||
}
|
||||
########################################################################
|
||||
PORTWINE_CREATE_SHORTCUT ()
|
||||
{
|
||||
if [ ! -z "${portwine_exe}" ]; then
|
||||
PORTPROTON_EXE="${portwine_exe}"
|
||||
else
|
||||
PORTPROTON_EXE=$(zenity --file-selection --file-filter=""*.exe" "*.bat"" \
|
||||
--title="${sc_path}" --filename="${PORT_WINE_PATH}/data/pfx/drive_c/")
|
||||
if [ $? -eq 1 ];then exit 1; fi
|
||||
fi
|
||||
PORTPROTON_NAME="$(basename "${PORTPROTON_EXE}" | sed s/".exe"/""/gi )"
|
||||
PORTPROTON_PATH="$( cd "$( dirname "${PORTPROTON_EXE}" )" >/dev/null 2>&1 && pwd )"
|
||||
if [ -x "`which wrestool 2>/dev/null`" ]; then
|
||||
wrestool -x --output="${PORTPROTON_PATH}/" -t14 "${PORTPROTON_EXE}"
|
||||
cp "$(ls -S -1 "${PORTPROTON_EXE}"*".ico" | head -n 1)" "${PORTPROTON_EXE}.ico"
|
||||
cp -f "${PORTPROTON_EXE}.ico" "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.ico"
|
||||
rm -f "${PORTPROTON_PATH}/"*.ico
|
||||
fi
|
||||
if [ $? -eq 1 ] ; then exit 1 ; fi
|
||||
export PW_VULKAN_TO_DB=`cat "${PORT_WINE_TMP_PATH}/pw_vulkan"`
|
||||
if [ ! -z "${PORTWINE_DB}" ]; then
|
||||
PORTWINE_DB_FILE=`grep -il "${PORTWINE_DB}" "${PORT_SCRIPTS_PATH}/portwine_db"/* | sed s/".exe"/""/gi`
|
||||
if [ ! -z "${PORTWINE_DB_FILE}" ] && [ -z "${PW_VULKAN_USE}" ]; then
|
||||
echo "export PW_VULKAN_USE=${PW_VULKAN_TO_DB}" >> "${PORTWINE_DB_FILE}"
|
||||
elif [ -z "${PORTWINE_DB_FILE}" ]; then
|
||||
echo "#!/bin/bash
|
||||
#Author: "${USER}"
|
||||
#"${PORTWINE_DB}.exe"
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=${PW_VULKAN_TO_DB}" > "${PORT_SCRIPTS_PATH}/portwine_db/$PORTWINE_DB"
|
||||
fi
|
||||
cat "${PORT_SCRIPTS_PATH}/portwine_db/default" | grep "##" >> "${PORT_SCRIPTS_PATH}/portwine_db/$PORTWINE_DB"
|
||||
fi
|
||||
name_desktop="${PORTPROTON_NAME}"
|
||||
echo "[Desktop Entry]" > "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Name=${PORTPROTON_NAME}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Exec=env PW_GUI_DISABLED_CS=1 "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${PORTPROTON_EXE}\" "" \
|
||||
>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Type=Application" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Categories=Game" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "StartupNotify=true" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Path="${PORT_SCRIPTS_PATH}/"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Icon="${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.ico"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
`zenity --question --title "${inst_set}." --text "${ss_done}" --no-wrap ` > /dev/null 2>&1
|
||||
if [ $? -eq "0" ]; then
|
||||
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" /home/${USER}/.local/share/applications/
|
||||
fi
|
||||
xdg-open "${PORT_WINE_PATH}" 2>1 >/dev/null &
|
||||
}
|
||||
########################################################################
|
||||
PORTWINE_DEBUG ()
|
||||
{
|
||||
KILL_PORTWINE
|
||||
export PW_LOG=1
|
||||
export PW_WINEDBG_DISABLE=0
|
||||
export PW_XTERM="${WINELIB}/amd64/usr/bin/xterm -l -lf ${PORT_WINE_PATH}/${portname}.log.wine -geometry 159x37 -e"
|
||||
START_PORTWINE
|
||||
echo "${port_deb1}" > "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "${port_deb2}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "GLIBC version:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "echo $(ldd --version)" | grep ldd >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "PortWINE version:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
read install_ver < "${PORT_WINE_TMP_PATH}/${portname}_ver"
|
||||
echo "${portname}-${install_ver}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "var_pw_vulkan = ${var_pw_vulkan}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Date and time of start debug for ${portname}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
date >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-----------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "The installation path of the ${portname}:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "$PORT_WINE_PATH" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "----------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Operating system" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
lsb_release -d | sed s/Description/ОС/g >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Desktop Environment" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "$DESKTOP_SESSION" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "${XDG_CURRENT_DESKTOP}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Kernel" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
uname -r >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "CPU" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
cat /proc/cpuinfo | grep "model name" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "RAM" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
free -m >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-----------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Graphic cards and drivers" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"${WINELIB}/amd64/usr/bin/glxinfo" -B >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "----------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Vulkan info device name:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"${WINELIB}/amd64/usr/bin/vulkaninfo" | grep deviceName >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"${WINELIB}/amd64/usr/bin/vkcube" --c 50
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Vulkan cube test passed successfully" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
else
|
||||
echo "Vkcube test completed with error" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
fi
|
||||
echo "---------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
if [ ! -x "`which gamemoderun 2>/dev/null`" ]
|
||||
then
|
||||
echo "!!!gamemod not found!!!" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
fi
|
||||
echo "--------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Version WINE in the Port" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"$WINELOADER" --version 2>&1 | tee -a "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "log WINE:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
|
||||
export DXVK_HUD="full"
|
||||
export PW_XTERM="${WINELIB}/amd64/usr/bin/xterm -l -lf ${PORT_WINE_PATH}/${portname}.log.wine -geometry 159x37 -e"
|
||||
PORTWINE_LAUNCH () {
|
||||
KILL_PORTWINE
|
||||
START_PORTWINE
|
||||
PORTWINE_MSI=`basename "${portwine_exe}" | grep .msi`
|
||||
PORTWINE_BAT=`basename "${portwine_exe}" | grep .bat`
|
||||
if [ ! -z "${PW_VIRTUAL_DESKTOP}" ] && [ "${PW_VIRTUAL_DESKTOP}" == "1" ] ; then
|
||||
pw_screen_resolution=`xrandr --current | grep "*" | awk '{print $1;}' | head -1`
|
||||
PW_RUN explorer "/desktop=portwine,${pw_screen_resolution}" "$portwine_exe"
|
||||
elif [ ! -z "${PORTWINE_MSI}" ]; then
|
||||
echo "PORTWINE_MSI=${PORTWINE_MSI}"
|
||||
PW_RUN msiexec /i "$portwine_exe"
|
||||
elif [ ! -z "${PORTWINE_BAT}" ]; then
|
||||
echo "PORTWINE_BAT=${PORTWINE_BAT}"
|
||||
PW_RUN explorer "$portwine_exe"
|
||||
elif [ ! -z "${portwine_exe}" ]; then
|
||||
PW_RUN "$portwine_exe"
|
||||
elif [ -z "${gamestart}" ]; then
|
||||
PW_RUN explorer
|
||||
else
|
||||
PW_RUN "${gamestart}"
|
||||
fi
|
||||
}
|
||||
PORTWINE_CREATE_SHORTCUT () {
|
||||
if [ ! -z "${portwine_exe}" ]; then
|
||||
PORTPROTON_EXE="${portwine_exe}"
|
||||
else
|
||||
PORTPROTON_EXE=$(zenity --file-selection --file-filter=""*.exe" "*.bat"" \
|
||||
--title="${sc_path}" --filename="${PORT_WINE_PATH}/data/pfx/drive_c/")
|
||||
if [ $? -eq 1 ];then exit 1; fi
|
||||
fi
|
||||
PORTPROTON_NAME="$(basename "${PORTPROTON_EXE}" | sed s/".exe"/""/gi )"
|
||||
PORTPROTON_PATH="$( cd "$( dirname "${PORTPROTON_EXE}" )" >/dev/null 2>&1 && pwd )"
|
||||
if [ -x "`which wrestool 2>/dev/null`" ]; then
|
||||
wrestool -x --output="${PORTPROTON_PATH}/" -t14 "${PORTPROTON_EXE}"
|
||||
cp "$(ls -S -1 "${PORTPROTON_EXE}"*".ico" | head -n 1)" "${PORTPROTON_EXE}.ico"
|
||||
cp -f "${PORTPROTON_EXE}.ico" "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.ico"
|
||||
rm -f "${PORTPROTON_PATH}/"*.ico
|
||||
fi
|
||||
if [ $? -eq 1 ] ; then exit 1 ; fi
|
||||
export PW_VULKAN_TO_DB=`cat "${PORT_WINE_TMP_PATH}/pw_vulkan"`
|
||||
if [ ! -z "${PORTWINE_DB}" ]; then
|
||||
PORTWINE_DB_FILE=`grep -il "${PORTWINE_DB}" "${PORT_SCRIPTS_PATH}/portwine_db"/* | sed s/".exe"/""/gi`
|
||||
if [ ! -z "${PORTWINE_DB_FILE}" ] && [ -z "${PW_VULKAN_USE}" ]; then
|
||||
echo "export PW_VULKAN_USE=${PW_VULKAN_TO_DB}" >> "${PORTWINE_DB_FILE}"
|
||||
elif [ -z "${PORTWINE_DB_FILE}" ]; then
|
||||
echo "#!/bin/bash
|
||||
#Author: "${USER}"
|
||||
#"${PORTWINE_DB}.exe"
|
||||
#Rating=1-5
|
||||
################################################
|
||||
export PW_VULKAN_USE=${PW_VULKAN_TO_DB}" > "${PORT_SCRIPTS_PATH}/portwine_db/$PORTWINE_DB"
|
||||
fi
|
||||
cat "${PORT_SCRIPTS_PATH}/portwine_db/default" | grep "##" >> "${PORT_SCRIPTS_PATH}/portwine_db/$PORTWINE_DB"
|
||||
fi
|
||||
name_desktop="${PORTPROTON_NAME}"
|
||||
echo "[Desktop Entry]" > "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Name=${PORTPROTON_NAME}" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Exec=env PW_GUI_DISABLED_CS=1 "\"${PORT_SCRIPTS_PATH}/start.sh\" \"${PORTPROTON_EXE}\" "" \
|
||||
>> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Type=Application" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Categories=Game" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "StartupNotify=true" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Path="${PORT_SCRIPTS_PATH}/"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
echo "Icon="${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.ico"" >> "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
|
||||
`zenity --question --title "${inst_set}." --text "${ss_done}" --no-wrap ` > /dev/null 2>&1
|
||||
if [ $? -eq "0" ]; then
|
||||
cp -f "${PORT_WINE_PATH}/${name_desktop}.desktop" /home/${USER}/.local/share/applications/
|
||||
fi
|
||||
xdg-open "${PORT_WINE_PATH}" 2>1 >/dev/null &
|
||||
}
|
||||
PORTWINE_DEBUG () {
|
||||
KILL_PORTWINE
|
||||
export PW_LOG=1
|
||||
export PW_WINEDBG_DISABLE=0
|
||||
export PW_XTERM="${WINELIB}/amd64/usr/bin/xterm -l -lf ${PORT_WINE_PATH}/${portname}.log.wine -geometry 159x37 -e"
|
||||
START_PORTWINE
|
||||
echo "${port_deb1}" > "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "${port_deb2}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "GLIBC version:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "echo $(ldd --version)" | grep ldd >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "PortWINE version:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
read install_ver < "${PORT_WINE_TMP_PATH}/${portname}_ver"
|
||||
echo "${portname}-${install_ver}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "var_pw_vulkan = ${var_pw_vulkan}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Date and time of start debug for ${portname}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
date >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-----------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "The installation path of the ${portname}:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "$PORT_WINE_PATH" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "----------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Operating system" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
lsb_release -d | sed s/Description/ОС/g >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Desktop Environment" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "$DESKTOP_SESSION" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "${XDG_CURRENT_DESKTOP}" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "--------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Kernel" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
uname -r >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "CPU" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
cat /proc/cpuinfo | grep "model name" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "RAM" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
free -m >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-----------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Graphic cards and drivers" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"${WINELIB}/amd64/usr/bin/glxinfo" -B >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "----------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Vulkan info device name:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"${WINELIB}/amd64/usr/bin/vulkaninfo" | grep deviceName >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"${WINELIB}/amd64/usr/bin/vkcube" --c 50
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Vulkan cube test passed successfully" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
else
|
||||
echo "Vkcube test completed with error" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
fi
|
||||
echo "---------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
if [ ! -x "`which gamemoderun 2>/dev/null`" ]
|
||||
then
|
||||
echo "!!!gamemod not found!!!" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
fi
|
||||
echo "--------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "Version WINE in the Port" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
"$WINELOADER" --version 2>&1 | tee -a "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "-------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "log WINE:" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
|
||||
try_remove_file "${PORT_WINE_PATH}/${portname}.log.wine"
|
||||
if [ ! -z "${portwine_exe}" ]; then
|
||||
export PATH_TO_GAME="$( cd "$( dirname "${portwine_exe}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd "$PATH_TO_GAME"
|
||||
if [ ! -z ${optirun_on} ]; then
|
||||
$PW_XTERM "${WINELOADER}" ${optirun_on} "$portwine_exe" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
else
|
||||
$PW_XTERM "${WINELOADER}" "$portwine_exe" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
fi
|
||||
elif [ -z "${gamestart}" ]; then
|
||||
if [ ! -z $optirun_on ]; then
|
||||
$PW_XTERM "${WINELOADER}" ${optirun_on} explorer 2>&1 &
|
||||
else
|
||||
$PW_XTERM "${WINELOADER}" explorer 2>&1 &
|
||||
fi
|
||||
else
|
||||
export PATH_TO_GAME="$( cd "$( dirname "${gamestart}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd "$PATH_TO_GAME"
|
||||
if [ ! -z $optirun_on ]; then
|
||||
${optirun_on} $PW_XTERM "${PW_RUNTIME}" "${WINELOADER}" "${gamestart}" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
else
|
||||
$PW_XTERM "${PW_RUNTIME}" "${WINELOADER}" "${gamestart}" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
fi
|
||||
fi
|
||||
export DXVK_HUD="full"
|
||||
export PW_XTERM="${WINELIB}/amd64/usr/bin/xterm -l -lf ${PORT_WINE_PATH}/${portname}.log.wine -geometry 159x37 -e"
|
||||
|
||||
zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap && "${WINESERVER}" -k
|
||||
STOP_PORTWINE | sszen
|
||||
cat "${PORT_WINE_PATH}/${portname}.log.wine" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
try_remove_file "${PORT_WINE_PATH}/${portname}.log.wine"
|
||||
deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log" | awk '! a[$0]++')
|
||||
echo "$deb_text" > "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "$deb_text" | zenity --text-info --editable --width=800 --height=600 --title="${portname}.log"
|
||||
try_remove_file "${PORT_WINE_PATH}/${portname}.log.wine"
|
||||
if [ ! -z "${portwine_exe}" ]; then
|
||||
export PATH_TO_GAME="$( cd "$( dirname "${portwine_exe}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd "$PATH_TO_GAME"
|
||||
if [ ! -z ${optirun_on} ]; then
|
||||
${optirun_on} $PW_XTERM "${WINELOADER}" explorer "$portwine_exe" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
else
|
||||
$PW_XTERM "${WINELOADER}" explorer "$portwine_exe" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
fi
|
||||
elif [ -z "${gamestart}" ]; then
|
||||
if [ ! -z $optirun_on ]; then
|
||||
${optirun_on} $PW_XTERM "${WINELOADER}" explorer 2>&1 &
|
||||
else
|
||||
$PW_XTERM "${WINELOADER}" explorer 2>&1 &
|
||||
fi
|
||||
else
|
||||
export PATH_TO_GAME="$( cd "$( dirname "${gamestart}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd "$PATH_TO_GAME"
|
||||
if [ ! -z $optirun_on ]; then
|
||||
${optirun_on} $PW_XTERM "${PW_RUNTIME}" "${WINELOADER}" explorer "${gamestart}" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
else
|
||||
$PW_XTERM "${PW_RUNTIME}" "${WINELOADER}" explorer "${gamestart}" ${LAUNCH_PARAMETERS} 2>&1 &
|
||||
fi
|
||||
fi
|
||||
|
||||
zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap && "${WINESERVER}" -k
|
||||
STOP_PORTWINE | sszen
|
||||
cat "${PORT_WINE_PATH}/${portname}.log.wine" >> "${PORT_WINE_PATH}/${portname}.log"
|
||||
try_remove_file "${PORT_WINE_PATH}/${portname}.log.wine"
|
||||
deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log" | awk '! a[$0]++')
|
||||
echo "$deb_text" > "${PORT_WINE_PATH}/${portname}.log"
|
||||
echo "$deb_text" | zenity --text-info --editable --width=800 --height=600 --title="${portname}.log"
|
||||
}
|
||||
########################################################################
|
||||
PW_WINECFG ()
|
||||
{
|
||||
START_PORTWINE
|
||||
PW_RUN winecfg
|
||||
PW_WINECFG () {
|
||||
START_PORTWINE
|
||||
PW_RUN winecfg
|
||||
}
|
||||
########################################################################
|
||||
PW_WINEFILE ()
|
||||
{
|
||||
START_PORTWINE
|
||||
PW_RUN "explorer"
|
||||
PW_WINEFILE () {
|
||||
START_PORTWINE
|
||||
PW_RUN "explorer"
|
||||
}
|
||||
########################################################################
|
||||
PW_WINECMD ()
|
||||
{
|
||||
export PW_USE_TERMINAL=1
|
||||
START_PORTWINE
|
||||
PW_RUN "cmd"
|
||||
PW_WINECMD () {
|
||||
export PW_USE_TERMINAL=1
|
||||
START_PORTWINE
|
||||
PW_RUN "cmd"
|
||||
}
|
||||
########################################################################
|
||||
PW_WINEREG ()
|
||||
{
|
||||
START_PORTWINE
|
||||
PW_RUN "regedit"
|
||||
PW_WINEREG () {
|
||||
START_PORTWINE
|
||||
PW_RUN "regedit"
|
||||
}
|
||||
########################################################################
|
||||
PW_WINETRICKS ()
|
||||
{
|
||||
UPDATE_WINETRICKS
|
||||
export PW_USE_TERMINAL=1
|
||||
START_PORTWINE
|
||||
$PW_TERM "${PW_RUNTIME}" "${PORT_WINE_TMP_PATH}/winetricks" -q --force
|
||||
PW_WINETRICKS () {
|
||||
UPDATE_WINETRICKS
|
||||
export PW_USE_TERMINAL=1
|
||||
START_PORTWINE
|
||||
$PW_TERM "${PW_RUNTIME}" "${PORT_WINE_TMP_PATH}/winetricks" -q --force
|
||||
}
|
||||
########################################################################
|
||||
if [ ! -z "${portwine_exe}" ]; then
|
||||
if [ -z "${PW_GUI_DISABLED_CS}" ] || [ "${PW_GUI_DISABLED_CS}" = 0 ] ; then
|
||||
if [ ! -z "${PORTWINE_DB_FILE}" ] && [ ! -z "${PW_VULKAN_USE}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user