Guest User

Static Proton Prefix by nxbrew

a guest
Jun 13th, 2024
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. Its generally recommended to make a new stable prefix once a new stable version released or if some games wont work anymore/new games wont work
  2.  
  3. The flatpak versions of Protontricks and protonup-qt is needed so uninstall the current version if installed
  4.  
  5. Requirements:
  6. Sudo password(use the command "passwd" in terminal and set your own password(DONT FORGET IT)
  7.  
  8. Copy and paste those commands(they will install flatpak and the 2 packages:
  9.  
  10. sudo steamos-readonly disable
  11. sudo btrfs property set -ts / ro false
  12. sudo pacman-key --init
  13. sudo pacman-key --populate archlinux
  14. sudo pacman-key --populate holo
  15. sudo pacman -Syu
  16. sudo pacman -S flatpak
  17. sudo flatpak install flathub com.github.Matoking.protontricks
  18. flatpak install flathub net.davidotek.pupgui2
  19.  
  20. Install latest proton-ge with protonup-qt
  21. Launch the game for proton experimental with build in experimental proton from steam
  22.  
  23. Dependencies AIO
  24. https://www.mediafire.com/file/u4did4mzvmb5s5i/Librerias-AiO.exe/file(DONT INSTALL THE NVIDIA DRIVER AND THE JAVA RUNTIME)
  25.  
  26. stable-9-7 means proton-ge 9-7
  27. Change name to the version that's up-to-date at your time and date
  28.  
  29. Step 1: add non steam game(proton-ge & experimental)
  30. //Those don't need to be games but they need to be a exe so the proton prefixes are created
  31. //I'll highly recommend adding the AIO dependencies file cuz you can install all dependencies this way at once
  32.  
  33. Step 2: set compatibility and launch after
  34.  
  35. Step 3: find the prefix from the just launched games(proton-ge & experimental)
  36. //you can use protontricks
  37.  
  38. Step 4: create symlink(stable-9-7 & experimental)
  39.  
  40. Step 5: clear target and start in text box
  41.  
  42. Step 6: Right Click > Manage > Hide this game
  43.  
  44.  
  45. Setting up ProtonTricks to Install Games
  46.  
  47. Step 0.5: make sure that the path exists
  48. mkdir -p ~/.local/share/applications
  49.  
  50. Step 1: copy executable to application
  51. cp /var/lib/flatpak/exports/share/applications/com.github.Matoking.protontricks-launch.desktop ~/.local/share/applications/protontricks-launch-lla.desktop
  52.  
  53. Step 2: edit the file protontricks-launch-lla.desktop
  54. Just add necessary lines to pre existing file
  55. [Desktop Entry]
  56. Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --env=WINE_LARGE_ADDRESS_AWARE=0 --env=PROTON_FORCE_LARGE_ADDRESS_AWARE=0 --command=protontricks-launch --file-forwarding com.github.Matoking.protontricks --no-term @@ %f @@
  57. Name=Protontricks Launcher (LLA)
  58. Type=Application
  59. Terminal=false
  60. NoDisplay=true
  61. Categories=Utility
  62. Icon=com.github.Matoking.protontricks
  63. MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;
  64. X-Flatpak=com.github.Matoking.protontricks
  65.  
  66. Step 3: update desktop database
  67. update-desktop-database ~/.local/share/applications/
  68.  
  69.  
  70. Installing Games(repacks)
  71.  
  72. Step 1:Right click -> Protontricks Launcher (LLA)
  73. //or Right click -> Open With -> Protontricks Launcher (LLA)
  74. Step 2: select either Experimental or stable-9-7
  75.  
  76. Adding Game to Steam
  77.  
  78. Step 1: add the executable to steam
  79. 1: right click -> add to steam
  80. 2: click on "Add a Game" -> Add a Non-Steam Game -> Browse -> search for the executable -> "Add Selected Program"
  81.  
  82. Step 2: go to comparability and force either Experimental or a stable release
  83.  
  84. Step 3: Add winedlloverrides
  85.  
  86. STEAM_COMPAT_DATA_PATH="/home/deck/.steam/steam/steamapps/compatdata/experimental"
  87. //Prefix for proton experimental
  88. STEAM_COMPAT_DATA_PATH="/home/deck/.steam/steam/steamapps/compatdata/stable-9-7"
  89. //Custom prefix name for x proton version
  90. STEAM_COMPAT_MOUNTS=/run/media/name_of_drive
  91. //Mount drive to proton(potentially useful for games on a separate partition but not needed for normal use case)
  92.  
  93. Example of a working override:
  94. STEAM_COMPAT_DATA_PATH="/home/deck/.steam/steam/steamapps/compatdata/experimental" %COMMAND%
  95.  
  96.  
  97. This guide was originally posted by someThrowawayGuy on reddit
  98. Credits to him
Add Comment
Please, Sign In to add comment