#!/usr/bin/env bash
#Author: linux-gaming.ru
#name_exe_file.exe
#Rating=1-5
#####################examples###########################
# # if [ "${update_loc}" = "RUS" ] ; then
# #     export PW_COMMENT_DB="blalala rus"
# # fi
# # if [ "${update_loc}" = "ENG" ] ; then
# #     export PW_COMMENT_DB="blaala eng"
# # fi

##export PW_WINDOWS_VER=10                        # Set windows version 10, 7 or XP
##export PW_DLL_INSTALL="vcrun2017"               # Install DLL in port prefix (used winetricks)
##export WINEDLLOVERRIDES="blabla=n,b"
##export LAUNCH_PARAMETERS="+com_skipIntroVideo 1 +com_skipSignInManager 1"               # Additional launch options

##export PW_VULKAN_USE=1                          # 1 ,dxvk or 0 for OpenGL
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
##export PW_OLD_GL_STRING=1
##export PW_HIDE_NVIDIA_GPU=1
##export PW_FORCE_USE_VSYNC=0                     # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT
##export PW_VIRTUAL_DESKTOP=1
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue

##export ENABLE_VKBASALT=1
##export PW_VKBASALT_EFFECTS="FakeHDR:cas"        # Use Reshade in others games (dx9-12 to vulkan only)
##export PW_VKBASALT_FFX_CAS="0.75"               # FidelityFX Contrast Adaptive Sharpening (min 0 - max 1)

##export PW_NO_FSYNC=1                            # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.
##export PW_NO_ESYNC=0                            # Do not use eventfd-based in-process synchronization primitives
##export PW_USE_GSTREAMER=1                       # 0 - disabled use winegstreamer 
##export PW_REDUCE_PULSE_LATENCY=1                    # Fix crackling audio in games

##export PW_NO_WRITE_WATCH=1                      # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games).
##export PW_HEAP_DELAY_FREE=1

##export WINEARCH=win32                           # defaut = win64
##export WINEPREFIX=

##export PW_USE_TERMINAL=1                        # Force run in terminal
##export PW_GUI_DISABLED_CS=1                     # 1 = disabled GUI

##export PATH_TO_GAME=

##add_in_start_portwine () { commands ; }
