Continuing on the Live Update suggestions streak, a mechanism for identifying and deleting unused resources left over by a previous version of the game would be nice. As it is now, with often enough patches and content updates it seems like resources stored with store_resource()
would just pile up and use disk space on the player’s device indefinitely.
I’m really unsure how this would work. I don’t know if live update content is included in the manifest or not (I assume so), but maybe something like:
local table_of_resource_hashes = resource.list_resources_in_manifest(manifest_ref)
local table_of_resource_hashes = resource.list_stored_resources()
resource.delete_stored_resource(resource_hash_or_table_of_resource_hashes)