Skip to content

Instantly share code, notes, and snippets.

@imaami
Created June 9, 2019 18:22
Show Gist options
  • Save imaami/059ad5724c7d20a0f56a61d275ff4308 to your computer and use it in GitHub Desktop.
Save imaami/059ad5724c7d20a0f56a61d275ff4308 to your computer and use it in GitHub Desktop.
Squad launch script
#!/bin/sh
systemctl --user start pulseaudio
nvidia-settings -a '0/LogAniso=0' \
-a '0/FSAA=9' \
-a '0/TextureClamping=1' \
-a '0/FXAA=0' \
-a '0/AllowFlipping=0' \
-a '0/FSAAAppControlled=0' \
-a '0/LogAnisoAppControlled=0' \
-a '0/OpenGLImageSettings=0' \
-a '0/FSAAAppEnhanced=1' \
>/dev/null 2>&1
export __GL_NextGenCompiler=1
export __GL_SYNC_TO_VBLANK=0
export __GL_THREADED_OPTIMIZATIONS=1
export __GL_SHADER_DISK_CACHE=1
export __GL_SHADER_DISK_CACHE_PATH="/run/user/$UID/nv_glcache/squad"
rm -fr "$__GL_SHADER_DISK_CACHE_PATH"
mkdir -p "$__GL_SHADER_DISK_CACHE_PATH"
steam steam://rungameid/393380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment