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

Invalid file magic number when trying to install a patch on Linux #30

Open
ngraham20 opened this issue Sep 30, 2024 · 3 comments
Open

Comments

@ngraham20
Copy link

Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks - please check for updates.

polyversal-20240930T095554.log
polyversal-20240930T103435.log

Steps to reproduce:

  1. Install Steins;Gate
  2. Select Proton 8.0-5
  3. Start Steins;Gate
  4. When the launcher opens, quit
  5. Download and unzip the latest version of Polyversal (v2_1_3)
  6. Double click Polyversal.desktop
  7. Install a patch
  8. STEINS;GATE
  9. Unable to locate STEINS;GATE's game directory. This likely means you have not yet run and quit the game once to generate its Proton prefix.
  10. The logs state: Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks - please check for updates.

Alternatively:
11. ./polyversal install sg
12. polyversal FATAL - Invalid syntax

@39sdev
Copy link

39sdev commented Oct 4, 2024

this is an issue with protontricks being outdated.

uninstall your current protontricks & then install the beta flatpak version using:

flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo

flatpak install flathub-beta com.github.Matoking.protontricks  

@ngraham20
Copy link
Author

this is an issue with protontricks being outdated.

uninstall your current protontricks & then install the beta flatpak version using:

flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo

flatpak install flathub-beta com.github.Matoking.protontricks  

The polyversal script prefers the system package to the flatpak one though, and I'm only 1 minor version behind. Why does this break it?

@ngraham20
Copy link
Author

plus, there's this:

# Protontricks versions earlier than this minversion will cause issues that are hard to make sense of.
readonly ptx_flatpak='com.github.Matoking.protontricks'
readonly ptx_minversion=1.11.0
❯ protontricks --version
protontricks (1.11.1)

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

2 participants