summaryrefslogtreecommitdiff
path: root/files/gaming
diff options
context:
space:
mode:
Diffstat (limited to 'files/gaming')
-rw-r--r--files/gaming/MangoHud.conf31
-rw-r--r--files/gaming/gamemode.ini13
-rwxr-xr-xfiles/gaming/scripts/run_egs.sh5
-rwxr-xr-xfiles/gaming/scripts/run_in_proton.sh85
4 files changed, 134 insertions, 0 deletions
diff --git a/files/gaming/MangoHud.conf b/files/gaming/MangoHud.conf
new file mode 100644
index 0000000..1b2a7bd
--- /dev/null
+++ b/files/gaming/MangoHud.conf
@@ -0,0 +1,31 @@
+gamemode
+cpu_temp
+cpu_mhz
+vulkan_driver
+gpu_name
+gpu_power
+gpu_temp
+gpu_junction_temp
+gpu_core_clock
+gpu_voltage
+throttling_status
+vram
+gpu_mem_temp
+gpu_mem_clock
+engine_version
+wine
+winesync
+display_server
+resolution
+present_mode
+table_columns=4
+cellpadding_y=-0.100
+font_size=22
+round_corners
+toggle_preset=
+toggle_hud_position=
+toggle_fps_limit=
+toggle_logging=
+reload_cfg=
+upload_log=
+toggle_hud=Shift_R+F10
diff --git a/files/gaming/gamemode.ini b/files/gaming/gamemode.ini
new file mode 100644
index 0000000..72a72f4
--- /dev/null
+++ b/files/gaming/gamemode.ini
@@ -0,0 +1,13 @@
+[general]
+inhibit_screensaver=0
+#softrealtime=on
+#renice=11
+
+# 'high' is too aggressive for my system.
+#[gpu]
+#apply_gpu_optimisations=accept-responsibility
+#gpu_device=0
+#amd_performance_level=high
+
+[cpu]
+pin_cores=no
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