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
232 stars 117 forks source link

No module named 'protonfixes' #140

Closed NeumimTo closed 3 years ago

NeumimTo commented 3 years ago

Describe the bug "No module named 'proton fixes'" in logs when running games via steamplay

To Reproduce

Operating System:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:    20.04
Codename:   focal
$ cat /proc/version
Linux version 5.4.0-51-generic (buildd@lcy01-amd64-020) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020

All my partitions are encrypted via ubuntu's fde if thats relevant

logs below contains information about modules and executable

user_settings.py

import sys
print(sys.executable)
print(sys.modules)

#Settings here will take effect for all games run in this Proton version.

import protonfixes
user_settings = { ....

Logs: https://gist.github.com/NeumimTo/566c00390f175d183e21671da74748d9

Protontricks seems to be installed correctly in my system, I can import protontricks module from python3 console

$ python3
Python 3.8.5 (default, Jul 28 2020, 12:59:40) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import protontricks
>>> protontricks.
protontricks.COMMON_STEAM_DIRS                 protontricks.find_steam_runtime_path(          protontricks.run_command(
protontricks.SteamApp(                         protontricks.get_custom_proton_installations(  protontricks.select_steam_app_with_gui(
protontricks.create_wine_bin_dir(              protontricks.get_runtime_library_path(         protontricks.steam
protontricks.find_appid_proton_prefix(         protontricks.get_steam_apps(                   protontricks.util
protontricks.find_proton_app(                  protontricks.get_steam_lib_paths(              protontricks.winetricks
protontricks.find_steam_path(                  protontricks.get_winetricks_path(              
protontricks.find_steam_proton_app(            protontricks.gui                               
>>> protontricks.COMMON_STEAM_DIRS
['.steam/steam', '.local/share/Steam']
>>> exit()
soredake commented 3 years ago

Proton now uses isolated steam-linux-runtime https://github.com/ValveSoftware/Proton/issues/4274

NeumimTo commented 3 years ago

fixed, thanks