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

Psychonauts 2: Wine extraction failed #550

Open
LeXofLeviafan opened this issue Dec 17, 2022 · 5 comments
Open

Psychonauts 2: Wine extraction failed #550

LeXofLeviafan opened this issue Dec 17, 2022 · 5 comments

Comments

@LeXofLeviafan
Copy link
Contributor

I've just tried installing Psychonauts 2 using minigalaxy (v1.2.2); it spent a while downloading the ~30Gb file, then froze my system for a minute, and after that deleted the file and declared that "Wine extraction failed"…

Here's the kicker though: the file it downloaded is named psychonauts_2_1097251_56084.sh. Seems like the installer code fails to realize that the downloader code fetched a linux installer (…also the game tile seems to have a Wine icon so I'm guessing the main window also shares this delusion; then again, it shows a Wine icon even for games that were setup with other runner types, i.e. DOSBox games).

@LeXofLeviafan
Copy link
Contributor Author

…It appears that GOG API says this game only has a Windows version, even though both the store page and the library (downloads) page say otherwise.

Still, if it manages to fetch a linux installer, then it should be run as a linux installer, should it not?

@LeXofLeviafan
Copy link
Contributor Author

LeXofLeviafan commented Dec 17, 2022

…After some testing, I seem to have determined how it gets there: get_info() fetches downloads information, then get_download_info() initially checks for a linux installer (incidentally, if it fails it fetches the info again, also discarding the dlc_installers value altogether, instead of passing installers and averting both issues), but the information on which installer got scheduled for download appears to be never propagated to the installer code.

BTW, this only happens when minigalaxy thinks the game isn't installed – when it (mistakenly) detected the game as installed once (I guess it created an empty folder on previous install attempt and forgot to delete it?), it tried to "update" the game by downloading Windows installer (though there didn't seem to be any progress to it).

@LeXofLeviafan
Copy link
Contributor Author

…Incidentally, after I installed the Linux version manually, it got detected correctly as a Linux one (and displayed without a Wine icon in the game list).

@sharkwouter
Copy link
Owner

Sorry for the late response and thanks for the report. I'm glad GOG fixed the issue on their side.

A lot of the bahavior you describe Minigalaxy doing here is a bit funky, though. I'll keep this open for now.

@sharkwouter
Copy link
Owner

Thanks for the detailed description of what's happening btw, that is really helpful.

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