DXHRDC 2.32 KB
Newer Older
1
#!/usr/bin/env bash
2 3
#Author: xuser
#DXHRDC.exe
4 5 6
#DXHumanRevolutionDC.exe
#DXHumanRevolutionDC_s.exe
#Rating=5
7
#####################examples###########################
castro-fidel's avatar
castro-fidel committed
8 9 10
##export PW_COMMENT_DB="blablabla"
##export PW_WINDOWS_VER=10                        # Set windows version 10, 7 or XP
##export PW_DLL_INSTALL="vcrun2017"               # Install DDL in port prefix (used winetricks) 
11 12
export WINEDLLOVERRIDES="WINMM=n,b"
##export LAUNCH_PARAMETERS="('"+com_skipIntroVideo 1"' '"+com_skipSignInManager 1"')"                # Additional launch options
castro-fidel's avatar
castro-fidel committed
13 14 15 16 17 18 19 20 21 22
export PW_WINE_USE=PROTON_GE
export PW_VULKAN_USE=1
##export PW_USE_DXR10=1
##export PW_DLSS_ON=1
##export PW_VULKAN_NO_ASYNC=1                     # Disabled ASYNC for VULKAN
##export PW_USE_NVAPI_AND_DLSS=0
##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
23 24
##export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue
export ENABLE_VKBASALT=1
castro-fidel's avatar
castro-fidel committed
25 26 27 28 29
export PW_VKBASALT_EFFECTS=cas:FilmGrain2:Curves
export PW_VKBASALT_FFX_CAS=1
export PW_NO_FSYNC=0                            # 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=0                       # 0 - disabled use winegstreamer
30
##export PULSE_LATENCY_MSEC=60                    # Fix crackling audio in games
castro-fidel's avatar
castro-fidel committed
31 32 33
##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 PW_WINE_ALLOW_XIM=1                      # Disable XIM support until libx11 >= 1.7 is widespread
34 35
##export WINEARCH=win32                           # defaut = win64
##export WINEPREFIX=
castro-fidel's avatar
castro-fidel committed
36 37 38
export PW_WINEDBG_DISABLE=1                     # Disabled WINEDBG
##export PW_USE_TERMINAL=1                        # Force run in terminal
##export PW_GUI_DISABLED_CS=1                     # 1 = disabled GUI
39 40
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }