Game list cache + apps feature update #171
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request checklist
Note: these are not necessarily requirements
Pull Request description
-Refactored apps list to allow each app to have its own configuration file, stored within its own folder, within the APP folders on game devices.
APPS now can be stored within their own folder, within the APP folders on the game devices.
Each app should have its own title.cfg file. For example, on a USB disk:
title.cfg needs the following lines, at least:
The old apps system is still supported.
The startup filename display now only displays the description of the device containing the ELF. It will still show the path to the ELF, for apps listed under the old format.
As for the game list cache:
This feature allows the scanning of devices for games to be sped up, by caching the existence of games in a file.
For USB & SMB shares, the list is automatically maintained by OPL and it will cache ISO files that do not have the boot filename in their names (i.e. mygametitle.iso).
For the HDD unit, the game cache is used by default and will only be refreshed if you press the refresh button. Automatic refresh of the HDD unit is disabled because it does not make much sense; the HDD cannot be hot-plugged. This is because scanning through the HDD for games is slow, but it is impossible to check for changes in game content without scanning the HDD...
Historical discussion for the game list cache feature: #158