Collapse

An Advanced Launcher for miHoYo Games

MIT License

Stars
1.2K

Bot releases are visible (Hide)

Collapse - 1.0.22.4-Preview

Published by neon-nyan over 2 years ago

Collapse Launcher 1.0.22.4 [Preview]

What's New?

  • Updater and Invoker apps are now merged into main app

    Now the Invoker and Updater apps have been merged into main app.

  • New updater UI using the same WinUI 3 Runtime

    Now the Updater app will have the same UI Design using WinUI 3 Runtime.
    Untitled-1

  • Using custom Main() Entry Point to the app. Making the possibility to use additional arguments on the app

What's Fixed?

  • Fix the 7th column header name on Caches Page went blank
  • Fix the Update Notification UI to get overlaped with frames behind it

Known Issue

  • The update mechanism on this build might fail due to an issue with executable being unable to update itself that cause the updater to stuck or even crash. We already got a workaround to fix this and will be applied in 1.0.22.6-preview build. Please reinstall to 1.0.22.6-preview if you already installed this build before in-order to fix the issue. Download The Build Here.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - 1.0.22.3-RC1-Preview

Published by neon-nyan over 2 years ago

Collapse Launcher 1.0.22.3 [Release Candidate 1]

Hi There!

It's been a long time since the last preview build, which is v1.0.21.2.
We are finally reaching to v1.0.22.3 [Release Candidate 1] build, which is closer to stable build while we are (of course) still waiting for WinUI 3 1.1 to come out :D

So, there are bunch of changes have been made in this build since v1.0.21.2-preview.
What are those? Without further ado, Let's Jump In!

What's New?

  • Update pre-compiled Updater executable.

    Now the updater will be getting an update too and you are no longer need to re-run your launcher manually after update!

  • Moving to WinUI 3 1.1-preview3 and .NET Core 7-preview4 Runtime.

  • Adding support for Acrylic and Mica Backdrop (Thanks to the new WinUI 3 1.1-preview3 runtime)

    Note: This feature will work on Windows 11 only at the moment. It supposed to work on Windows 10 as well, But since Microsoft hasn't put any statement that it will work either for Windows 10 too on their documentation.

  • Adding localization support

    For now, only English is available. We are looking forward for your contribution to provide other languages too in the future.

  • Adding Delta Patch Update support for Honkai Impact 3rd.

    Yes, you heard it right!. Now, you can update your game without re-download the game in each update!. We will publish the guide for you. So you can try this feature very soon!.

  • Adding .NET Core Runtime components to the build.

    It will increase the size of the build. But it will help some users from confusion while choosing which one is the right runtime to run this launcher.

  • Rewrite the HttpClientHelper logic, especially on ThreadController.

  • The app config will be initialized first before Logger component.

  • Remove WinForms attribute from Invoker since it's unused.

  • Set minimum size for using parallel download on Repair Mechanism to 4 MiB.

  • Set time delay for app update check to 1 hour.

  • Increase quality value on GetColorFromPaletteByThemeLow() from 50 to 100.

  • Log will now back to use old new StreamWriter().

  • Return false if the directory doesn't exist in IsUserHasPermission().

  • While relocating the app or use it for the first time and if you choose another location, the app will now append the permission to the selected location.

What's Fixed?

  • Fix the GameFolder to get ignored while getting relocated.
  • Fix the app to not using proper folder path while updating.
  • Fix the launcher to crash while getting time-out on loading the region.
  • Fix the launcher to reset AppFolder everytime it restarted.
  • Fix the updater to crash while running on PC with non-english language (Thanks to my friend Delta to report this issue :vodkahug:)
  • Fix the launcher to keep detecting delta patch file and crash, even the file is actually not exist.
  • Fix the app to crash if AppPush and RegionPush becoming null.
  • Fix the ThreadController to miss the last range or more than expected, making the downloaded file to get corrupted after resuming.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.22.2-pre

Published by neon-nyan over 2 years ago

Collapse - Collapse Launcher v1.0.21.2-pre

Published by neon-nyan over 2 years ago

What's Fixed?

  • Fix the updater to not started if the app is installed in path with spaces.
    For example: C:\Program Files\Collapse Launcher
  • Fix some settings to not getting saved.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.20.3-pre

Published by neon-nyan over 2 years ago

What's new?

  • Adding build timestamp on the Update menu.
  • Adding social media button on the Settings menu.
  • Adding an ability for updater to update itself via elevated process.
  • Notification Push will now able to show a notification based on their version.
  • Simplify process for adding default value for App Config if the file/value doesn't exist.
  • Adding revert mechanism if the version conversion has failed.
  • Apply simple Exclusive Window fix for Honkai Impact 3rd.
  • This auto minimize-maximize mechanism will simply prevent thread lock/freeze on the game.

What's Fixed?

  • Fix some grammar errors.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.20-2-pre

Published by neon-nyan over 2 years ago

What's new?

  • Implement Notification System.

What's Fixed?

  • Fix the app to not checking running game process because CheckRunningGameInstance() was accidentally removed on v1.0.20.1-preview build.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.20.1-pre

Published by neon-nyan over 2 years ago

What's new?

  • Adding feature to convert region version. For now, it only supports these versions:
    • Southeast Asia
    • Global
  • Use event based MainFrameChangerInvoker_FrameEvent() to hide frame background.
  • Use per-revision compare for comparing app version.
  • Moving from legacy HttpClientTool to new HttpClientHelper class on these parts:
    • Caches Update Mechanism.
      • This will help the mechanism to download files with >= 10 MB in size using multi-session download. Making it faster to download.
    • Repair Game Mechanism.
    • Steam to Global Converter Mechanism.
  • Don't seek if using DisposeStream = false in HttpClientHelper.
  • Repair process for block files (on Honkai) will be directly using its own FileStream instead of buffering it first to MemoryStream.
  • A few adjustment on the background transition while changing the region.
  • Move to HttpClientHelper entirely for downloading files.
  • Removing SharpCompress library completely due to replacement to SevenZipExtractor.
  • Update some NuGet packages.
  • Move to HttpClientHelper entirely for downloading files.

What's Fixed?

  • Reduce logging to cancellation on HttpClientHelper to prevent file conflict and making the app to crash.
  • Fix the "Caches Update"'s Time Estimation to get updated aggressively.
  • Fix the background to not loaded in rare condition after reloading region from different menu. Thanks to event based MainFrameChangerInvoker_FrameEvent(), now we are able to fix it.
  • Reduce events refresh rate to 50ms on "Repair Game" mechanism to prevent it for chugging performance of the app.
  • Prevent the TryRetryableContainer() to throw ArgumentOutOfRangeException while setting StartOffset on RequestRange with value >= 0 on HttpClientHelper.
  • Fix the area around "Image Carousel" on HomePage still getting clickable.
  • Fix the background to always getting downloaded while loading the region.
  • Fix Steam Installation of Honkai Impact 3rd cannot be detected if it's installed in different SteamLibrary.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.13-pre

Published by neon-nyan over 2 years ago

What's new?

  • Now you can choose which Voice Language you want to use while installing Genshin, so you don't have to download it twice in-game.

What's Fixed?

  • Fix restart warning for App Theme to appear early even the setting isn't changed.
  • Fix thread setting to reset if you re-enter Settings menu.
  • Fix some typo at Thread setting.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.12-pre

Published by neon-nyan over 2 years ago

What's new?

  • Add options to change App Theme.
  • Add options to change Download and Extraction Threads.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Collapse Launcher v1.0.11-pre

Published by neon-nyan over 2 years ago

What's new?

  • Migrated to WinUI 3 1.1-preview2.
  • Add Update Mechanism for the launcher.
  • Use SevenZipExtractor by adoconnection for .7z file extraction.
    Thanks to it, installation process that use .7z file (for example: Honkai) will be extremely much faster, but the downside would be increases on memory usage significantly (1 Gigs with 8 Threads).
  • Add GenshinDispatchHelper class to read Genshin's dispatcher data.
  • Add repair mechanism for Genshin Impact (only supported on Global Release for now).
  • Use entirely re-written HttpClientHelper class for Installation Download mechanism.
  • Change default background to this sprite.
  • And some minor UI Tweaks.

What's Fixed?

  • Fix logger to crash while writing to log on multi-thread task. This was caused by the method trying to assign StreamWriter at the same time.
  • Fix white Titlebar Rectangle around drag area.
    Thanks to workaround in this Official Guide.
  • Fix typo at some dialogs.
  • Fix the accent color selector to crash because there's just one color in light mode.
  • Fix the migration process to fail if some files are already exist in target folder.

How to Install?

For now, we have two options for you to install this app. using the Installer or Portable build.
If you want to use the installer, just download the installer file below (CL-x.x.x-xxx_Installer.exe) and follow the instruction.

For using portable build, you need to install the prequesties file first in order to use it. Then just extract the Portable build file and run "CollapseLauncher.exe".

Collapse - Prequesties-1.0.2-Runtime

Published by neon-nyan over 2 years ago

This is for Hotfix only!

This prequesties will be needed if you encounter some problem like unexpected close of the app. This issue was caused by Runtime-Level bug as described in this link below:
https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/stable-channel#version-102

Collapse - Collapse Launcher v1.0.10 [Codename: Dread Life]

Published by neon-nyan over 2 years ago

Welcome to the first Stable Release of Collapse Launcher!

Hi! this is me, @neon-nyan... A developer of this launcher project.

I'm really glad to tell you that this launcher has been finally touched to the ground after 4 - 6 months of development, releasing a Stable Release for the first time!

While at the same time, I'm waiting for WinUI 3 (v1.1) to come out that will bring some major changes that this launcher needs. Including "Run as Administrator" feature, new window on different or same thread, deploy with WinUI 3 dependencies (so you don't need to install the runtime), and many more!

Unfortunately, Cutscenes and Subtitle Fix feature hasn't been come out yet but don't worry, I will bring this feature soon!

Without further ado, Let's see what's new in this realase from previous version!

What's new?

What's Fixed and Changed?

How to Install?

The app is now moved from UWP Packaged Based App to Normal Win32 Based App. But still, it requires Windows 10 (build 1809 or above) / Windows 11 (Any version) to run since this is a limitation from WinUI 3 Framework itself.

Also, It's necessary to install WinUI 3 Runtime to make this launcher to run.
Please download "prequesties-20220204.7z" file below, Extract it and Run "Install.bat" as Administrator.

Then Run the App With name "CollapseLauncher.exe" to run.
Please note that this app cannot be run under Administrator account. So please just click the app in order to run it

Note

For everyone who's always helping and supporting me to test this project while it's in preview release, Thank you very much!!

Collapse - CollapseLauncher v1.0.9-pre

Published by neon-nyan over 2 years ago

What's new?

What's Fixed?

How to Install?

The app is now moved from UWP Packaged Based App to Normal Win32 Based App. But still, it requires Windows 10 (build 1809 or above) / Windows 11 (Any version) to run since this is a limitation from WinUI 3 Framework itself.

Also, It's necessary to install WinUI 3 Runtime to make this launcher to run.
Please download "prequesties-20220204.7z" file below, Extract it and Run "Install.bat" as Administrator.

Then Run the App With name "CollapseLauncher.exe" to run.
Please note that this app cannot be run under Administrator account. So please just click the app in order to run it

Collapse - CollapseLauncher v1.0.7-pre

Published by neon-nyan over 2 years ago

What's new?

  • Adding support for migrating Game installed with BetterHI3Launcher. Click this to see the screenshot
  • Revoke the target location if the folder choosen while installing doesn't allow the user to have a write permission. E.g: C:\Program Files. Click this to see the screenshot.
  • Adding feature to update the game caches. Click this to see the screenshot.
  • Removing "Mirror Changer" dropdown at the titlebar since the feature isn't yet implemented. It will be come back after the feature has completely implemented.
  • Adding Console Window toggle. Now you can hide/show the Console Window in the Settings menu. Click here to see it in action.
  • Removing "Additional Download" while installing the game since the feature isn't yet implemented. Will be back after the feature has completely implemented.

What's Fixed?

  • Fixing CollapseLauncher.Invoker to not running because of missing runtimeconfig.json file
  • Avoid localStream on HttpClientTool to not disposed while retrying the connection on Multiple Session mode.
  • Properly report a throw while the Http Response is not a success code. For example, 503, 404, 501, etc.

How to Install?

The app is now moved from UWP Packaged Based App to Normal Win32 Based App. But still, it requires Windows 10 (build 1809 or above) / Windows 11 (Any version) to run since this is a limitation from WinUI 3 Framework itself.

Also, It's necessary to install WinUI 3 Runtime to make this launcher to run.
Please download "prequesties-20220204.7z" file below, Extract it and Run "Install.bat" as Administrator.

Then Run the App With name "CollapseLauncher.exe" to run.
Please note that this app cannot be run under Administrator account. So please just click the app in order to run it

Collapse - CollapseLauncher v1.0.6-rc1-pre

Published by neon-nyan over 2 years ago

What's new?

  • Adding support for migrating Game installed with BetterHI3Launcher

image

What's Fixed?

  • Fixing CollapseLauncher.Invoker compiled to .NET Core 5 instead of .NET Core 6.

How to Install?

The app is now moved from UWP Packaged Based App to Normal Win32 Based App. But still, it requires Windows 10 (build 1809 or above) / Windows 11 (Any version) to run since this is a limitation from WinUI 3 Framework itself.

Also, It's necessary to install WinUI 3 Runtime to make this launcher to run.
Please download "prequesties-20220204.7z" file below, Extract it and Run "Install.bat" as Administrator.

Then Run the App With name "CollapseLauncher.exe" to run.
Please note that this app cannot be run under Administrator account. So please just click the app in order to run it

Collapse - CollapseLauncher v1.0.5-pre

Published by neon-nyan over 2 years ago

What's new?

  • The program now runs as a normal Win32 app. So you don't need to install this app as a UWP app anymore.
    • But you need the prequesties to be installed in order to make this app to run properly. Please install .NET Core 6 Desktop Runtime and WinUI 3 Runtime first
  • Adding an ability to open the Game Folder. Click this to see the screenshot.
  • Adding Game log monitoring feature while game is running. You can see the output in the Console Window of this app. This will make troubleshooting easier if you're facing an error in game. The log will also be included into Launcher's Log file.
  • Adding Game Repair feature. It will also check the files inside the block file. So instead of downloading the entire block file to repair, It will only download the broken part of the block file. Click this to see the screenshot.
  • Adding Game Settings feature. Now you don't need to open the game or change the registry manually to change the custom game settings. Click this to see the screenshot.
  • Hi3Helper Project is now completely merged to CollapseLauncher Project.

How to Install?

The app is now moved from UWP Packaged Based App to Normal Win32 Based App. But still, it requires Windows 10 (build 1809 or above) / Windows 11 (Any version) to run since this is a limitation from WinUI 3 Framework itself.

Also, It's necessary to install WinUI 3 Runtime to make this launcher to run.
Please download "prequesties-20220204.7z" file below, Extract it and Run "Install.bat" as Administrator.

image
image

Then Run the App With name "CollapseLauncher.exe" to run.
Please note that this app cannot be run under Administrator account. So please just click the app in order to run it

image
image

Collapse - CollapseLauncher v1.0.3-pre

Published by neon-nyan almost 3 years ago

Collapse - CollapseLauncher v1.0.2-pre

Published by neon-nyan almost 3 years ago

Collapse - CollapseLauncher v1.0.0-pre

Published by neon-nyan almost 3 years ago

Welcome to the Initial Preview Release of CollapseLauncher

This release is only supporting multi-region game installation for now.
Further features will be released on each version release.

How to Install?

Unfortunately, Since this app is a WinUI 3 based Application, It will be only supporting Windows 10 build 1803 or later.
Before you're installing this app, make sure that you already enabled "Developer Mode" in:

  • Windows 10
    Settings > Update & security > For developers > Developer Mode
    image

  • Windows 11
    Settings > Privacy & security > For developers > Developer Mode
    image

After that, restart your PC to apply the changes.

After you have rebooted, download the .7z file here and then extract it somewhere in your PC.
Right click on "Install.ps1" file and click "Run with PowerShell"

image

While PowerShell window opened, you may be asked to install the self-assigned certificate for this app.
Press "Enter" key on your keyboard and click "Yes" on "User Account Control" Window

image
image

Type "Y" then Press "Enter" to install the self-signed certificate

image

Wait until the process finished then Press "Enter" to quit from Installation process.
Go to Start menu to open the CollapseLauncher and you're good to go.

image
image

Collapse - [Preview Release] v0.0.2.11

Published by neon-nyan almost 3 years ago

What's new?

  • [Improvement] Move to .NET Core 6 and add .NET Framework 4.6.x or later support codebase.
  • [Improvement] Separate some core components to Hi3HelperCore in case we are starting to develop the cross-platform version.
    • Use .NET Standard 2.0 codebase for Hi3HelperCore
  • [Improvement] Replace Win32 based IniParser to Universal IniParser by Enichan. See this commit for changes.
  • [New] Introducing initial implementation of ScreenInterop class to read supported screen resolution list. This component will be used on "Settings Editor" feature in the future.

Major Changes

  • [New] Adding a support for Steam Version of the Game. See #6 for more information

  • [New] Adding "Block Check" feature to check and repair Game's block data. See #5 for more information

    • This repair mechanism is also better and faster than In-game "Check downloaded assets" feature. See the benchmark result below for more information.

Note

This release has splitted into two versions,

  • .NET Framework 4.6.2 version (Hi3HelperGUI-InDev-0.0.2.11.zip)
  • .NET Core 6 x64 version (Hi3HelperGUI-InDev-0.0.2.11_NETCore.zip)

If you want to run the .NET Framework version, make sure that you have .NET Framework 4.6.2 Runtime installed. If not, Download Here.
Or if you want to run the .NET Core 6 x64 version, make sure that you have .NET Core 6 x64 Desktop Runtime installed. If not, Download Here.

Benchmark scenario for Block Check feature

Hardware for Benchmark:

  • OS: Windows 11 Home Dev [build 22499.1010]
  • CPU: Intel Core i5-9300H
  • RAM: 16 GB 2667 MHz (DDR4 Dual-Channel)
  • SSD: WDC PC SN730 (512 GB Variant)
  • GPU: NVIDIA GeForce GTX 1650 (4 GB VRAM)

Game Version for Benchmark:

Southeast Asia (SEA) v5.2

Broken file: BH3_Data\StreamingAssets\Asb\72deb5429e35e95635a72a3f94229bab.wmv

Corrupted data offset: 0xb00
Corrupted data size: 16 bytes

Expected value:
FF D9 FF 05 EF F0 B3 3C D4 E5 A4 32 73 A9 75 20

Corrupted value:
53 65 65 65 65 65 65 67 67 67 67 67 73 73 73 73

Checking time

  • In-game: 27.28 seconds
  • Hi3Helper: 19.84 seconds

Download size for Repair:

  • In-game: 39.5 MB (the whole file)
  • Hi3Helper: 20.7 KB

Repair Time:

  • In-game: 17.57 seconds (since it needs to download the whole 39.5 MB file)
  • Hi3Helper: 0.53 second

Fast, isn't it? 👀
Now, Try it yourself!

Note for Benchmark

If you want to try this benchmark by yourself, Download 72deb5429e35e95635a72a3f94229bab.wmv file below, copy it to <Honkai Installation Path>\Games\BH3_Data\StreamingAssets\Asb\ folder, run the game, click on red tool button at the left-bottom of your screen, and click "Check downloaded assets". Let the game do the repair process.

For using Hi3Helper, just do the same by copy the file to <Honkai Installation Path>\Games\BH3_Data\StreamingAssets\Asb\ folder, run the program, go to Block Check feature and click on "Check Block" button. Let the program check the corrupted file, then click "Repair".

Badges
Extracted from project README
jp id pt fr ru Build-Canary Qodana Sync to GitLab Upload to R2 FOSSA Status FOSSA Status Localization Discord KanbanBoard FOSSA Status