Skip to content

Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks #304

Description

@Richard-Payne

DEVELOPER EDIT:

See this comment for the current workaround.


Describe the bug
When I run protontricks I get this error:

Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks

To Reproduce
Steps to reproduce the behavior:

  1. Run command protontricks 1250410 /home/richard/Downloads/MSFS_Plugin_x64_Software_8.0.313.0.exe
  2. Command fails and error is displayed:
    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 339, in main proton_app = find_proton_app( ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 848, in find_proton_app tool_app = find_steam_compat_tool_app( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 609, in find_steam_compat_tool_app appinfo_sections = [ ^ File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 531, 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.

Expected behavior
It runs the exe I'm passing in the game prefix

System (please complete the following information):

  • Distro: Manjaro
  • Protontricks: flatpak, Manjaro Extras repo and AUR git package
  • Protontricks version: AUR is protontricks (1.11.2.dev7+gf2d605d). Flatpak and Manjaro Extras are both 1.11.1
  • Steam version:
    Steam Beta Update
    Steam Version: 1719453458
    Steam Client Build Date: Thu, Jun 27 2:35 AM UTC -08:00
    Steam Web Build Date: Thu, Jun 27 12:36 AM UTC -08:00
    Steam API Version: SteamClient021

Additional context

https://gist.github.com/Richard-Payne/070d5b08ede33cfa10440e932f48149c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions