fraganator / archive-cache-manager

A LaunchBox plugin which extracts and caches large ROM archives, letting you play games faster.
GNU Lesser General Public License v2.1
11 stars 5 forks source link

Option to extract all additional apps #33

Open fraganator opened 2 years ago

fraganator commented 2 years ago

This would behave similarly to launching a multi-disc game, except all additional apps would be extracted to the same cached folder.

Launching a multi-disc game performs checks whether individual discs have been cached or not, and extracts only those required. With this new feature it should be safe to assume that all additional apps have been extracted if the game is present in the cache, so there'd be no need for additional checks.

In terms of config it would be an additional column in the emulator config. If both "multi-disc" and "extract additional apps" are configured, then the multi-disc config would take priority:

if (game is multi-disc && multi-disc enabled)
    extract multi-disc files
else if (game has additional apps && extract all enabled)
    extract additional app files
else
    extract file

Request originally raised here: https://forums.launchbox-app.com/files/file/234-archive-cache-manager/?tab=comments#comment-12195