Advertisement
Tom_Neverwinter

Hawken variable menu for resolution

Apr 10th, 2023
1,772
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.92 KB | None | 1 0
  1. @echo off
  2. :MENU
  3. cls
  4. echo ==================================
  5. echo Hawken Resolution Changer
  6. echo ==================================
  7. echo Choose a screen resolution:
  8. echo 1) 1280x720
  9. echo 2) 1366x768
  10. echo 3) 1600x900
  11. echo 4) 1920x1080
  12. echo 5) 2560x1440
  13. echo 6) 3840x2160
  14. echo 7) Exit
  15. echo ==================================
  16. set /p choice=Enter your choice (1-7):
  17. if "%choice%" == "1" set resx=1280&set resy=720&goto RUN
  18. if "%choice%" == "2" set resx=1366&set resy=768&goto RUN
  19. if "%choice%" == "3" set resx=1600&set resy=900&goto RUN
  20. if "%choice%" == "4" set resx=1920&set resy=1080&goto RUN
  21. if "%choice%" == "5" set resx=2560&set resy=1440&goto RUN
  22. if "%choice%" == "6" set resx=3840&set resy=2160&goto RUN
  23. if "%choice%" == "7" goto EXIT
  24. goto MENU
  25.  
  26. :RUN
  27. echo Launching Hawken with %resx%x%resy% resolution...
  28. start "" "%~dp0HawkenGame-Win32-Shipping.exe" -FULLSCREEN -resx=%resx% -resy=%resy%
  29. goto EXIT
  30.  
  31. :EXIT
  32. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement