Posts

Showing posts with the label steam

Civilization VI launch options

Steam launch options for Civilization VI to run under Linux: env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only LD_PRELOAD=/home/USERNAME/.local/share/Steam/ubuntu12_64/steam-runtime-heavy/usr/lib/x86_64-linux-gnu/libfontconfig.so.1 %command% To run using nvidia gpu, remove if not using nvidia: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only   Load compatible library: LD_PRELOAD=/home/ USERNAME /.local/share/Steam/ubuntu12_64/steam-runtime-heavy/usr/lib/x86_64-linux-gnu/libfontconfig.so.1

Run non steam windows game under Linux

For example I want to run caesar 3 windows game.. Create this script in Caesar 3 folder, named c3.sh $ vi c3.sh #!/bin/bash SCRIPT=`realpath $0` SCRIPTPATH=`dirname $SCRIPT` export STEAM_COMPAT_DATA_PATH="$SCRIPTPATH/compatdata" mkdir $STEAM_COMPAT_DATA_PATH # change this to your proton binary, for example: $HOME/.local/share/Steam/steamapps/common/Proton 3.16/proton PROTON="/path/steamlibrary/Steam/SteamApps/common/Proton 3.16/proton" # change c3.exe to your game executable EXE="c3.exe" "$PROTON" run "$SCRIPTPATH/$EXE" killall -r "$EXE" $ chmod +x c3.sh Run Steam, open menu Games -> Add Non Steam Game -> Browse... and choose c3.sh Click Play to run! 😼