-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
[GOG]: Refactor almost all GOG components #3020
Conversation
…info based on branch
… modify install is working now
I'm experiencing issues with this branch. I get this in the logs first:
I had an update for Skyrim and after clicking the update button, the game status changed to
But there's an error in heroic's general logs:
Then I tried to download a game, the dialog never ends calculating the download/install sizes, this is the log for that:
Same, no error there in GOG's logs, but same error in the general logs:
|
Looks like this is your issue |
oh, I missed that, any reason why you are not including the updated binaries in the PR? that would make it easier to test |
I'm still working on the gogdl part on separate branch which isn't in the GitHub actions scope. I'll update binaries soon |
Pre-built binaries are now available on this pull request Heroic-Games-Launcher/heroic-gogdl#43 |
I tested installing, uninstalling and running games. Also changing the language. The automatic redist installation works great. One suggestion here is to show some feedback to the user that we are installing dependencies. Currently the button shows Maybe the |
About redist I still need to add logic to check if we should trigger redist update/installation before the game installation. Currently it runs for all games that have any redist Updating state on frontend is a good idea, I'll get to that soon. Apply button also sounds reasonable here. |
Question, will this allow the DLC's that only appear when using Galaxy with Cyberpunk to work? Just curious. |
If you mean Galaxy exclusive content like in game items, the answer is no Communication Service implementation is separate thing https://github.com/imLinguin/comet |
Gotcha, refactor still looks super exciting, thanks for all the work you put in! |
…and native) for use by steam runtime
If you uninstall games we don't remove unused redists immediately, because they might be needed by some game you'll install in the same session, kind of network usage optimization. |
what does this mean? you lost me there is it expected that the files are removed from the game folder? monkey island is 400mb less when installed with this PR and the game doesn't work so I thought it was missing some files |
Not a big deal with this though, if it's not easy we can maybe just hide that info
one comment though is that the download queue itself shows the correct status of the installed games, the issue happens in the library and in the game details pages
yes, all clean, no previous prefixes (removing the prefix when uninstalling the game before the next test) |
what's confusing to me is that I uninstalled all games and heroic tells me it's updating Galaxy Common Redistributables on the next start, why is it updating something if I don't even have GOG games installed? is there some check performed to know if it actually need to update that tool? cause I can trigger an update at any time, even if it was just installed or updated a minute ago |
I'm bad at explaining things lmao. Redistributables are no longer in game directory |
just curious, why is that needed? this could be an issue if users want to save space in some drive installing games in another and we move things to the other drive without telling them (for Monkey island 2 it was 400mb, and it's a fairly small game) I can also imagine this as an issue if, for some reason you delete heroic's config folder, you would have to repair all the games after, right? I think that if I run verify and repair then those folders appear into the game folder, is that not expected then? what if I import a game? will it move those folder to the new location? if not, will heroic understand the files are in the game folder in some cases? |
That's not supposed to happen, good call |
for redistributables we save space as we can re-use them across multiple games. Support directories are not that big, I think a few kilobytes is fine |
For some reason, both STALKER call of prypiat and monkey island 2 worked fine once today, but they failed other times (I keep installing uninstalling to try things). One new thing I noticed is that when I import a game, after the first time I try to launch it, heroic starts thinking there's an update for the game (and there's not really an update available) |
not sure I understand why this is moved into heroic's config folder though, why can't those files be in the game's install directory? is it to make it easier to do something else? |
Shouldn't that really be in
Or am I conflating "CONFIG_DIR" and |
Replaced new prerequisites with redist introduced in this PR
I merged #3393 and I imagine it will create a conflict for the status this PR adds, keep the change of your PR when fixing the conflict (I was just removing the old message from main because it was not correct) |
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
@Bitwolfies |
…uncher into gogdl_refactor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge this so we can test it better during development, it's been here for tooooo long.
Galaxy for Linux era begins now |
This is massive PR which will take some more time. Most critical parts are practically done.
At this moment it's required to use gogdl binary overwrite, obtainable from https://github.com/Heroic-Games-Launcher/heroic-gogdl/tree/download_refactor (if using python wrapper fromPR includes latest gogdl binariesbin
directory any AbortController signals are not handled, pyinstaller binary works)Features checklist at this moment (will be updated):
NOTE: content-system features (version rollback, beta channels, language change) are not available for Linux native games due to backup installers limitations
Added dependencies:
sanitize-html
- changelog renderer santizerreact-beautiful-dnd
- REDmod integration load order management@cospired/i18n-iso-languages
- mapping of language codes to human readable string forscriptinterpreter.exe
Related issues this may solve:
#2791 #3013 #2995 #2958 #3012 #1874
Use the following Checklist if you have changed something on the Backend or Frontend: