print_info "Download and install D8VK v.${D8VK_VER}"
if try_download "https://github.com/Castro-Fidel/vulkan/releases/download/d8vk-${D8VK_VER}/d8vk-${D8VK_VER}.tar.xz""${PW_VULKAN_DIR}/d8vk-${D8VK_VER}.tar.xz";then
if try_download "https://github.com/Castro-Fidel/vulkan/releases/download/d8vk-${D8VK_VER}/d8vk-${D8VK_VER}.tar.xz"\
"${PW_VULKAN_DIR}/d8vk-${D8VK_VER}.tar.xz"
then
if unpack_tar_xz "${PW_VULKAN_DIR}/d8vk-${D8VK_VER}.tar.xz""${PW_VULKAN_DIR}";then
if curl -f-s--list-only--connect-timeout 3 "https://gitlab.eterfund.ru/Castro-Fidel/PortWINE/raw/master/data_from_portwine/scripts/var">"${PORT_WINE_TMP_PATH}/curent_var_ver"
if try_download "${W_TRX_URL}""${PORT_WINE_TMP_PATH}/winetricks" no_mirror ;then
W_TRX_INT_VER="$(cat"${PORT_WINE_TMP_PATH}/winetricks" | grep-i'WINETRICKS_VERSION=' | sed's/WINETRICKS_VERSION=//')"&& print_info "Winetricks version in port has been updated (${W_TRX_INT_VER})"
--text="\n$(eval_gettext "Choose the .exe file for which you need to create a shortcut and click OK.\n")"--column="path to .exe file:"${FIND_TO_GUI} 2>/dev/null)"
local ENABLE_VKBASALT_INFO=$(eval_gettext 'Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)')
local PW_NO_ESYNC_INFO=$(eval_gettext 'Do not use in-process synchronization primitives based on eventfd. (It is recommended not to change the value.)')
local PW_NO_FSYNC_INFO=$(eval_gettext 'Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems without FUTEX_WAIT_MULTIPLE support) (It is recommended not to change the value)')
local PW_USE_RAY_TRACING_INFO=$(eval_gettext 'Enable vkd3d support - Ray Tracing')
local PW_FIX_VIDEO_IN_GAME_INFO=$(eval_gettext 'Required for video playback in some games so that it is not distorted (usually colored pink)')
local PW_VULKAN_NO_ASYNC_INFO=$(eval_gettext 'Disable asynchronous calls for VULKAN and DXVK modes')
local PW_USE_NVAPI_AND_DLSS_INFO=$(eval_gettext 'Enable DLSS on supported NVIDIA graphics cards')
local PW_OLD_GL_STRING_INFO=$(eval_gettext 'Forced use of older versions of OpenGL')
local PW_HIDE_NVIDIA_GPU_INFO=$(eval_gettext 'Disguise all features used for NVIDIA graphics cards')
local PW_FORCE_USE_VSYNC_INFO=$(eval_gettext 'Forced activation of vertical sync')
local PW_VIRTUAL_DESKTOP_INFO=$(eval_gettext 'Enable the application to run in the WINE virtual desktop')
local PW_USE_TERMINAL_INFO=$(eval_gettext 'Run the application in the terminal')
local PW_HEAP_DELAY_FREE_INFO=$(eval_gettext 'Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released')
local PW_NO_WRITE_WATCH_INFO=$(eval_gettext 'A very dangerous way to hack the memory write timer in ntdll. This improves the performance of some very specific games. (It is recommended not to change the value.)')
local PW_GUI_DISABLED_CS_INFO=$(eval_gettext 'Disable the window for selecting startup modes and WINE versions')
local PW_USE_GSTREAMER_INFO=$(eval_gettext 'Use Gstreamer to output clips in games (WMF support)')
local PW_FORCE_LARGE_ADDRESS_AWARE_INFO=$(eval_gettext 'Increases RAM usage limits for 32-bit applications from two to four gigabytes')
local PW_USE_RUNTIME_INFO=$(eval_gettext 'Use container launch mode (It is recommended not to change the value)')
local PW_MANGOHUD_INFO=$(eval_gettext 'Using FPS and system load monitoring (Turns on and off by the key combination - right Shift + F12)')
local PW_USE_GAMEMODE_INFO=$(eval_gettext 'Using automatic system optimization to improve performance in games (provided the gamemode package is installed on the system)')
local PW_USE_WINE_DXGI_INFO=$(eval_gettext 'Forced use of built-in DXGI library (in rare cases it solves problems with DX12 games)')
local PW_MANGOHUD_USER_CONF_INFO=$(eval_gettext 'Forced use of MANGOHUD system settings (GOverlay, etc.)')
local PW_VKBASALT_USER_CONF_INFO=$(eval_gettext 'Forced use of VKBASALT system settings (GOverlay, etc.)')
local PW_USE_D3D_EXTRAS_INFO=$(eval_gettext 'Enable forced use of third-party DirectX libraries')
local PW_USE_WINDOWS_7_INFO=$(eval_gettext 'Change the version of WINDOWS 10 to WINDOWS 7 in the prefix')
local PW_USE_SHADER_CACHE_INFO=$(eval_gettext 'Use WINE shader caching (disable only if there are microfreezes in the game)')
local PW_WINE_FULLSCREEN_FSR_INFO=$(eval_gettext 'Works while using any version of ProtonGE in full screen mode at a resolution below the standard screen')
local PW_USE_FAKE_DLSS_INFO=$(eval_gettext 'Enable DLSS translator in FSR 2 in DirectX 12 games (CyberFSR2)')
local PW_USE_FAKE_DLSS_3_INFO=$(eval_gettext 'Enable DLSS translator in FSR 3 in DirectX 12 games (Experimental project dlssg-to-fsr3)')
local PW_USE_EAC_AND_BE_INFO=$(eval_gettext 'Enable Easy Anti-Cheat and BattlEye Anti-Cheat runtimes (required if game used this anti-cheats)')
local PW_REDUCE_PULSE_LATENCY_INFO=$(eval_gettext 'Reduce pulseaudio latency to fix intermittent sound')
local PW_USE_US_LAYOUT_INFO=$(eval_gettext 'Forced use of the us layout (useful for games in which the control works correctly only on the us layout)')
local PW_RESTORE_RESOLUTION_INFO=$(eval_gettext 'Remember the screen resolution when starting the game and return it when closing (useful for games that change the screen resolution when closing)')
local PW_USE_SYSTEM_VK_LAYERS_INFO=$(eval_gettext 'Use system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers')
local PW_USE_OBS_VKCAPTURE_INFO=$(eval_gettext 'Enable the ability to write to OBS Studio using obs-vkcapture (ATTENTION: the forced use of system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers will be enabled)')
local PW_USE_GALLIUM_ZINK_INFO=$(eval_gettext 'Use the zink driver (OpenGL on top of Vulkan), allows you to use vkBasalt in OpenGL games (ATTENTION: vulkan support is required, wined3d (opengl) is used instead of dxvk, suitable for games on OpenGL and older versions of DirectX, artifacts are possible on newer versions of DirectX)')
local PW_DISABLE_COMPOSITING_INFO=$(eval_gettext 'Disable desktop compositing (effects). It often improves performance.')
local PW_USE_GAMESCOPE_INFO=$(eval_gettext "
ENABLE_VKBASALT_INFO=$(eval_gettext 'Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)')
PW_NO_ESYNC_INFO=$(eval_gettext 'Do not use in-process synchronization primitives based on eventfd. (It is recommended not to change the value.)')
PW_NO_FSYNC_INFO=$(eval_gettext 'Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems without FUTEX_WAIT_MULTIPLE support) (It is recommended not to change the value)')
PW_USE_RAY_TRACING_INFO=$(eval_gettext 'Enable vkd3d support - Ray Tracing')
PW_FIX_VIDEO_IN_GAME_INFO=$(eval_gettext 'Required for video playback in some games so that it is not distorted (usually colored pink)')
PW_VULKAN_NO_ASYNC_INFO=$(eval_gettext 'Disable asynchronous calls for VULKAN and DXVK modes')
PW_USE_NVAPI_AND_DLSS_INFO=$(eval_gettext 'Enable DLSS on supported NVIDIA graphics cards')
PW_OLD_GL_STRING_INFO=$(eval_gettext 'Forced use of older versions of OpenGL')
PW_HIDE_NVIDIA_GPU_INFO=$(eval_gettext 'Disguise all features used for NVIDIA graphics cards')
PW_FORCE_USE_VSYNC_INFO=$(eval_gettext 'Forced activation of vertical sync')
PW_VIRTUAL_DESKTOP_INFO=$(eval_gettext 'Enable the application to run in the WINE virtual desktop')
PW_USE_TERMINAL_INFO=$(eval_gettext 'Run the application in the terminal')
PW_HEAP_DELAY_FREE_INFO=$(eval_gettext 'Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released')
PW_NO_WRITE_WATCH_INFO=$(eval_gettext 'A very dangerous way to hack the memory write timer in ntdll. This improves the performance of some very specific games. (It is recommended not to change the value.)')
PW_GUI_DISABLED_CS_INFO=$(eval_gettext 'Disable the window for selecting startup modes and WINE versions')
PW_USE_GSTREAMER_INFO=$(eval_gettext 'Use Gstreamer to output clips in games (WMF support)')
PW_FORCE_LARGE_ADDRESS_AWARE_INFO=$(eval_gettext 'Increases RAM usage limits for 32-bit applications from two to four gigabytes')
PW_USE_RUNTIME_INFO=$(eval_gettext 'Use container launch mode (It is recommended not to change the value)')
PW_MANGOHUD_INFO=$(eval_gettext 'Using FPS and system load monitoring (Turns on and off by the key combination - right Shift + F12)')
PW_USE_GAMEMODE_INFO=$(eval_gettext 'Using automatic system optimization to improve performance in games (provided the gamemode package is installed on the system)')
PW_USE_WINE_DXGI_INFO=$(eval_gettext 'Forced use of built-in DXGI library (in rare cases it solves problems with DX12 games)')
PW_MANGOHUD_USER_CONF_INFO=$(eval_gettext 'Forced use of MANGOHUD system settings (GOverlay, etc.)')
PW_VKBASALT_USER_CONF_INFO=$(eval_gettext 'Forced use of VKBASALT system settings (GOverlay, etc.)')
PW_USE_D3D_EXTRAS_INFO=$(eval_gettext 'Enable forced use of third-party DirectX libraries')
PW_USE_WINDOWS_7_INFO=$(eval_gettext 'Change the version of WINDOWS 10 to WINDOWS 7 in the prefix')
PW_USE_SHADER_CACHE_INFO=$(eval_gettext 'Use WINE shader caching (disable only if there are microfreezes in the game)')
PW_WINE_FULLSCREEN_FSR_INFO=$(eval_gettext 'Works while using any version of ProtonGE in full screen mode at a resolution below the standard screen')
PW_USE_FAKE_DLSS_INFO=$(eval_gettext 'Enable DLSS translator in FSR 2 in DirectX 12 games (CyberFSR2)')
PW_USE_FAKE_DLSS_3_INFO=$(eval_gettext 'Enable DLSS translator in FSR 3 in DirectX 12 games (Experimental project dlssg-to-fsr3)')
PW_USE_EAC_AND_BE_INFO=$(eval_gettext 'Enable Easy Anti-Cheat and BattlEye Anti-Cheat runtimes (required if game used this anti-cheats)')
PW_REDUCE_PULSE_LATENCY_INFO=$(eval_gettext 'Reduce pulseaudio latency to fix intermittent sound')
PW_USE_US_LAYOUT_INFO=$(eval_gettext 'Forced use of the us layout (useful for games in which the control works correctly only on the us layout)')
PW_RESTORE_RESOLUTION_INFO=$(eval_gettext 'Remember the screen resolution when starting the game and return it when closing (useful for games that change the screen resolution when closing)')
PW_USE_SYSTEM_VK_LAYERS_INFO=$(eval_gettext 'Use system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers')
PW_USE_OBS_VKCAPTURE_INFO=$(eval_gettext 'Enable the ability to write to OBS Studio using obs-vkcapture (ATTENTION: the forced use of system mangohud, vkBasalt, obs-vkcapture and other applications using vulkan layers will be enabled)')
PW_USE_GALLIUM_ZINK_INFO=$(eval_gettext 'Use the zink driver (OpenGL on top of Vulkan), allows you to use vkBasalt in OpenGL games (ATTENTION: vulkan support is required, wined3d (opengl) is used instead of dxvk, suitable for games on OpenGL and older versions of DirectX, artifacts are possible on newer versions of DirectX)')
PW_DISABLE_COMPOSITING_INFO=$(eval_gettext 'Disable desktop compositing (effects). It often improves performance.')
PW_USE_GAMESCOPE_INFO=$(eval_gettext "
<b>Super + F :</b> Toggle fullscreen
<b>Super + N :</b> Toggle nearest neighbour filtering
GET_FX_IN_FILE=(`echo${PW_VKBASALT_EFFECTS} | sed s/"cas:"// | sed s/":"/" "/g`)
local PW_3DFX_INFO=$(eval_gettext 'Simulation of an old 3dfx graphics accelerator (adds horizontal stripes)')
local PW_AdaptiveSharpen_INFO=$(eval_gettext 'Sharpness increase, can be used with CAS')
local PW_Bloom_INFO=$(eval_gettext 'Adds glow from bright light sources in the game')
local PW_Border_INFO=$(eval_gettext 'Cropping the image from the top and bottom (like in a movie =)')
local PW_Cartoon_INFO=$(eval_gettext 'Strong sharpening of texture edges')
local PW_ChromaticAberration_INFO=$(eval_gettext 'Adds chromatic aberration to an image')
local PW_Clarity_INFO=$(eval_gettext 'Sharpening textures with slight modifications of image contrast (similar in effect to CAS)')
local PW_ColorMatrix_INFO=$(eval_gettext 'Adding cool colors')
local PW_Colourfulness_INFO=$(eval_gettext 'Increasing color saturation')
local PW_FakeHDR_INFO=$(eval_gettext 'Add fake HDR')
local PW_FilmGrain2_INFO=$(eval_gettext 'Adding the film grain effect')
local PW_Curves_INFO=$(eval_gettext 'Increases the contrast of the image without affecting the bright and dark areas, so that the detail in shadows and sky is not lost')
local PW_Denoise_INFO=$(eval_gettext 'Reducing noise by blurring the image')
local PW_Emphasize_INFO=$(eval_gettext 'Reducing the bit depth of color')
local PW_FakeMotionBlur_INFO=$(eval_gettext 'Strong blurring of objects in motion')
local PW_FilmicAnamorphSharpen_INFO=$(eval_gettext 'Sharpening (recommended for cartoon games)')
local PW_FilmicPass_INFO=$(eval_gettext 'Adding cold colors')
local PW_SMAA_INFO=$(eval_gettext 'Alternative antialiasing option (less effect, but with less consumption of GPU resources, relative to the standard SMAA)')
local PW_GaussianBlur_INFO=$(eval_gettext 'Slight blur effect on bright objects (such as flames)')
local PW_Glitch_INFO=$(eval_gettext 'Glitch effect')
local PW_HighPassSharpen_INFO=$(eval_gettext 'Another method of sharpening using highpass frequencies')
local PW_HQ4X_INFO=$(eval_gettext 'Smoothing of nearby pixels with the drawing of missing parts (in normal games the picture is blurred)')
local PW_HSLShift_INFO=$(eval_gettext 'Advanced HSL shift (for each shade)')
local PW_Layer_INFO=$(eval_gettext "Image overlay on the game (the image is in the $PORT_WINE_TMP_PATH/libs_v$PW_LIBS_VER/pressure-vessel/reshade/textures folder)")
local PW_Levels_INFO=$(eval_gettext 'Increases contrast, but some detail in shadows or highlights may be lost')
local PW_LevelsPlus_INFO=$(eval_gettext 'Same as Levels, but with less loss of detail')
local PW_LiftGammaGain_INFO=$(eval_gettext 'Gamma correction by individual color channels: red, green and blue')
local PW_LightDoF_INFO=$(eval_gettext 'Increases depth of field (greatly affects FPS)')
local PW_LumaSharpen_INFO=$(eval_gettext 'Enhances image sharpness for improved detail')
local PW_LUT_INFO=$(eval_gettext 'Image color correction')
local PW_MagicBloom_INFO=$(eval_gettext 'Same as Bloom, but more natural')
local PW_Monochrome_INFO=$(eval_gettext 'Converts the image into monochrome')
local PW_MultiLUT_INFO=$(eval_gettext 'Extended version of the LUT (Hollywood loot is pre-installed)')
local PW_MXAO_INFO=$(eval_gettext 'SSAO algorithm (Greatly affects FPS)')
local PW_NightVision_INFO=$(eval_gettext 'Night vision effect')
local PW_Nostalgia_INFO=$(eval_gettext 'Makes the picture look like old photos')
local PW_PerfectPerspective_INFO=$(eval_gettext 'Fisheye effect (suitable for VR)')
local PW_PPFX_Godrays_INFO=$(eval_gettext 'Add God rays (also called 3D light rays) effect')
local PW_Prism_INFO=$(eval_gettext 'The prismatic lens effect')
local PW_ReflectiveBumpMapping_INFO=$(eval_gettext 'Creates the illusion of depth in textures')
local PW_Sepia_INFO=$(eval_gettext 'Adds a sepia effect like in old photos')
local PW_Splitscreen_INFO=$(eval_gettext 'Splits the image into raw and processed output for comparison')
local PW_SurfaceBlur_INFO=$(eval_gettext 'Reducing object detail without blurring contrast contours')
local PW_Technicolor_INFO=$(eval_gettext 'Makes the picture look like films from the 1930s')
local PW_Technicolor2_INFO=$(eval_gettext 'The updated version of Technicolor, gives a different picture by changing colors more aggressively')
local PW_TiltShift_INFO=$(eval_gettext 'Blur on the edges of the screen to create a Tilt Shift effect')
local PW_Tonemap_INFO=$(eval_gettext 'Changes the saturation of the picture')
local PW_TriDither_INFO=$(eval_gettext 'Reduces the amount of noise')
local PW_UIDetect_INFO=$(eval_gettext 'Automatically switches effects depending on the visibility of the UI')
local PW_Vibrance_INFO=$(eval_gettext 'Saturates faded colors without touching the bright ones')
local PW_Vignette_INFO=$(eval_gettext 'Adds a vignette to the image')
local PW_AspectRatio_INFO=$(eval_gettext 'An effect for adjusting the aspect ratio (for games that do not support widescreen monitors)')
local PW_UIMask_INFO=$(eval_gettext 'Part of the overall ReShade shader . It uses a mask with gradients from black to white to determine where the effects will be applied')
local PW_StageDepth_INFO=$(eval_gettext 'Allows you to add new elements to the 3d space inside the game and apply custom textures')
local PW_PPFX_Bloom_INFO=$(eval_gettext 'Adds a Bloom effect')
GET_FX_IN_FILE=($(echo${PW_VKBASALT_EFFECTS} | sed s/"cas:"// | sed s/":"/" "/g))
PW_3DFX_INFO=$(eval_gettext 'Simulation of an old 3dfx graphics accelerator (adds horizontal stripes)')
PW_AdaptiveSharpen_INFO=$(eval_gettext 'Sharpness increase, can be used with CAS')
PW_Bloom_INFO=$(eval_gettext 'Adds glow from bright light sources in the game')
PW_Border_INFO=$(eval_gettext 'Cropping the image from the top and bottom (like in a movie =)')
PW_Cartoon_INFO=$(eval_gettext 'Strong sharpening of texture edges')
PW_ChromaticAberration_INFO=$(eval_gettext 'Adds chromatic aberration to an image')
PW_Clarity_INFO=$(eval_gettext 'Sharpening textures with slight modifications of image contrast (similar in effect to CAS)')
PW_Colourfulness_INFO=$(eval_gettext 'Increasing color saturation')
PW_FakeHDR_INFO=$(eval_gettext 'Add fake HDR')
PW_FilmGrain2_INFO=$(eval_gettext 'Adding the film grain effect')
PW_Curves_INFO=$(eval_gettext 'Increases the contrast of the image without affecting the bright and dark areas, so that the detail in shadows and sky is not lost')
PW_Denoise_INFO=$(eval_gettext 'Reducing noise by blurring the image')
PW_Emphasize_INFO=$(eval_gettext 'Reducing the bit depth of color')
PW_FakeMotionBlur_INFO=$(eval_gettext 'Strong blurring of objects in motion')
PW_FilmicAnamorphSharpen_INFO=$(eval_gettext 'Sharpening (recommended for cartoon games)')
PW_SMAA_INFO=$(eval_gettext 'Alternative antialiasing option (less effect, but with less consumption of GPU resources, relative to the standard SMAA)')
PW_GaussianBlur_INFO=$(eval_gettext 'Slight blur effect on bright objects (such as flames)')
PW_Glitch_INFO=$(eval_gettext 'Glitch effect')
PW_HighPassSharpen_INFO=$(eval_gettext 'Another method of sharpening using highpass frequencies')
PW_HQ4X_INFO=$(eval_gettext 'Smoothing of nearby pixels with the drawing of missing parts (in normal games the picture is blurred)')
PW_HSLShift_INFO=$(eval_gettext 'Advanced HSL shift (for each shade)')
PW_Layer_INFO=$(eval_gettext "Image overlay on the game (the image is in the $PORT_WINE_TMP_PATH/libs_v$PW_LIBS_VER/pressure-vessel/reshade/textures folder)")
PW_Levels_INFO=$(eval_gettext 'Increases contrast, but some detail in shadows or highlights may be lost')
PW_LevelsPlus_INFO=$(eval_gettext 'Same as Levels, but with less loss of detail')
PW_LiftGammaGain_INFO=$(eval_gettext 'Gamma correction by individual color channels: red, green and blue')
PW_LightDoF_INFO=$(eval_gettext 'Increases depth of field (greatly affects FPS)')
PW_LumaSharpen_INFO=$(eval_gettext 'Enhances image sharpness for improved detail')
PW_LUT_INFO=$(eval_gettext 'Image color correction')
PW_MagicBloom_INFO=$(eval_gettext 'Same as Bloom, but more natural')
PW_Monochrome_INFO=$(eval_gettext 'Converts the image into monochrome')
PW_MultiLUT_INFO=$(eval_gettext 'Extended version of the LUT (Hollywood loot is pre-installed)')
PW_Nostalgia_INFO=$(eval_gettext 'Makes the picture look like old photos')
PW_PerfectPerspective_INFO=$(eval_gettext 'Fisheye effect (suitable for VR)')
PW_PPFX_Godrays_INFO=$(eval_gettext 'Add God rays (also called 3D light rays) effect')
PW_Prism_INFO=$(eval_gettext 'The prismatic lens effect')
PW_ReflectiveBumpMapping_INFO=$(eval_gettext 'Creates the illusion of depth in textures')
PW_Sepia_INFO=$(eval_gettext 'Adds a sepia effect like in old photos')
PW_Splitscreen_INFO=$(eval_gettext 'Splits the image into raw and processed output for comparison')
PW_SurfaceBlur_INFO=$(eval_gettext 'Reducing object detail without blurring contrast contours')
PW_Technicolor_INFO=$(eval_gettext 'Makes the picture look like films from the 1930s')
PW_Technicolor2_INFO=$(eval_gettext 'The updated version of Technicolor, gives a different picture by changing colors more aggressively')
PW_TiltShift_INFO=$(eval_gettext 'Blur on the edges of the screen to create a Tilt Shift effect')
PW_Tonemap_INFO=$(eval_gettext 'Changes the saturation of the picture')
PW_TriDither_INFO=$(eval_gettext 'Reduces the amount of noise')
PW_UIDetect_INFO=$(eval_gettext 'Automatically switches effects depending on the visibility of the UI')
PW_Vibrance_INFO=$(eval_gettext 'Saturates faded colors without touching the bright ones')
PW_Vignette_INFO=$(eval_gettext 'Adds a vignette to the image')
PW_AspectRatio_INFO=$(eval_gettext 'An effect for adjusting the aspect ratio (for games that do not support widescreen monitors)')
PW_UIMask_INFO=$(eval_gettext 'Part of the overall ReShade shader . It uses a mask with gradients from black to white to determine where the effects will be applied')
PW_StageDepth_INFO=$(eval_gettext 'Allows you to add new elements to the 3d space inside the game and apply custom textures')
PW_PPFX_Bloom_INFO=$(eval_gettext 'Adds a Bloom effect')
YAD_CAS_SET=$(cat"${PORT_WINE_TMP_PATH}/tmp_yad_cas_set" | sed s/" "//g)
INT_COUNT_FX=0
for read_list_fx in${YAD_BASALT_SET};do
...
...
@@ -3124,60 +3131,60 @@ gui_MangoHud () {
time version vkbasalt vram vulkan_driver wine
)
local PW_MH_arch_INFO=$(eval_gettext 'Show if the application is 32- or 64-bit')
local PW_MH_battery_INFO=$(eval_gettext 'Display current battery percent and energy consumption')
local PW_MH_battery_icon_INFO=$(eval_gettext 'Display battery icon instead of percent')
local PW_MH_battery_time_INFO=$(eval_gettext 'Display remaining time for battery option')
local PW_MH_battery_watt_INFO=$(eval_gettext 'Display wattage for the battery option')
local PW_MH_core_bars_INFO=$(eval_gettext 'Change the display of core_load from numbers to vertical bars')
local PW_MH_core_load_INFO=$(eval_gettext 'Display load & frequency per core')
local PW_MH_cpu_mhz_INFO=$(eval_gettext 'Show the CPUs current MHz')
local PW_MH_cpu_power_INFO=$(eval_gettext 'Display CPU draw in watts')
local PW_MH_cpu_temp_INFO=$(eval_gettext 'Display current CPU temperature')
local PW_MH_device_battery_icon_INFO=$(eval_gettext 'Display wirless device battery icon.')
local PW_MH_engine_short_names_INFO=$(eval_gettext 'Display a short version of the used engine (e.g. OGL instead of OpenGL)')
local PW_MH_engine_version_INFO=$(eval_gettext 'Display OpenGL or vulkan and vulkan-based render engines version')
local PW_MH_exec_name_INFO=$(eval_gettext 'Display current exec name')
local PW_MH_fcat_INFO=$(eval_gettext 'Enables frame capture analysis')
local PW_MH_fps_metrics_INFO=$(eval_gettext 'Takes a list of decimal values or the value avg, e.g avg,0.001')
local PW_MH_frame_count_INFO=$(eval_gettext 'Display frame count')
local PW_MH_full_INFO=$(eval_gettext 'Enable most of the toggleable parameters (currently excludes histogram)')
local PW_MH_gamemode_INFO=$(eval_gettext 'Show if GameMode is on')
local PW_MH_gpu_core_clock_INFO=$(eval_gettext 'Display GPU core frequency')
local PW_MH_gpu_fan_INFO=$(eval_gettext 'GPU fan in rpm on AMD, FAN in percent on NVIDIA')
local PW_MH_gpu_junction_temp_INFO=$(eval_gettext 'Display current GPU temperature')
local PW_MH_gpu_mem_clock_INFO=$(eval_gettext 'Display GPU memory frequency')
local PW_MH_gpu_mem_temp_INFO=$(eval_gettext 'Display current GPU temperature')
local PW_MH_gpu_name_INFO=$(eval_gettext 'Display GPU name from pci.ids')
local PW_MH_gpu_power_INFO=$(eval_gettext 'Display GPU draw in watts')
local PW_MH_gpu_temp_INFO=$(eval_gettext 'Display current GPU temperature')
local PW_MH_gpu_voltage_INFO=$(eval_gettext 'Display GPU voltage (only works on AMD GPUs)')
local PW_MH_histogram_INFO=$(eval_gettext 'Change FPS graph to histogram')
local PW_MH_horizontal_INFO=$(eval_gettext 'Display Mangohud in a horizontal position')
local PW_MH_horizontal_stretch_INFO=$(eval_gettext 'Stretches the background to the screens width in horizontal mode')
local PW_MH_hud_compact_INFO=$(eval_gettext 'Display compact version of MangoHud')
local PW_MH_hud_no_margin_INFO=$(eval_gettext 'Remove margins around MangoHud')
local PW_MH_io_read_INFO=$(eval_gettext 'Show non-cached IO read, in MiB/s')
local PW_MH_io_write_INFO=$(eval_gettext 'Show non-cached IO write, in MiB/s')
local PW_MH_no_display_INFO=$(eval_gettext 'Hide the HUD by default')
local PW_MH_no_small_font_INFO=$(eval_gettext 'Use primary font size for smaller text like units')
local PW_MH_procmem_INFO=$(eval_gettext 'Displays process memory usage: resident procmem (resident) also toggles others off if disabled')
local PW_MH_procmem_shared_INFO=$(eval_gettext 'Displays process memory usage: shared')
local PW_MH_procmem_virt_INFO=$(eval_gettext 'Displays process memory usage: virtual')
local PW_MH_ram_INFO=$(eval_gettext 'Display system RAM usage')
local PW_MH_resolution_INFO=$(eval_gettext 'Display the current resolution')
local PW_MH_show_fps_limit_INFO=$(eval_gettext 'Display the current FPS limit')
local PW_MH_swap_INFO=$(eval_gettext 'Display swap space usage next to system RAM usage')
local PW_MH_temp_fahrenheit_INFO=$(eval_gettext 'Show temperature in Fahrenheit')
local PW_MH_throttling_status_INFO=$(eval_gettext 'Show if GPU is throttling based on Power, current, temp or "other" (Only shows if throttling is currently happening). Currently disabled by default for Nvidia as it causes lag on 3000 series')
local PW_MH_throttling_status_graph_INFO=$(eval_gettext 'Same as throttling_status but displays throttling in the frametime graph and only power and temp throttling')
local PW_MH_time_INFO=$(eval_gettext 'Display local time')
local PW_MH_version_INFO=$(eval_gettext 'Show current MangoHud version')
local PW_MH_vkbasalt_INFO=$(eval_gettext 'Show if vkBasalt is on')
local PW_MH_vram_INFO=$(eval_gettext 'Display system VRAM usage')
local PW_MH_vulkan_driver_INFO=$(eval_gettext 'Display used Vulkan driver (radv/amdgpu-pro/amdvlk)')
local PW_MH_frametime=$(eval_gettext 'Display frametime next to FPS text')
local PW_MH_wine_INFO=$(eval_gettext 'Show current Wine or Proton version in use')
PW_MH_arch_INFO=$(eval_gettext 'Show if the application is 32- or 64-bit')
PW_MH_battery_INFO=$(eval_gettext 'Display current battery percent and energy consumption')
PW_MH_battery_icon_INFO=$(eval_gettext 'Display battery icon instead of percent')
PW_MH_battery_time_INFO=$(eval_gettext 'Display remaining time for battery option')
PW_MH_battery_watt_INFO=$(eval_gettext 'Display wattage for the battery option')
PW_MH_core_bars_INFO=$(eval_gettext 'Change the display of core_load from numbers to vertical bars')
PW_MH_core_load_INFO=$(eval_gettext 'Display load & frequency per core')
PW_MH_cpu_mhz_INFO=$(eval_gettext 'Show the CPUs current MHz')
PW_MH_cpu_power_INFO=$(eval_gettext 'Display CPU draw in watts')
PW_MH_cpu_temp_INFO=$(eval_gettext 'Display current CPU temperature')
PW_MH_gpu_mem_temp_INFO=$(eval_gettext 'Display current GPU temperature')
PW_MH_gpu_name_INFO=$(eval_gettext 'Display GPU name from pci.ids')
PW_MH_gpu_power_INFO=$(eval_gettext 'Display GPU draw in watts')
PW_MH_gpu_temp_INFO=$(eval_gettext 'Display current GPU temperature')
PW_MH_gpu_voltage_INFO=$(eval_gettext 'Display GPU voltage (only works on AMD GPUs)')
PW_MH_histogram_INFO=$(eval_gettext 'Change FPS graph to histogram')
PW_MH_horizontal_INFO=$(eval_gettext 'Display Mangohud in a horizontal position')
PW_MH_horizontal_stretch_INFO=$(eval_gettext 'Stretches the background to the screens width in horizontal mode')
PW_MH_hud_compact_INFO=$(eval_gettext 'Display compact version of MangoHud')
PW_MH_hud_no_margin_INFO=$(eval_gettext 'Remove margins around MangoHud')
PW_MH_io_read_INFO=$(eval_gettext 'Show non-cached IO read, in MiB/s')
PW_MH_io_write_INFO=$(eval_gettext 'Show non-cached IO write, in MiB/s')
PW_MH_no_display_INFO=$(eval_gettext 'Hide the HUD by default')
PW_MH_no_small_font_INFO=$(eval_gettext 'Use primary font size for smaller text like units')
PW_MH_procmem_INFO=$(eval_gettext 'Displays process memory usage: resident procmem (resident) also toggles others off if disabled')
PW_MH_procmem_shared_INFO=$(eval_gettext 'Displays process memory usage: shared')
PW_MH_procmem_virt_INFO=$(eval_gettext 'Displays process memory usage: virtual')
PW_MH_ram_INFO=$(eval_gettext 'Display system RAM usage')
PW_MH_resolution_INFO=$(eval_gettext 'Display the current resolution')
PW_MH_show_fps_limit_INFO=$(eval_gettext 'Display the current FPS limit')
PW_MH_swap_INFO=$(eval_gettext 'Display swap space usage next to system RAM usage')
PW_MH_temp_fahrenheit_INFO=$(eval_gettext 'Show temperature in Fahrenheit')
PW_MH_throttling_status_INFO=$(eval_gettext 'Show if GPU is throttling based on Power, current, temp or "other" (Only shows if throttling is currently happening). Currently disabled by default for Nvidia as it causes lag on 3000 series')
PW_MH_throttling_status_graph_INFO=$(eval_gettext 'Same as throttling_status but displays throttling in the frametime graph and only power and temp throttling')
PW_MH_time_INFO=$(eval_gettext 'Display time')
PW_MH_version_INFO=$(eval_gettext 'Show current MangoHud version')
PW_MH_vkbasalt_INFO=$(eval_gettext 'Show if vkBasalt is on')
PW_MH_vram_INFO=$(eval_gettext 'Display system VRAM usage')
PW_MH_vulkan_driver_INFO=$(eval_gettext 'Display used Vulkan driver (radv/amdgpu-pro/amdvlk)')
PW_MH_frametime=$(eval_gettext 'Display frametime next to FPS text')
PW_MH_wine_INFO=$(eval_gettext 'Show current Wine or Proton version in use')
&& yad_question "$(eval_gettext "PortProton installed by script has been detected. Do you want to transfer all the data from it to the new flatpak version of PortProton?")"
@@ -381,16 +388,17 @@ if [[ -f "${portwine_exe}" ]] ; then
--button="${PW_SHORTCUT}"\
--button="$(eval_gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Launch with the creation of a .log file at the root PortProton")":102 \
--field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"$(eval_gettext "Emulator for Nintendo game consoles with high compatibility")":"FBTN"'@bash -c "button_click PW_DOLPHIN"' \
--field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"$(eval_gettext "Multi-arcade emulator that allows you to play old arcade games")":"FBTN"'@bash -c "button_click PW_MAME"' \
--field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"$(eval_gettext "Multi-platform frontend for emulators with extensive settings")":"FBTN"'@bash -c "button_click PW_RETROARCH"' \
...
...
@@ -463,7 +471,7 @@ else
--field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"$(eval_gettext "Emulator for the Xbox game console")":"FBTN"'@bash -c "button_click PW_XEMU"' \
--field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"$(eval_gettext "Emulator for the Sega Dreamcast game console")":"FBTN"'@bash -c "button_click PW_DEMUL"' 2>/dev/null &