Skip to content

Commit 1649355

Browse files
bagusnltransifex-integration[bot]neon-nyanshatyukaCryotechnic
authored
Preview 1.80.5 Release #464 from CollapseLauncher/main
* [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * FIx background handler getting disposed on MainPage reload * Fix region combobox cannot receive input while reloading MainPage * (GSP-SR) Clamp ShadowQuality value #399 * Icon button adjustment margin, alignment, size, glyph, etc * [i18n] Localize metadata initialization messages also for game region combobox placeholder * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * (GSP-SR) Clamp all quality values * (GSP-SR) GraphicsQuality presets * [skip ci] Sync translation Translate en_US.json in es_419 100% reviewed source file: 'en_US.json' on 'es_419'. * (GSP-SR) Fix fullscreen inconsistency * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * [skip ci] Sync translation Translate en_US.json in id_ID 100% reviewed source file: 'en_US.json' on 'id_ID'. * Adding Async JSONSerializer helper for Stream * Use nullable assignment for game package return list * Update stamp file instead of redownloading if certain config has changed * Update SharpDiscordRPC submodule * Adjustment on CDN RadioButtons style * Adjustment on CDN RadioButtons style (pt. 2) * (GSP) Fix resolution related crash in RDP session * (CodeQA) ISULR - Suppress warnings - Reformat - Adjust nullables * Update EncTool * [skip ci] Update Checkout CI and add PR template * [skip ci] Update formatting error on PR template * Add ``PreventSleep()`` to prevent Windows' sleep routine Co-Authored-By: Bagus Nur Listiyono <[email protected]> * (GSP) Fix root cause of resolution related crash in RDP session * Implement PreventSleep() on needed methods * (GSP) Implement mobile layout mode Only for GI for now * (GSP) Add delay game launch function on pre launch command * Dont catch cancellation exception on PreventSleep * Show nav sidebar only on hover * Add drop shadow to nav button * (HI3 Repair) Throw if asset key is not found * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * Add MobileLayout support for StarRail #466 Thanks for the details @ubdjshdb * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * [HSR Settings] Update localization text for 120FPS option selector * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * [skip ci] Sync translation Translate en_US.json in es_419 100% reviewed source file: 'en_US.json' on 'es_419'. * [skip ci] Sync translation Translate en_US.json in id_ID 100% reviewed source file: 'en_US.json' on 'id_ID'. * [skip ci] Sync translation Translate en_US.json in id_ID 100% reviewed source file: 'en_US.json' on 'id_ID'. * HoYoPlay API Adjustments (#465) * Change EncTool path * Use async stream for loading background files * Fix escaped JSON characters don't get parsed correctly * Move constant JSON class into inner extension class * Refactor API Loaders Using the new ILauncherApi to unify the integration with other types of API (like: HoYoPlay) * Adding basic HYP to Sophon pkg resource conversion + Borrowing HSR version check and game settings for now. * Adding background image support for HoYoPlay API * Adding news and carousel panel support for HoYoPlay API * Fix false Base64 detection on ``GetServeV3String()`` This was causing some installation detection issues where some region/version check related string is falsely detected as Base64 and make the string rendered incorrectly * Fix some typo and avoid unnecessary buffer alloc on ``ServeV3Data`` + Also fixes throw while checking for non-existence pre-load property * Fix crash while changing launcher release channel * Fix background throw due to null preload property * Adding new decompressor for .zip package files Adding USENEWZIPDECOMPRESS to use SharpCompress decompressor with multi-thread zip decompress support. * Avoid null packages to be proceeded * Check availability for cache type: "Event" with DLM = 2 * Fix Hi3 Game Repair for version: ``Thelema`` * Re-adding checks if the normal metadata file exists (Hi3) * FIx "Check Update" button status's center position * Adjust windows title-bar button style * Extend maximum threads for download to 16 * Fix TextFillColorBrush on update status button * Use GetURLStatusCode to check URL status on repair/cache * Use ``Enum.GetValues<T>()`` instead of ``Enum.GetValues(typeof(T))`` * Fix last exception in ``RetryTimeoutAfter()`` not getting thrown * Fix threading issues on Install, Repair and Cache mechanism * Fix Infinity and NaN numbers in ``TotalPerfileProgress`` * Use ``UnNaNInfinity()`` in ``UpdateProgress()`` * Fix data corruption while performing game data migration * Fix max session exception on Hi3Helper.Http * Fix float/double to TimeSpan number conversion This due to the number being a negative infinity * Bump version * Add Sophon submodule * FIx background handler getting disposed on MainPage reload * Fix region combobox cannot receive input while reloading MainPage * Adding Sophon testing/usage sample * Adding Async JSONSerializer helper for Stream * Use nullable assignment for game package return list * Update stamp file instead of redownloading if certain config has changed * Update SharpDiscordRPC submodule * Adding Sophon submodule and its testing project * Add new Sophon Chunk download mechanism * (GSP-SR) Clamp ShadowQuality value #399 * [i18n] Localize metadata initialization messages also for game region combobox placeholder * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * (GSP-SR) Clamp all quality values * (GSP-SR) GraphicsQuality presets * [skip ci] Sync translation Translate en_US.json in es_419 100% reviewed source file: 'en_US.json' on 'es_419'. * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * [skip ci] Sync translation Translate en_US.json in es_419 100% reviewed source file: 'en_US.json' on 'es_419'. * Localize Discord RPC Game/Region strings * Add a way to skip audio patch Currently only for Star Rail * (CDN) Add Coding mirror * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * Update NuGet Dependencies H.NotifyIcon https://www.nuget.org/packages/H.NotifyIcon.WinUI#releasenotes-body-tab HtmlAgilityPack https://github.com/zzzprojects/html-agility-pack/releases/tag/v1.11.61 WASDK https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/stable-channel#version-153-15240428000 TaskScheduler https://github.com/dahall/TaskScheduler/releases/tag/v2.11.0 * Update NuGet * Fix build configuration * Adjustment on CDN RadioButtons style * Adjustment on CDN RadioButtons style (pt. 2) * (GSP-SR) Fix fullscreen inconsistency * Update sophon submodule * Update sophon submodule * Add ``PreventSleep()`` to prevent Windows' sleep routine Co-Authored-By: Bagus Nur Listiyono <[email protected]> * [TaskExtensions] Throw inner exception if completed task is faulty * [HYP] Add parser for social media icons * [Sophon] Fix crash caused by empty URL conditions in news API * [UI] Adjust the social media flyout style * Implement PreventSleep() on needed methods * Update GitInfo NuGet and package lock file * [TaskExtensions] Use the new ``WaitForRetryAsync`` for retrying task * [UI] Fix inconsistent foreground color for socmed's QR title * (GSP) Implement mobile layout mode Only for GI for now * (GSP) Add delay game launch function on pre launch command * Update submodules and NuGet * Use custom style for ``ImageEx`` * Remove unnecessary ``Console.WriteLine()`` under ``CurrentMetadataConfig`` * Use custom style for ``ImageEx`` pt. 2 * Use async WriteLine for logger (also uses .Error and .Out to write) * Hi3Helper.Sophon adjustment * Dont catch cancellation exception on PreventSleep * Show nav sidebar only on hover * Add drop shadow to nav button * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * [skip ci] Sync translation Translate en_US.json in zh_CN 100% reviewed source file: 'en_US.json' on 'zh_CN'. * [skip ci] Sync translation Translate en_US.json in ja_JP 100% reviewed source file: 'en_US.json' on 'ja_JP'. * [skip ci] Sync translation Translate en_US.json in es_419 100% reviewed source file: 'en_US.json' on 'es_419'. * Update Hi3Helper.Http submodule * Fix fallback translation for MobileLayout text * [skip ci] Sync translation Translate en_US.json in id_ID 100% reviewed source file: 'en_US.json' on 'id_ID'. * Remove deprecated CDN (Bitbucket) * UI Adjustments + Adding FontSize property to the CompressedTextBlock + Unify ApplyShadow to be used by other elements, moving the code to UIElementExtensions with some changes. + Adding StartAnimationDetached to AnimationHelper extension + Adjust element sizes on both Normal and Small Size window + Minor adjustment on brushes + Move the playtme button beside the Quick Settings and Community Tools button + Adding shadows to navigation menu icons (by: @shatyuka) and social media icons + New layout and adjustments for Carousel and News panel + Adjustment on Install, Update and Start game button + Adding loading animation while loading ImageEx element Co-Authored-By: Shatyuka <[email protected]> * [skip ci] Sync translation Translate en_US.json in id_ID 100% reviewed source file: 'en_US.json' on 'id_ID'. * Remove unnecessary Lottie package * Adjust Preload box dialog UI * Use current thread for animation compositor * Adjust preload button style to ``AcrylicButtonStyle`` * Use current thread for animation compositor (pt. 2) * Add 500 ms delay before side panel animation is triggered * Fix crash on starting animation with no access to thread * Minor adjustment on loading frame * Fix task not retrying due to cancellation from linked source * Fix retry mechanism on API loading not working * Adjust DisconnectedPage style * Add HoYoPlay featured event icon and styles * Fix installation progress bar style * Update sophon and HYP install mechanism * fix typo * change insufficient drive space dialog required type * fix incorrect package size indicators to the user THANKS MICROSOFT VERY COOL This hopefully fixes #445 * update submodule * update submodule wrong commit hash 😓 --------- Co-authored-by: Kemal Setya Adhi <[email protected]> Co-authored-by: Shatyuka <[email protected]> Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> Co-authored-by: Ron Friedman <[email protected]> --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> Co-authored-by: Kemal Setya Adhi <[email protected]> Co-authored-by: Shatyuka <[email protected]> Co-authored-by: Ron Friedman <[email protected]>
2 parents 110db3e + 07c021b commit 1649355

File tree

94 files changed

+4740
-1386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+4740
-1386
lines changed

.github/pull_request_template.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Main Goal
2+
{Describe/list your goal for the PR here}
3+
4+
## PR Status :
5+
- Overall Status : Done/In Progress/Stalled/Cancelled
6+
- Commits : Done/In Progress/Stalled/Cancelled
7+
- Synced to base (Collapse:main) : Yes/Not yet
8+
- Build status : OK/Crashing/Build Errors
9+
- Crashing : Yes/No
10+
- Bug found caused by PR : {int}
11+
12+
### Templates
13+
14+
<details>
15+
<summary>Changelog Prefixes</summary>
16+
17+
```
18+
**[New]**
19+
**[Imp]**
20+
**[Fix]**
21+
**[Loc]**
22+
**[Doc]**
23+
```
24+
25+
</details>

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4.1.5
3838
with:
3939
submodules: recursive
4040

.github/workflows/qodana-scan-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
# skip all the steps if the head repo is not the same as the main repo
1818
# https://github.com/orgs/community/discussions/26829#discussioncomment-3253575
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4.1.5
2020
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
2121
with:
2222
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit

.github/workflows/qodana-scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
checks: write
1818
security-events: write
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4.1.5
2121
with:
2222
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
2323
submodules: recursive # many many submodules

.gitmodules

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
url = https://github.com/neon-nyan/ColorThief
1010
[submodule "Hi3Helper.EncTool"]
1111
path = Hi3Helper.EncTool
12-
url = https://github.com/neon-nyan/Hi3Helper.EncTool
12+
url = https://github.com/CollapseLauncher/Hi3Helper.EncTool
1313
[submodule "InnoSetupHelper/InnoSetupLogParser"]
1414
path = InnoSetupHelper/InnoSetupLogParser
1515
url = https://github.com/CollapseLauncher/InnoSetupLogParser
1616
[submodule "Hi3Helper.SharpDiscordRPC"]
1717
path = Hi3Helper.SharpDiscordRPC
1818
url = https://github.com/CollapseLauncher/Hi3Helper.SharpDiscordRPC
19+
[submodule "Hi3Helper.Sophon"]
20+
path = Hi3Helper.Sophon
21+
url = https://github.com/CollapseLauncher/Hi3Helper.Sophon

.idea/.idea.CollapseLauncher/.idea/vcs.xml

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CollapseLauncher.sln

+20-6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InnoSetupHelper", "InnoSetu
2020
EndProject
2121
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DiscordRPC", "Hi3Helper.SharpDiscordRPC\DiscordRPC\DiscordRPC.csproj", "{2004AA88-FFC3-4186-B11A-3E4C577A3D25}"
2222
EndProject
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hi3Helper.Sophon.Test", "Hi3Helper.Sophon.Test\Hi3Helper.Sophon.Test.csproj", "{5E97C5A8-EE96-4F47-8CA7-BF4455D12A34}"
24+
EndProject
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Hi3Helper.Sophon", "Hi3Helper.Sophon\Hi3Helper.Sophon.csproj", "{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}"
26+
EndProject
2327
Global
2428
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2529
Debug|x64 = Debug|x64
@@ -74,12 +78,22 @@ Global
7478
{21691306-8D30-4993-98A2-A5AE0712D81A}.Publish|x64.Build.0 = Release|x64
7579
{21691306-8D30-4993-98A2-A5AE0712D81A}.Release|x64.ActiveCfg = Release|x64
7680
{21691306-8D30-4993-98A2-A5AE0712D81A}.Release|x64.Build.0 = Release|x64
77-
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Debug|x64.ActiveCfg = Debug|Any CPU
78-
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Debug|x64.Build.0 = Debug|Any CPU
79-
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Publish|x64.ActiveCfg = Debug|Any CPU
80-
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Publish|x64.Build.0 = Debug|Any CPU
81-
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Release|x64.ActiveCfg = Release|Any CPU
82-
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Release|x64.Build.0 = Release|Any CPU
81+
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Debug|x64.ActiveCfg = Debug|x64
82+
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Debug|x64.Build.0 = Debug|x64
83+
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Publish|x64.ActiveCfg = Release|x64
84+
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Publish|x64.Build.0 = Release|x64
85+
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Release|x64.ActiveCfg = Release|x64
86+
{2004AA88-FFC3-4186-B11A-3E4C577A3D25}.Release|x64.Build.0 = Release|x64
87+
{5E97C5A8-EE96-4F47-8CA7-BF4455D12A34}.Debug|x64.ActiveCfg = Debug|x64
88+
{5E97C5A8-EE96-4F47-8CA7-BF4455D12A34}.Debug|x64.Build.0 = Debug|x64
89+
{5E97C5A8-EE96-4F47-8CA7-BF4455D12A34}.Publish|x64.ActiveCfg = Release|x64
90+
{5E97C5A8-EE96-4F47-8CA7-BF4455D12A34}.Release|x64.ActiveCfg = Release|x64
91+
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Debug|x64.ActiveCfg = Debug|x64
92+
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Debug|x64.Build.0 = Debug|x64
93+
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Publish|x64.ActiveCfg = Release|x64
94+
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Publish|x64.Build.0 = Release|x64
95+
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Release|x64.ActiveCfg = Release|x64
96+
{3F87DCD0-39B7-4F8C-8F34-A0FC7C6E65A0}.Release|x64.Build.0 = Release|x64
8397
EndGlobalSection
8498
GlobalSection(SolutionProperties) = preSolution
8599
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)