feat: pcsx2 on gamescope launcher

This commit is contained in:
hesam-init 2024-03-26 23:14:53 +03:30
parent 0fd8e4b83e
commit a70a4504f9
4 changed files with 28 additions and 10 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
export WIDTH=1920
export HEIGHT=1080
export REFRESH_RATE=75
export PCSX2=~/Games/Pcsx2/pcsx2.AppImage
export RPCS3=~/Games/Pcsx2/rpcs3.AppImage

View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
source ~/.gamescope/utils/main.sh
source ~/.gamescope/configs.sh
run_os() {
MANGOHUD=1 gamescope -W 1920 -H 1080 -f -F fsr -- $PCSX2 -fullscreen -bigpicture
}
run_os

View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
source ~/.gamescope/utils/main.sh
source ~/.gamescope/configs.sh
run_os() {
MANGOHUD=1 STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W $WIDTH -H $HEIGHT -r $REFRESH_RATE -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck
}
run_os

View file

@ -16,14 +16,4 @@ run_services() {
check_and_start "wireplumber" "/usr/bin/wireplumber"
}
run_steamos() {
local WIDTH=1920
local HEIGHT=1080
local REFRESH_RATE=75
MANGOHUD=1 STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W $WIDTH -H $HEIGHT -r $REFRESH_RATE -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck
}
run_services
run_steamos