Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # WAR Standalone
- # by xpander
- # LANG stuff to fix keyboard layout when launching from steam
- export LC_ALL=en_US.UTF-8
- export LANG=en_US.UTF-8
- # Go into the directory
- BINDIR="$(dirname "$(readlink -fn "$0")")"
- cd "$BINDIR"
- ### configuration
- # Define directories.
- winebindir="$BINDIR/wine-fsync_5.0/bin/"
- wineprefixdir="$BINDIR/WARprefix"
- # Wine stuff
- export WINEDEBUG=-all
- export WINEESYNC=0
- export WINEFSYNC=1
- #export STAGING_RT_PRIORITY_SERVER=90
- #export STAGING_RT_PRIORITY_BASE=90
- # DXVK - not used for this game cause of bright ground
- #export DXVK_HUD=fps,devinfo,frametimes,api
- #export DXVK_CONFIG_FILE="$BINDIR/d9vk.conf"
- # Nvidia stuff
- export __GL_FSAA_MODE=11
- export __GL_YIELD="NOTHING"
- #export __GL_SHOW_GRAPHICS_OSD=1
- export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
- export __GL_SHADER_DISK_CACHE_PATH="$BINDIR/shaders/"
- export __GL_LOG_MAX_ANISO=4
- export __GL_DEFAULT_LOG_ANISO=4
- # Remove cache folder for better performance
- #rm -R "$BINDIR/cache"
- # Start Game launcher
- PATH=$winebindir:$PATH WINEPREFIX=$wineprefixdir taskset -c 2-7 wine "./RoRLauncher.exe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement