simons-public / protonfixes

A module for applying fixes at runtime to unsupported games with Steam Proton without changing game installation files
https://simons-public.github.io/protonfixes/
Other
233 stars 114 forks source link

Update for new Proton, not backwards compatible #82

Closed daniel-j closed 5 years ago

daniel-j commented 5 years ago

I did a quick fix for supporting new Proton (4.11-2) which changes how env, wine path etc are accessed. You can use this as a reference when making it compatible with newer Proton versions. Thought I'd share.

NOTE: I have not tested the prefix32 stuff. Please test that before merging!

Also, make a new release when done. I want to flag the AUR package (non-git one) as out of date :)

daniel-j commented 5 years ago

Again, this is not backwards compatible with Proton 4.2 and earlier.

pchome commented 5 years ago

To make it backwards compatible with Proton 4.2 you could use protonversion(True) to get current version timestamp. https://github.com/simons-public/protonfixes/blob/5cb51dc1fb1660a80200f16ed964466ab765786d/protonfixes/gamefixes/424840.py#L13-L14

simons-public commented 5 years ago

Sorry, I haven't had a chance to test this yet since my gaming computer is down. I'm going to go ahead and merge this since it fixes a breaking change and put a note on the readme regarding backwards compatibility.