-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
File Downloader Submodule Major Refactor (Hi3Helper.Http) #563
Conversation
Moving HSR dispatch and gateway routines to the new DownloadClient instance
HSR Game Repair and Cache Update
Honkai Impact 3rd Game Repair and Cache Update
+ Launcher update mechanism + FallbackCDNUtil APIs + Game conversion mechanism
Genshin Impact Game Repair
CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.PkgVersion.cs
Fixed
Show fixed
Hide fixed
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.
Mostly codeqa and stuff to talk about but overall its all ok
Hi3Helper.Core/Classes/Data/Tools/GenshinDispatchHelper/GenshinDispatchHelper.cs
Outdated
Show resolved
Hide resolved
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.
Overall, PR looks OK and works as intended (tested locally). We could cleanup the magic numbers that we use in the code, such as for specifying max thread count and such by declaring them as variables in the function but functionally it works as intended (mostly for debugging later, to make it easier). That being said, the following UI issue is encountered for Cache Repair in Hi3 GLB region. I don't have the other regions installed so cannot verify if it is region agnostic:
Furthermore, please make sure to fix the i18n issues before merging. Aside from that, great work!
CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Kemal Setya Adhi <[email protected]>
Co-Authored-By: Ron Friedman <[email protected]>
The issue with counts has a relation with the fetching mechanism to be enumerating the assets on-the-air rather than getting all the list of the assets and placed it into |
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.
All gud i aprob
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.
LGTM! Send it \o/
can you show some pictures on how to set the limit , also is it released yet on stable version???? and also please i want to example duriang the day i donwlaod at 100kb /sec if this is not added |
Main Goal
As per title, this PR contains some huge changes to our own File Downloader Submodule implementation that we use for Collapse called: Hi3Helper.Http.
The changes brings some new features to improve the reliability of the downloading process for certain parts, like Game Installation/Update, Game Repair, Cache Updates and Internal APIs. The changes that worth to mention are including:
With this new feature, the user can now set the download speed limit.
Thanks to this feature, the download file would not need to have merged before the file can be used.
async
thread overhead.DownloadEvent
to notify the download progress.This has benefits if you're performing download multiple files within a single Downloader instance for other purposes. By using delegates, you can subscribe the download progress to a specific file you wanted to track.
However, this PR requires some changes in some parts, including:
FallbackCDNUtil
InstallManagerBase
PR Status :
Templates
Changelog Prefixes