Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- # StarCitizen startscript example
- # ===============================
- # Here is some example conditions to select and tryout.
- # You need to edit the path`s to your needs and make sure, this scriptfile is executable.
- # Lines beginning with a "#" are comments and not respected by the execution of this startscript.
- # ===============================
- # 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
- # -----------------------------------------------------------------
- # For Nvidia, you may want to export these variables:
- # --------------------------------------------------
- # export __GL_SHADER_DISK_CACHE=true
- # export __GL_SHADER_DISK_CACHE_PATH="/home/rawfox/M2/glcache/SClocal"
- # export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=true
- # for AMD grafix, you may set this:
- # ---------------------------------
- export RADV_PERFTEST=gpl
- # the rudimentary stuff, you need to edit these path`s for your needs:
- # --------------------------------------------------------------------
- # export STAGING_SHARED_MEMORY=1
- # export STAGING_WRITECOPY=1
- # export WINEESYNC=1
- # export WINEFSYNC=1
- # export WINEFSYNC_FUTEX2=1
- # export WINEFSYNC_SPINCOUNT=100
- # export MANGOHUD=1
- # export MANGOHUD_CONFIGFILE="/home/rawfox/.config/MangoHud/MangoHud-SC.conf"
- # export DXVK_ASYNC=1
- # export ENABLE_VKBASALT=1
- export WINEPREFIX="/home/rawfox/M2/StarCitizen"
- export WINEDEBUG=-all #+pid,+timestamp,+seh,+loaddll,+virtual,+dialog,+msgbox
- 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