Giter Site home page Giter Site logo

Comments (5)

Kilinor avatar Kilinor commented on July 17, 2024

This error occurs when one of the library paths is on an NTFS mount.

from protontricks.

cv-shiyanshi avatar cv-shiyanshi commented on July 17, 2024

@Kilinor Hi,Can you share how do you solved it?

from protontricks.

nonchip avatar nonchip commented on July 17, 2024

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.

cyro666 avatar cyro666 commented on July 17, 2024

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.

nonchip avatar nonchip commented on July 17, 2024

@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 greps (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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.