Comments (5)
This error occurs when one of the library paths is on an NTFS mount.
from protontricks.
@Kilinor Hi,Can you share how do you solved it?
from protontricks.
this error just occured to me with none of the library paths being on an ntfs mount.
$ protontricks 551770 shell
[INFO] Found Steam directory at /home/kyra/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
[INFO] WINETRICKS environment variable is not available. Falling back to /usr/bin/winetricks
[INFO] Found 0 Steam library folders
Traceback (most recent call last):
File "/usr/local/bin/protontricks", line 316, in <module>
steam_dir=steam_dir, steam_apps=steam_apps)
File "/usr/local/bin/protontricks", line 163, in find_current_proton_app
proton_appid = re.search(appid_regex, appinfo).group(2)
AttributeError: 'NoneType' object has no attribute 'group'
$ ls .steam/steam/steamapps/compatdata/551770/
pfx pfx.lock tracked_files version
$ mount
(...)
/dev/mapper/vg_pool-lv_root on / type ext4 (rw,relatime)
(...)
interestingly it worked perfectly fine about a week ago.
if i had to guess i'd say valve might be updating their proprietary binary appinfo.vdf
format from time to time, breaking compatibility? why do you need to parse that anyway? looks like you're just getting the proton version to use from there, and that's already in plain text in config.vdf
(which btw you're also parsing wrong, but at least according to the comment you know that) under "CompatToolMapping"
...
from protontricks.
Yup, just happened to me as well. Used to work a few weeks ago. I just did a protontricks -c "pwd" 2100
. Seems to only happen with some of the games, not all. Weird.
Judging by the fact that it just started to happen without me updating protontricks, I'd say the fault is probably in the way Steam works. They must have changed something. Or maybe it's because of python 3.7.3, but I doubt it.
from protontricks.
@cyro666 turns out just using the fork from https://github.com/Matoking/protontricks fixed it :P
this repo is not maintained anymore anyway, that's the one @Sirmentio recommends.
as for the reason: they have changed the way their appinfo.vdf
cache file works, and this version essentially just grep
s (not really, but the equivalent in python) it and has a hardcoded offset it reads and then assumes automatic success, while the forked version parses that file a bit more robust.
from protontricks.
Related Issues (20)
- Proton and the game being in different libraries fails HOT 1
- Version mismatch HOT 1
- WINE not on path when using protontricks HOT 4
- protontricks tries to use "steamapps" directory instead of "SteamApps" HOT 3
- protontricks does not work with proton 3.16 HOT 10
- Please, enable installation of dotnet35 and dotnet20 on 64bitsprefix. HOT 3
- Protontricks doesn't know about $STEAM_DIR/compatibilitytools.d/ HOT 1
- AttributeError with proton 3.16-3beta HOT 1
- Use steam runtime to execute proton-wine HOT 1
- Protontricks fail with python syntax error. HOT 3
- Does not work with flatpak Steam HOT 7
- UnboundedLocalError HOT 1
- Can't detect non-Steam proton added games HOT 2
- Dotnet installation not possible
- Cannot install dotnet anymore HOT 1
- Fedora 31 build of steam changes "Steam" directory
- WINE is /home/bill/.steam/steam/steamapps/common/Proton 5.0/dist/bin/wine, which is neither on the path nor an executable file
- Installing Windows Libraries HOT 2
- Problem with Wine not being on path.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protontricks.