Advertisement
Guest User

RoRLauncher.sh

a guest
Mar 24th, 2020
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.11 KB | None | 0 0
  1. #!/bin/bash
  2. # WAR Standalone
  3. # by xpander
  4.  
  5. # LANG stuff to fix keyboard layout when launching from steam
  6. export LC_ALL=en_US.UTF-8
  7. export LANG=en_US.UTF-8
  8.  
  9. # Go into the directory
  10. BINDIR="$(dirname "$(readlink -fn "$0")")"
  11. cd "$BINDIR"
  12.  
  13. ### configuration
  14. # Define directories.
  15. winebindir="$BINDIR/wine-fsync_5.0/bin/"
  16. wineprefixdir="$BINDIR/WARprefix"
  17.  
  18. # Wine stuff
  19. export WINEDEBUG=-all
  20. export WINEESYNC=0
  21. export WINEFSYNC=1
  22. #export STAGING_RT_PRIORITY_SERVER=90
  23. #export STAGING_RT_PRIORITY_BASE=90
  24.  
  25. # DXVK - not used for this game cause of bright ground
  26. #export DXVK_HUD=fps,devinfo,frametimes,api
  27. #export DXVK_CONFIG_FILE="$BINDIR/d9vk.conf"
  28.  
  29. # Nvidia stuff
  30. export __GL_FSAA_MODE=11
  31. export __GL_YIELD="NOTHING"
  32. #export __GL_SHOW_GRAPHICS_OSD=1
  33. export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
  34. export __GL_SHADER_DISK_CACHE_PATH="$BINDIR/shaders/"
  35. export __GL_LOG_MAX_ANISO=4
  36. export __GL_DEFAULT_LOG_ANISO=4
  37.  
  38.  
  39. # Remove cache folder for better performance
  40. #rm -R "$BINDIR/cache"
  41.  
  42. # Start Game launcher
  43. PATH=$winebindir:$PATH WINEPREFIX=$wineprefixdir taskset -c 2-7 wine "./RoRLauncher.exe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement