hydralauncher / hydra

Hydra is a game launcher with its own embedded bittorrent client
MIT License
10.62k stars 2.48k forks source link

[REQUEST] Extract ZIP/RAR file after game is downloaded #748

Open Xxxsusx opened 3 months ago

Xxxsusx commented 3 months ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

It would be nice to have a feature that automatically extracts the torrent (if it's inside a zip/rar file) so it would be more suitable, user friendly after the download is over.

Describe alternatives you've considered

.

Additional context

Just reminding that I'm not lazy. Just suggesting this feature so.. you know, a beginner won't create a issue in the github because it's a rar/zip file

zamitto commented 3 months ago

It is a tricky feature. Some downloads have password, and they dont have the same pattern. Some of them are one zip file, others are a folder and inside it there is a zip file. And Hydra is not responsible for what the user is downloading, so I don't think it should manipulate the downloaded files, except for the option to dele them

Xxxsusx commented 3 months ago

It is a tricky feature. Some downloads have password, and they dont have the same pattern. Some of them are one zip file, others are a folder and inside it there is a zip file. And Hydra is not responsible for what the user is downloading, so I don't think it should manipulate the downloaded files, except for the option to dele them

What if there was a system that detects (after the download is over) a zip/rar file similar to the game's name? Like, there could be also a additional step before the download is over which does that. I mean, the search system does this by searching a similar title of the game in the JSON format.

Another feature that would be great is to make Hydra automatically find the directory that the .exe file is located on and then use that directory to open the .exe file without the user having to manually do it. That wouldn't work very well I guess, since some torrents contains different folders and the way the structure is could be different. However, it may be possible to eventually get the directory of the .exe file by searching all .exe files inside the folders that contains a name similar to the title of the game. (That could work with some games but not with others Download Sources like FitGirl which has the .exe setup first. So I would suggest it being a Beta/Experimental option in the settings)

herculesgf commented 6 days ago

Hi, good afternoon, so I downloaded Callof Duty Black Ops on Hydra and it's asking me for a password to extract the file, but I don't know the password.