Louhike / Ugly-GDEmu-Games-Manager

File manager for SD card with GDEmu
GNU General Public License v3.0
55 stars 3 forks source link

Support for compressed files in Games directories #55

Closed doragasu closed 3 years ago

doragasu commented 3 years ago

Currently for the scan algorithm to find and process games, they must be in extracted format. If they could be processed in compressed format, this could allow saving a lot of disk space in the host computer. In some extreme cases the saving can be about 1 GB per game. For example the Ikaruga TOSEC dump in ZIP format has a 58 MiB length, but when extracted it is 1.11 GiB long.

So could it be possible to add support for compressed game files? ZIP support could be enough, adding other formats like 7z and zstd would be also nice.

Louhike commented 3 years ago

That's a good idea! I need to check if it can be done quickly and I'll assign a milestone.

doragasu commented 3 years ago

Great! Thanks for taking this feature into consideration.

Louhike commented 3 years ago

Done. Will be released in coming days with 0.7.0 version (currently in testing).

Louhike commented 3 years ago

Supported archives are zip, rar, 7zip, tar, bz, bz2, gz, lz. Only GDI are supported for now. The code for CDI is already done but it's taking too long so it is deactivated. I may add a configuration parameter or an option for it.

doragasu commented 3 years ago

Awesome, I'll test it ASAP, THANKS!

Louhike commented 3 years ago

It's not released yet, sorry, I'm currently testing (and fixing) it with someone else. I guess I won't close the issues before release next time.

doragasu commented 3 years ago

Oh OK, then I'll test it when released.

Again, thanks!