Advertisement
Guest User

Untitled

a guest
Jan 7th, 2023
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. # ProtonPreloader config.bat file
  2. @echo off
  3. cd /D "%~dp0"
  4. :: -------------------------------------------
  5. :: Main script part
  6. :: -------------------------------------------
  7.  
  8. :: Change next line to call another utility
  9. start "Utility to start before game" "fw\FlawlessWidescreen.exe"
  10.  
  11. echo "Arguments to be passed to game executable are: %*"
  12.  
  13. pause
  14.  
  15. :: Change next line to change path to game executable
  16. start "Main game executable" "ff7remake.exe" %*
  17.  
  18.  
  19. #Protontricks: Steam argument for FF7remake. Direct paths didn't work here either.
  20. protontricks --no-runtime -c 'wine ~/.steam/flawlesswidescreen/FlawlessWidescreen.exe' 1462040
  21.  
  22. #Steam argument for FF7remake using wineprefix. Direct paths didn't work here either.
  23. :: WINEPREFIX="~/.steam/steamapps/compatdata/1462040/pfx" "~/.steam/steam/compatibilitytools.d/GE-Proton7-43/files/bin/wine" "~/.steam/flawlesswidescreen/FlawlessWidescreen.exe"
  24.  
  25. #Google search suggestion: bash script
  26. #https://www.reddit.com/r/linux_gaming/comments/z33dmg/i_found_an_easy_way_to_run_flawless_widescreen/
  27. #!/bin/bash
  28. WINEFSYNC=1 WINEPREFIX="$HOME/.steam/steamapps/compatdata/1462040/pfx" "$HOME/.local/share/Steam/compatibilitytools.d/GE-Proton7-43/files/bin/wine" FlawlessWidescreen.exe
  29.  
  30. #Google search Suggestion: bash script
  31. !/usr/bin/env bash
  32. set -Eeuo pipefail
  33.  
  34. export WINEFSYNC=1
  35.  
  36. export WINEPREFIX="$HOME/.steam/steamapps/compatdata/1462040/pfx"
  37.  
  38. "$HOME/.local/share/Steam/compatibilitytools.d/GE-Proton7-43/files/bin/wine" FlawlessWidescreen.exe ```
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement