Steam for Linux

Steam for Linux

mcc239 Jul 5, 2020 @ 1:48pm
winecfg steam
I have just bought The Witcher: Enhanced Edition Director's Cut, for a laptop running Manjaro and an old 3000HD integrated gpu.

There are graphics glitches but there is a work around. I need alter what looks like a direct x reg key to:

"HKEY_CURRENT_USER\Software\Wine\Direct3D", add the String
"CheckFloatConstants" with the value "enabled"

Which I could do with winecfg, if using wine but I can't figure how to do something similar using Stream.

Has anyone got any ideas?
< >
Showing 1-5 of 5 comments
thetargos Jul 5, 2020 @ 2:50pm 
Personally I've found that doing small home-keeping like that is faster to do it straight from the command-line, but does require you to know exactly what you are doing... All you need to know are the paths for Proton and the game prefix, in this case STEAM_LIBRARY refers to the top level of your SteamLibrary directory, default and in most cases should be located in $HOME/.local/share/Steam/, so, all you need to do is to call regedit passing the WINEFREFIX as the game prefix:

WINEPREFIX="/path/to/.local/share/Steam/steamapps/compatdata/20900/pfx" $STEAM_LIBRARY/steamapps/common/Proton\ 5.0/dist/bin/wine regedit

What the above will do is to call wine's implementation of Proton 5 and start regedit, using the game prefix as its destination prefix. One caveat: WINEPREFIX needs to be (or evaluate to) an absolute path, i.e, starting from '/' .

By evaluate I mean that you can use variables (as in the scrip above this post) to shorten the writen text, such as $HOME for instance (that will evaluate to /home/<user_name>), however you cannot use the alias '~' to accomplish the same. STEAM_LIBRARY is an arbitrary variable I used to indicate something like /home/some_user/.local/share/Steam, you set variables usually in capitals and followed by '=' and evaluate them preceded by '$' and the variable name (by convention envirnoment variables are capitalizad, and regular variables in scripts or in-line, for instance, do not need to be, but it is easier to identify them in this way, though it is not mandatory nor enforced).

That should make it easier to understand and substitute accordingly in the script above, which may be quite useful for more complex tasks.
mcc239 Jul 6, 2020 @ 11:37am 
Thanks for your help, I used Hot Sick's method and it worked.

Tiny problem, the Direct3D reg key doesn't exist, it is like directx hasn't been installed. So I have been foiled again.

At least I got the Witcher 2 to work.
Marlock Jul 6, 2020 @ 4:12pm 
Ah, the windows registry... it brings me back memories of ATI driver reinstalls :winter2019surprisedyul::lunar2019shockedpig::twopointrage::Northmen:

...and yet they say Linux is hard.

Is this a case where one user could share a .reg file and it would work fine for all others? Or is it a bunch of registries that each person has a variation of them which won't fit anyone else?
Last edited by Marlock; Jul 6, 2020 @ 4:14pm
thetargos Jul 6, 2020 @ 8:31pm 
Originally posted by Marlock:
Ah, the windows registry... it brings me back memories of ATI driver reinstalls :winter2019surprisedyul::lunar2019shockedpig::twopointrage::Northmen:

...and yet they say Linux is hard.

Is this a case where one user could share a .reg file and it would work fine for all others? Or is it a bunch of registries that each person has a variation of them which won't fit anyone else?
There was a point in time that wine registry keys for D3D and DDraw that it may have made sense, it was crazy that some games required a set of parameters and others would just brake with such parameters (to some extent that was how PlayOnLinux applied some fixes in its scripts). It still is to some extent to a much lower degree, especially with the advent of Proton, but if you have a large number games/apps running with plain wine, some times it still requires you to fiddle, especially if care has not been taken to separate things into "bottles". But you'd have to fiddle much more than having separate prefixes by application, as Proton does (and earlier, how Play On Linux and Play On Mac behaved as well).

It has been a while since I had to mess with that, mainly because I do not run those games/apps as often.
Marlock Jul 7, 2020 @ 7:50am 
I guess (despite the nostalgia wording) @thetargos did answer my question about the entries being exportable from one user to another...

which was in itself pertinent to proposing or not that someone could export a .reg file with directX entries and OP would then use that...

alas, given what @thetargos mentioned, it looks like it wouldn't work...

do you disagree? is there a good generic .reg OP could import to fix this?
Last edited by Marlock; Jul 7, 2020 @ 7:50am
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jul 5, 2020 @ 1:48pm
Posts: 5