| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:devilutionx [2026/04/25 21:05] – Sean Rhone | games:windows:devilutionx [2026/11/26 11:25] (current) – [Install] Sean Rhone |
|---|
| * Extract to ''%ProgramFiles%\devilutionx'' | * Extract to ''%ProgramFiles%\devilutionx'' |
| |
| DIR "%ProgramFiles%\devilutionx\devilutionx.exe" | DIR /B "%ProgramFiles%\devilutionx\devilutionx.exe" |
| |
| ====== MPQs ====== | ====== MPQs ====== |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-Diablo-DevilutionX-Saves.tar.gz" -C "%AppData%\diasurgical\devilution" *".sv" | "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-D1-DevilutionX-Saves.tar.gz" -C "%AppData%\diasurgical\devilution" *".sv" |
| |
| "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "DevilutionX Save Data Backed-up Successfully to Downloads" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "DevilutionX Save Data Backed-up Successfully to Downloads" |
| |
| "%ProgramFiles%\devilutionx\scripts\save-backup.bat" | "%ProgramFiles%\devilutionx\scripts\save-backup.bat" |
| | |
| | ====== 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 "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /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 |
| |
| ====== Firewall ====== | ====== Firewall ====== |
| ===== Block ===== | ===== Block ===== |
| |
| **** | "%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" |
| | |
| "%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 ===== |
| |
| **** | |
| |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="DevilutionX" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="DevilutionX" |
| * Graphics -> Fit To Screen: Off | * Graphics -> Fit To Screen: Off |
| * Graphics -> Scaling Quality: Nearest Pixel | * Graphics -> Scaling Quality: Nearest Pixel |
| * Audio -> Sample Rate: 48000 | * Audio -> Sample Rate: 44100 |
| * Gameplay -> Randomize Quests: Off | * Gameplay -> Randomize Quests: Off |
| |
| |
| ===== Start Menu ===== | ===== Start Menu ===== |
| |
| **** | |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Diablo" & "%SystemRoot%\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" |
| |
| MKDIR "%AppData%\diasurgical\devilution" & "%SystemRoot%\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 "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /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 | |
| |