View previous topic :: View next topic |
Author |
Message |
gekret005 n00b
Joined: 07 Jan 2023 Posts: 11
|
Posted: Sat Jan 07, 2023 7:11 pm Post subject: Use Native System Wine as Compatibility Tool In Steam |
|
|
I'd like to use the native versions of wine/proton on my system rather than utilizing the builds of proton Valve ships. Does anyone have a method of achieving this? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31334 Location: here
|
Posted: Sat Jan 07, 2023 7:15 pm Post subject: |
|
|
Welcome to gentoo forum.
Maybe installing app-emulation/wine-vanilla or app-emulation/wine-proton? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
gekret005 n00b
Joined: 07 Jan 2023 Posts: 11
|
Posted: Sat Jan 07, 2023 7:20 pm Post subject: |
|
|
Thanks, but I guess I need to be more specific, I have versions of wine on my system already and I can run games outside of steam, but this doesn't let me run games that require the steam client without running the steam client a second time in wine, or need EAC garbage to startup. What I'm asking is if there's a good method to add a compatibility tool to steam like proton-GE-custom, but instead of a packed build of wine it just goes to the main system wine at /usr/bin/wine.
Code: |
$ eselect wine list
Available Wine slots:
[1] wine-proton-7.0.5 * (main)
[2] wine-proton-7.0.9999
[3] wine-staging-7.22 *
[4] wine-staging-9999
[5] wine-vanilla-7.22 *
[6] wine-vanilla-9999
|
|
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 665
|
Posted: Sat Jan 07, 2023 11:10 pm Post subject: |
|
|
Whilst wine is at the core of proton, there is a lot wrapped around it.
My suggestion would be to install a GloriousEggroll instance in compatibilitytools.d, then do a quick and dirty hack by dropping the wine binaries you want to use in this instance over the top, or (preferably) try and do it properly by making the contents of the /files/bin /files/lib and /files/lib64 symlinks to native files.
It's an interesting concept that it's possible to create a Proton-gentoo-native by wrapping GE's protonfixes and proton around a native gentoo wine, but GE does such good work at staying on the top of the wave that it feels like a lot of work for not much return. |
|
Back to top |
|
|
gekret005 n00b
Joined: 07 Jan 2023 Posts: 11
|
Posted: Tue Jan 17, 2023 7:41 pm Post subject: |
|
|
I looked into symlinking and whatnot but it would be such a dirty mess as it's all packaged different and I'm not even certain it's going to work. I guess at some point I could see about porting over this pkgbuild to an ebuild https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=proton-ge-custom so that I could compile it against my own system's libraries, but I guess using the same version of wine for both steam and outside of steam are out of the question as I couldn't find anything about it. |
|
Back to top |
|
|
s_j_newbury n00b
Joined: 05 Apr 2007 Posts: 58 Location: UK
|
Posted: Tue Dec 10, 2024 2:47 pm Post subject: |
|
|
This really shouldn't be too difficult. I've been using my own custom proton build and have replaced most of the custom built components utilised in the "proton" wrapper. Utilising the system wine isn't really a big step, the only reason I haven't already done so is due the proton specific patches such as fshack which are useful for Steam. Since Gentoo now has a wine-proton build this isn't even necessary anymore. This will also make it easy to add support for winewayland, so I'll see if I can come up with something which works including adding winewayland support. |
|
Back to top |
|
|
s_j_newbury n00b
Joined: 05 Apr 2007 Posts: 58 Location: UK
|
Posted: Wed Dec 11, 2024 9:59 pm Post subject: |
|
|
s_j_newbury wrote: | This really shouldn't be too difficult. I've been using my own custom proton build and have replaced most of the custom built components utilised in the "proton" wrapper. Utilising the system wine isn't really a big step, the only reason I haven't already done so is due the proton specific patches such as fshack which are useful for Steam. Since Gentoo now has a wine-proton build this isn't even necessary anymore. This will also make it easy to add support for winewayland, so I'll see if I can come up with something which works including adding winewayland support. |
The challenge here is to dynamically recompile lsteamclient.dll for the eselected Wine version from the proton wrapper when the prefix is updated. This requires either determining when wine would trigger a prefix update, or keeping track of the target version in the prefix, perhaps with a text file storing the wine version. The former would be better, and trying to figure out how Wine determines the prefix to need updating. If anybody knows where to look i the code base a hint would be welcomed. |
|
Back to top |
|
|
|