summaryrefslogtreecommitdiff
path: root/files/gaming/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-10-17 12:22:00 -0400
committerAndrew Opalach <andrew@akon.city> 2025-10-17 12:32:42 -0400
commit544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (patch)
tree1caa87664ea4937c5f4e6e8dc83c49b3132ddd70 /files/gaming/scripts
parent85a47287e56ba9100420246531ebea5996cc0486 (diff)
downloaddotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.gz
dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.bz2
dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.zip
Gentoo desktop
Diffstat (limited to 'files/gaming/scripts')
-rwxr-xr-xfiles/gaming/scripts/run_egs.sh5
-rwxr-xr-xfiles/gaming/scripts/run_in_proton.sh85
2 files changed, 90 insertions, 0 deletions
diff --git a/files/gaming/scripts/run_egs.sh b/files/gaming/scripts/run_egs.sh
new file mode 100755
index 0000000..88e4864
--- /dev/null
+++ b/files/gaming/scripts/run_egs.sh
@@ -0,0 +1,5 @@
+#! /usr/bin/env sh
+
+#gamescope -W 1920 -H 1080 -w 1920 -h 1080 -r 60 -- env WINEPREFIX=/mnt/hdd/Games/epic_games_store \
+env WINEPREFIX=/mnt/hdd/Games/epic_games_store \
+ umu-run /mnt/hdd/Games/epic_games_store/drive_c/Program\ Files\ \(x86\)/Epic\ Games/Launcher/Portal/Binaries/Win64/EpicGamesLauncher.exe -opengl -SkipBuildPatchPrereq
diff --git a/files/gaming/scripts/run_in_proton.sh b/files/gaming/scripts/run_in_proton.sh
new file mode 100755
index 0000000..6a2cc2a
--- /dev/null
+++ b/files/gaming/scripts/run_in_proton.sh
@@ -0,0 +1,85 @@
+#! /usr/bin/env sh
+# https://github.com/Matoking/protontricks/issues/238
+# https://github.com/cheat-engine/cheat-engine/issues/2789
+#
+# CC_Studio:
+# Rotate -> 5 + 4
+# Move -> 5 + 6
+#
+#EXE="Z:\mnt\hdd\Tools\cheat_engines\Cheat Engine 6.8.1\cheatengine-i386.exe"
+#EXE="Z:\mnt\hdd\Tools\cheat_engines\Cheat Engine 7.5\Cheat Engine.exe"
+#EXE="Z:\mnt\hdd\Tools\cheat_engines\CheatEngine752P.exe"
+#EXE="regedit"
+#EXE="Z:\mnt\hdd\Tools\mhw\CC_Studio/MHW CC Studio.exe"
+#EXE="Z:\mnt\hdd\Tools\mhw\photo_mode\IGCSClient.exe"
+#EXE="Z:\mnt\ssd\SteamLibrary\steamapps\common\Baldurs Gate 3\bin\bg3_dx11.exe"
+#EXE="Z:\mnt\hdd\Tools\baldurs_gate3/modmanager/BG3ModManager.exe"
+#EXE="Z:\home\andrew\dl\windowsdesktop-runtime-7.0.13-win-x64.exe"
+#EXE="Z:\home\andrew\dl\ndp472-kb4054531-web.exe"
+#EXE="Z:\mnt\hdd\Tools\elden_ring\injector\IGCSInjectorUI.exe"
+#EXE="Z:\mnt\hdd\Tools\elden_ring\camera_tools\IGCSClient.exe"
+#EXE="Z:\mnt\hdd\Tools\x360ce\x360ce.exe"
+#EXE="Z:\mnt\hdd\Tools\fluffy_modmanager\Modmanager.exe"
+
+EXE="Z:\mnt\hdd\Tools\cheat_engines\Cheat Engine 7.5.2\Cheat Engine.exe"
+#EXE="Z:\mnt\hdd\Tools\cheat_engines\Cheat Engine 7.5.2\cheatengine-i386.exe"
+
+#EXE="IGCSInjector.exe"
+
+#EXE="Z:\mnt\hdd\Tools\inject.exe"
+#ARG0="MonsterHunterWorld.exe"
+
+#EXE="Z:\mnt\hdd\Tools\injector.exe"
+#ARG0="-n"
+
+#ARG1="eldenring.exe"
+#ARG2="Z:\mnt\hdd\Tools\elden_ring\camera_tools\EldenRingCameraTools.dll"
+
+#ARG1="TombRaider.exe"
+#ARG2="TombRaiderCameraTools.dll"
+
+#ARG1="MonsterHunterWorld"
+#ARG2="Z:\mnt\hdd\Tools\reshade\ReShade64.dll"
+
+#APP_ID=367500 # Dragon's Dogma
+APP_ID=582010 # Monster Hunter World
+#APP_ID=1086940
+#APP_ID=3737539014
+#APP_ID=1245620
+#APP_ID=2054970
+#APP_ID=203160 # Tomb Raider
+#APP_ID=357190 # UMVC3
+BUS_NAME=com.steampowered.App$APP_ID
+#BUS_NAME=com.steampowered.App0
+
+#export WINEARCH=win64
+#export WINEARCH=win32
+export WINE="$HOME/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/wine"
+#export WINE="/mnt/ssd/SteamLibrary/steamapps/common/Proton 10.0/files/bin/wine"
+
+export PROTON_NO_USERSETTINGS=1
+#export WINEDLLOVERRIDES="*mscoree=n;*fusion=n"
+#export WINEDEBUG=+tid,err+all,fixme-all,-loaddll
+
+#STEAMAPPS=$HOME/.steam/steam/steamapps
+#STEAMAPPS="/mnt/hdd/SteamLibrary/steamapps"
+STEAMAPPS="/mnt/ssd/SteamLibrary/steamapps"
+
+WINEPREFIX=$STEAMAPPS/compatdata/$APP_ID/pfx
+export WINEPREFIX
+
+#steam-run "$WINE" uninstaller
+#steam-run "$WINE" winecfg -v win7
+#steam-run "$WINE" "Z:\home\andrew\.cache\winetricks\dotnet452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe"
+#steam-run "$WINE" "Z:\home\andrew\.cache\winetricks\dotnet48\ndp48-x86-x64-allos-enu.exe"
+
+#steam-run winetricks -q dotnet48
+#steam-run "$WINE" control
+
+#steam-run "$WINE" $EXE
+#steam-run $HOME/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launch-client --list
+
+$HOME/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/steam-runtime-launch-client \
+ --bus-name=$BUS_NAME -- \
+ env STEAM_COMPAT_MOUNTS=/mnt/hdd/SteamLibrary:/mnt/hdd/Tools WINEPREFIX=$WINEPREFIX \
+ "$WINE" "$EXE" $ARG0 $ARG1 $ARG2