From f59c24936eb82bfa8d2cecea8c89d35396bc25d0 Mon Sep 17 00:00:00 2001 From: Dor dicke Gind Date: Mon, 23 Jan 2023 19:25:52 +0100 Subject: [PATCH] [TASK] add drirc + game-dummy --- .drirc | 7 +++++++ Scripts/game-dummy.sh | 30 ++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .drirc create mode 100644 Scripts/game-dummy.sh diff --git a/.drirc b/.drirc new file mode 100644 index 0000000..f9c29ad --- /dev/null +++ b/.drirc @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/Scripts/game-dummy.sh b/Scripts/game-dummy.sh new file mode 100644 index 0000000..4456636 --- /dev/null +++ b/Scripts/game-dummy.sh @@ -0,0 +1,30 @@ +#!/bin/bash +export DXVK_LOG_LEVEL=none +export DXVK_ASYNC=1 +export RADV_PERFTEST=sam,rt +export VKD3D_CONFIG=dxr11 +#export VKD3D_FEATURE_LEVEL=12_2 +export WINEDEBUG=-all +export WINEDLLOVERRIDES=winedbg.exe=d +export WINEFSYNC=1 + +command="gamescope -f -U -o 30 -w 1920 -h 1080 -- gamemoderun mangohud ENABLE_VKBASALT=1" +if [[ "$@" == *"SteamLaunch"* ]]; then + $command "$@" + #xfce4-terminal -e "bash -c $command "$@";bash" + exit 0 +fi + +cd "$1" +wine="wine" +if [ "$3" ]; then + wine="$3" +fi + +if [ "$4" != "true" ]; then + wine="$wine explorer /desktop=,1920x1080" +fi + +command="$command $wine $2" +#xfce4-terminal -e "bash -c \"$command\";bash" +bash -c "$command" \ No newline at end of file