Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The appinfo.vdf version might not be supported by the current version of Protontricks #340

Closed
ademarest opened this issue Sep 12, 2024 · 4 comments

Comments

@ademarest
Copy link

Steam released a new build today.
When attempting to select any steam app protontricks complains about appinfo.vdf and crashes.
This happens on Fedora 40 and Archlinux.
Here's my Steam about section. It is a stable build.
image

Terminal output regarding the syntax error:

Traceback (most recent call last):
  File "/usr/bin/protontricks", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/usr/lib/python3.12/site-packages/protontricks/cli/main.py", line 32, in cli
    main(args)
  File "/usr/lib/python3.12/site-packages/protontricks/cli/util.py", line 159, in wrapper
    return cli_func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/protontricks/cli/main.py", line 297, in main
    proton_app = find_proton_app(
                 ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 860, in find_proton_app
    tool_app = find_steam_compat_tool_app(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 621, in find_steam_compat_tool_app
    appinfo_sections = [
                       ^
  File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 543, in iter_appinfo_sections
    raise SyntaxError(
SyntaxError: Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks - please check for updates.
@Heisenborgar
Copy link

Heisenborgar commented Sep 12, 2024

I got the same errors. Literally can't run apps under protontricks anymore.

Edit: Tried downgrading, or switching to non-git version. Still errors.

@d3-X-t3r
Copy link

@ademarest @Heisenborgar The workaround/fix here worked for me: #304 (comment)

@Heisenborgar
Copy link

Thanks @d3-X-t3r Honestly mine was working fine until I updated protontricks this morning

@Matoking
Copy link
Owner

As stated, the beta version of Protontricks has to be installed per the instructions. There's also a notice in the header of the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants