CollapseLauncher / Collapse

An Advanced Launcher for miHoYo/HoYoverse Games
MIT License
1.4k stars 64 forks source link

[Feature Request] Add P2P (torrent) download option #192

Closed QPUNeptune closed 1 year ago

QPUNeptune commented 1 year ago

I dont know how complicated it is to do this, but imma give it a shot anyway. I have no idea if i was tried or if someone requested it. I had this thought when i remembered that the War Thunder had this.

The way this works is pretty much as a torrent client (what a shocker), but just for delivering the games' files. Note that this option is TO HELP the download that is already doing, not to replace it. An example: assuming the normal download speed is 5MiB/s, enabling the P2P, which adds 2.5MiB/s in this case, would have the download speed theoretically reach 7.5MiB/s (again, this is an example).

By adding this option, i reckon that it could improve the download speed of the games. Of course it also needs a way to disable it, some people doesnt want it.

Anyway its more like a suggestion, and sorry for the bad english.

MiniGrayGay commented 1 year ago

直接多线程下就已经挺快了?起码能跑到70多M,感觉也够用了吧

Cryotechnic commented 1 year ago

Heyo, thanks for your suggestion! While we think it's a great idea, there are a number of risks involved with the proposal, notably:

War Thunder's situation uses a different method of downloading their game data package. We opted with the safer, direct download approach. That's not to say that P2P is a bad way of doing it; it's just not ideal in our case because of the risks involved with integrating such a solution. Hopefully that clears things up!

QPUNeptune commented 1 year ago

Ah no problem, thank for clarifying!