| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:devilutionx [2025/09/03 02:52] – [Save Restore] Sean Rhone | games:windows:devilutionx [2026/03/03 14:22] (current) – Sean Rhone |
|---|
| ====== MPQs ====== | ====== MPQs ====== |
| |
| **** | * Required: ''DIABDAT.MPQ'' |
| | * Hellfire: ''hellfire.mpq'', ''hfmonk.mpq'', ''hfmusic.mpq'', ''hfvoice.mpq'' |
| | |
| | "%SystemRoot%\explorer.exe" "%ProgramFiles%\devilutionx" |
| |
| "explorer.exe" "%ProgramFiles%\devilutionx" | DIR /B "%ProgramFiles%\devilutionx\*.mpq" |
| |
| ====== Scripts ====== | ====== Scripts ====== |
| ===== Save Data Back-up ===== | ===== Save Data Back-up ===== |
| |
| "notepad.exe" "%ProgramFiles%\devilutionx\DevilutionX-save-backup.bat" | "%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\devilutionx\DevilutionX-save-backup.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-Diablo-DevilutionX-Saves.tar.gz" -C "%AppData%\diasurgical\devilution" *".sv" | CD "%Temp%" |
| | |
| | "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-Diablo-DevilutionX-Saves.tar.gz" -C "%AppData%\diasurgical\devilution" *".sv" |
| | |
| | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "DevilutionX Save Data Backed-up Successfully to Downloads" |
| |
| :: End</code> | :: End</code> |
| **** | **** |
| |
| "netsh.exe" advfirewall firewall add rule name="DevilutionX" dir="in" action="block" profile="any" program="%ProgramFiles%\devilutionx\devilutionx.exe" && "netsh.exe" advfirewall firewall add rule name="DevilutionX" dir="out" action="block" profile="any" program="%ProgramFiles%\devilutionx\devilutionx.exe" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="DevilutionX" dir="in" action="block" profile="any" program="%ProgramFiles%\devilutionx\devilutionx.exe" && "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="DevilutionX" dir="out" action="block" profile="any" program="%ProgramFiles%\devilutionx\devilutionx.exe" |
| |
| ===== Delete Rules ===== | ===== Delete Rules ===== |
| **** | **** |
| |
| "netsh.exe" advfirewall firewall delete rule name="DevilutionX" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="DevilutionX" |
| | |
| | ====== Settings ====== |
| | |
| | * Graphics -> Fit To Screen: Off |
| | * Graphics -> Scaling Quality: Nearest Pixel |
| | * Audio -> Sample Rate: 48000 |
| | * Gameplay -> Randomize Quests: Off |
| |
| ====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
| **** | **** |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Diablo" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Diablo" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Diablo" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Diablo" |
| |
| ==== DevilutionX ==== | ==== DevilutionX ==== |
| * ''diasurgical\devilution\stash.sv'' | * ''diasurgical\devilution\stash.sv'' |
| |
| MKDIR "%AppData%\diasurgical\devilution" & "explorer.exe" "%AppData%\diasurgical\devilution" | MKDIR "%AppData%\diasurgical\devilution" & "%SystemRoot%\explorer.exe" "%AppData%\diasurgical\devilution" |
| | |
| | ====== Compat Settings ====== |
| | |
| | "%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\devilutionx\devilutionx.exe" /t "REG_SZ" /d "~ HIGHDPIAWARE" /f |
| | |
| | "%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\devilutionx.exe" /v "UseLargePages" /t "REG_DWORD" /d "1" /f |
| |