#!/usr/bin/env bash #Author: xuser #Cyberpunk2077.exe #Rating=1-5 #####################examples########################### export PP_VULKAN_USE=1 ##export PP_COMMENT_DB="blablabla" export WINEDLLOVERRIDES="Crash*,REDEngineErrorReporter.exe=" ##export PP_DLL_INSTALL="d3dcompiler_47" # Install DDL in port prefix (used winetricks) ##export PP_LOG=0 # Enable debug mode fo terminal ##export PP_NO_FSYNC=1 # Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support. ##export PP_NO_ESYNC=1 # Do not use eventfd-based in-process synchronization primitives ##export PP_VULKAN_NO_ASYNC=1 # Disabled ASYNC for VULKAN ##export PP_USE_TERMINAL=0 # Force run in terminal ##export PP_OLD_GL_STRING=0 ##export PP_USE_NVAPI_AND_DLSS=0 ##export PP_VKD3D_FEATURE_LEVEL=1 ##export PP_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 PP_HIDE_NVIDIA_GPU=0 ##export PP_FORCE_USE_VSYNC=0 # Vsync: 0-FORCE_OFF, 1-FORCE_ON, 2-BY_DEFAULT ##export PP_WINEDBG_DISABLE=1 # Disabled WINEDBG ##export PP_USE_GAMEMODE=1 # Force disabele gamemod ##export PP_FORCE_LARGE_ADDRESS_AWARE=1 # Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default. export PULSE_LATENCY_MSEC=40 # Fix crackling audio in games export LAUNCH_PARAMETERS=("--launcher-skip") # Additional launch options ##export PP_GUI_DISABLED_CS=1 # 1 = disabled GUI export VKD3D_CONFIG=force_bindless_texel_buffer,multi_queue export PP_WINDOWS_VER=10 # Set windows version 10, 7 or XP ##export PP_VIRTUAL_DESKTOP=1 ##export DXVK_HUD=fps,devinfo export PP_HEAP_DELAY_FREE=0 ##export PP_DXGI_FROM_DXVK=0 ##export WINEARCH=win32 # defaut = win64 ##export WINEPREFIX= #add_in_start_portwine () { "${pp_runtime}" "$WINESERVER" -w }