Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- # minimize the bash window when its started from Lutris, you need xdotool for this
- myRESULT="lutris"
- if pgrep -x "$myRESULT" >/dev/null
- then
- WID=$(xdotool getactivewindow)
- xdotool windowminimize $WID
- fi
- # exporting some variables to define places and conditions for wine
- # -----------------------------------------------------------------
- #export STAGING_SHARED_MEMORY=1
- #export STAGING_WRITECOPY=1
- export WINEESYNC=1
- export WINEFSYNC=1
- export WINEFSYNC_FUTEX2=1
- #export WINEFSYNC_SPINCOUNT=100
- export WINEPREFIX="/home/rawfox/M2/StarCitizen"
- export WINEDEBUG=-all #+pid,+timestamp,+seh,+loaddll,+virtual,+dialog,+msgbox
- export MANGOHUD=1
- export MANGOHUD_CONFIGFILE="/home/rawfox/.config/MangoHud/MangoHud-SC.conf"
- export DXVK_ASYNC=1
- export ENABLE_VKBASALT=1
- cd "/home/rawfox/M2/StarCitizen/drive_c/Program Files/Roberts Space Industries/RSI Launcher"
- wine "RSI Launcher.exe" #"--use-gl=osmesa" # & #"--disable-gpu-compositing"
- unset WINEPREFIX
- unset WINEDEBUG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement