CollapseLauncher / Collapse

An Advanced Launcher for miHoYo/HoYoverse Games
MIT License
1.36k stars 65 forks source link

[Request]: Sync/save playtime between devices via authentication #569

Open Cactism opened 2 weeks ago

Cactism commented 2 weeks ago

Is your request related to a problem?

No

How is the feature request related to the problem?

No response

Describe your proposed solution

It would be cool to have a feature where you can upload, save, and sync playtime between devices by logging in via Github, Google, etc.

Describe alternatives you've considered

Manually editing the playtime, but this obviously doesn't really fix the 'problem' of syncing playtime between devices.

Additional context

The sign-in/sync button could be in the Edit Playtime pop-up, in between the Change and reset button. image

If synced via Google, maybe it could be integrated via Google Drive? I know that Delta uses Google Drive syncing and it somehow doesn't even count towards your storage quota??? (For example I had a 500MB game stored/synced through there and after removing the game from the sync, my Google Drive's used storage didn't go down) If it would be of any use, the only storage related permission Delta asks for is See, create, and delete its down configuration data in your Google Drive.

If there are two synced devices playing the same game and region at the same time, I'd personally prefer that the same time would just be counted once, rather than the time being counted seperately.

e.g. if the example below was a timeline of minutes (=) spent playing,

PC 1: =====
PC 2:   =====
Time added: 7 minutes
Sloweneuh commented 2 weeks ago

Quoted from an answer to this suggestion I gave on the discord a few months ago :

"Hi~

Thanks for the suggestion, unfortunately due to our strict data collection policy, we are currently unable to implement this feature. Afraid not, shall we change our mind about this kind of data and feature, we will update this ticket."

Cactism commented 2 weeks ago

Quoted from an answer to this suggestion I gave on the discord a few months ago :

"Hi~

Thanks for the suggestion, unfortunately due to our strict data collection policy, we are currently unable to implement this feature. Afraid not, shall we change our mind about this kind of data and feature, we will update this ticket."

rip to this idea :( I'll keep this issue open in case they do change their minds

bagusnl commented 1 week ago

Like I said before, its our own data collection policy, which we definitely could change, but with a clear mind. If anyone have suggestion, is there any database collection service that doesn't charge much (preferably free) and has C# library supporting it.

Cloudflare D1 does have free service, but limits to 100K line writes/day, which technically sufficient for current Collapse estimated user count, but maybe not for long, especially if user wants to sync them up quite often. D1 also doesn't really have C# library or documentation supporting it, so it would be quite the work implementing it