Browse Source

20261017

main
64味小菜 3 weeks ago
parent
commit
c767addab5
  1. 9
      .local/bin/proton-run

9
.local/bin/proton-run

@ -9,14 +9,14 @@ export LANG=zh_CN.UTF-8
export XMODIFIERS=@im=fcitx export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx
export DXVK_HUD='fps,gpuload,cs' export DXVK_HUD='fps,gpuload,memory,compiler,opacity=0.8'
############## ##############
# Proton/Wine # Proton/Wine
############## ##############
export PROTONPATH="$HOME/.local/data/proton/default" export PROTONPATH="$HOME/.local/data/proton/default"
#export PROTON_ENABLE_WAYLAND=1 export PROTON_ENABLE_WAYLAND=1
#export PROTON_DXVK_GPLASYNC=1 #export PROTON_DXVK_GPLASYNC=1
#export WINEARCH=wow64 #export WINEARCH=wow64
@ -63,14 +63,14 @@ case "$1" in
'gi') GAMEID=umu-gi exec gamemoderun umu-run 'G:\GenshinImpact\ungi.exe' 90 'G:\GenshinImpact\CN\YuanShen.exe';; 'gi') GAMEID=umu-gi exec gamemoderun umu-run 'G:\GenshinImpact\ungi.exe' 90 'G:\GenshinImpact\CN\YuanShen.exe';;
#GAMEID=umu-zzz PROTON_DXVK_LLASYNC=1 \ #GAMEID=umu-zzz PROTON_DXVK_LLASYNC=1 \
'zzz') GAMEID=umu-zzz exec gamemoderun umu-run 'G:\ZenlessZoneZero\CN\ZenlessZoneZero.exe' -use-d3d12;; 'zzz') GAMEID=umu-zzz exec gamemoderun umu-run 'G:\ZenlessZoneZero\CN\ZenlessZoneZero.exe' -use-d3d12;;
'hsr') GAMEID=umu-hsr exec taskset 0xffffff00 umu-run 'G:\HonkaiStarRail\CN\StarRail.exe';; 'hsr') GAMEID=umu-hsr PROTON_ENABLE_WAYLAND=1 exec taskset 0xffffff00 umu-run 'G:\HonkaiStarRail\CN\StarRail.exe';;
'wine') shift 2; GAMEID=umu-hoyo exec umu-run "$@";; 'wine') shift 2; GAMEID=umu-hoyo exec umu-run "$@";;
esac esac
;; ;;
ace) ace)
export WINEPREFIX="$HOME/.local/data/wineprefix/ACE" export WINEPREFIX="$HOME/.local/data/wineprefix/ACE"
case "$2" in case "$2" in
'taoyuan') GAMEID=umu-taoyuan exec gamemoderun linuwux $GAMESCOPE_CLI umu-run 'G:\Tencent\Taoyuan\launcher\yc_launcher.exe';; 'taoyuan') unset PROTON_ENABLE_WAYLAND; GAMEID=umu-taoyuan exec gamemoderun linuwux $GAMESCOPE_CLI umu-run 'G:\Tencent\Taoyuan\launcher\yc_launcher.exe';;
'wine') shift 2; GAMEID=umu-ace exec umu-run "$@";; 'wine') shift 2; GAMEID=umu-ace exec umu-run "$@";;
esac esac
;; ;;
@ -95,6 +95,7 @@ case "$1" in
netdisks) netdisks)
export WINEPREFIX="$HOME/.local/data/wineprefix/Netdisks" export WINEPREFIX="$HOME/.local/data/wineprefix/Netdisks"
export DXVK_HUD=0 export DXVK_HUD=0
unset PROTON_ENABLE_WAYLAND
case "$2" in case "$2" in
'quark') GAMEID=umu-quark exec umu-run 'C:\Installed\QuarkCloudDrive\quark_cloud_drive.exe';; 'quark') GAMEID=umu-quark exec umu-run 'C:\Installed\QuarkCloudDrive\quark_cloud_drive.exe';;
'wine') shift 2; GAMEID=umu-launchers exec umu-run "$@";; 'wine') shift 2; GAMEID=umu-launchers exec umu-run "$@";;

Loading…
Cancel
Save