Skip to content

Instantly share code, notes, and snippets.

@annmuor
Created March 20, 2020 23:36
Show Gist options
  • Select an option

  • Save annmuor/88009be669db8c53a31b99e6c5835a07 to your computer and use it in GitHub Desktop.

Select an option

Save annmuor/88009be669db8c53a31b99e6c5835a07 to your computer and use it in GitHub Desktop.
#!/bin/sh
LIB="~/.local/share/Steam/steamapps/common"
BINARY="$LIB/Proton 5.0/dist/bin/wine"
EXE="$LIB/DOOMEternal/DOOMEternalx64vk.exe"
ARGS="+in_terminal 1 +com_skipIntroVideo 1 +com_skipKeyPressOnLoadScreens 1 +com_skipSignInManager 1"
WINEPREFIX="$LIB/DOOMEternal/prefix" "$BINARY" "$EXE" $ARGS
@tyqualters
Copy link

I'm kind of stupid with bash, but I keep getting ./doom.sh: line 6: ~/.local/share/Steam/steamapps/common/'Proton 5.0'/dist/bin/wine: No such file or directory (I added the single quotes in an attempt to fix this) and then I paste the exact location into console ~/.local/share/Steam/steamapps/common/'Proton 5.0'/dist/bin/wine and I get the normal "requires parameters" response from WINE. Any ideas? Would like to try to play the game I just spent $80 for on Steam. Lol

#!/bin/sh
LIB="~/.local/share/Steam/steamapps/common"
BINARY="$LIB/'Proton 5.0'/dist/bin/wine"
EXE="/media/steamgames/SteamLibrary/steamapps/common/DOOMEternal/DOOMEternalx64vk.exe"
ARGS="+in_terminal 1 +com_skipIntroVideo 1 +com_skipKeyPressOnLoadScreens 1 +com_skipSignInManager 1"
WINEPREFIX="$LIB/DOOMEternal/prefix" "$BINARY" "$EXE" $ARGS

@annmuor
Copy link
Author

annmuor commented Mar 21, 2020

First you must get your proton 5.0 ( use steamplay + steam beta ) and download it

@tyqualters
Copy link

(Imgur links) Proton 5.0.4 should be installed. Images show exact process. Note: The base installation of my game is on /media/steamgames/SteamLibrary/steamapps/common/DOOMEternal and that it's set to use Proton 5.0.4, and I am using the Steam Beta client. I'm currently using Arch with KDE Plasma. Any further suggestions?
Also, thanks for the swift response!

@annmuor
Copy link
Author

annmuor commented Mar 21, 2020

If so change the LIB variable to /media/steamgames/SteamLibrary/steamapps/common

@ZacJoffe
Copy link

ZacJoffe commented Mar 21, 2020

For anyone else having trouble, try changing ~ to your absolute path. So instead of LIB="~/.local/share/Steam/steamapps/common", use something like LIB="/home/zac/.local/share/Steam/steamapps/common".

@tyqualters
Copy link

tyqualters commented Mar 21, 2020

Now I'm getting an error initializing the SteamAPI (I followed ZacJoffe's advice)

@ZacJoffe
Copy link

@SalmonSeasoning Try this script out. Replace [YOUR_USERNAME_HERE] with your username.

#!/bin/sh
LIB="/home/[YOUR_USERNAME_HERE]/.local/share/Steam/steamapps/common"
BINARY="$LIB/Proton 5.0/dist/bin/wine"
EXE="/media/steamgames/SteamLibrary/steamapps/common/DOOMEternal/DOOMEternalx64vk.exe"
ARGS="+in_terminal 1 +com_skipIntroVideo 1 +com_skipKeyPressOnLoadScreens 1 +com_skipSignInManager 1"
WINEPREFIX="$LIB/DOOMEternal/prefix" "$BINARY" "$EXE" $ARGS

@ZacJoffe
Copy link

ZacJoffe commented Mar 21, 2020

@SalmonSeasoning I'm getting the same error. AFAIK it doesn't have to do with the script, I think it's out of date vulkan-headers? Since you're using Arch this might help. I've been in my room working remotely and playing Doom 64 all day so I'm going outside or something. I'll update the thread if I get it working.

@tyqualters
Copy link

tyqualters commented Mar 21, 2020

@ZacJoffe Unfortunately this is all I get... :( I had to manually go in and add DOOMEternal/prefix folder at $LIB to stop it from complaining "directory doesn't exist". Am I doing something wrong? Tf? Lol

Edit:

so I'm going outside or something. I'll update the thread if I get it working.

Ok, well thanks and enjoy your time in the great outdoors! 👍

Pic

@GodfatherOfBandwidth
Copy link

@SalmonSeasoning I get exactly the same thing.

@grand248
Copy link

I get the same thing when using the script about 'Unable to initialize Steam API' I wonder how @annmuor is not getting this?
I'm running Vulkan loaders 1.2.135.r2 on Manjaro with the Proton he provided.

@UVCRocketRunner
Copy link

I keep running into the same bash error, even when I have $LIB pointed right at the exact filesystem location where Steam is. I have Steam installed through Flatpak, if that makes any difference (so instead of /.local/share/ or /media/, Steam and my games are all under /.var/app/com.valvesoftware.Steam/).

@annmuor
Copy link
Author

annmuor commented Mar 21, 2020

@grand248 replace binary with drm-free one for sure :)

@tyqualters
Copy link

tyqualters commented Mar 21, 2020

u/Kron4ek has a working version and has modified Proton on his GitHub so that you can run it. You still need the latest Vulkan headers and loader, as well as a special patch iirc, and of course the drm-free binary. I personally haven't gotten it working, but he's demonstrated that it will run and that its performance is very very shitty compared to running on Windows, which isn't surprising.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment