Currently there's only a check if the path exists in the cache, but no checks if the archive contents match the cache contents. If the extraction process was interrupted, the path will exist, but (some of) the contents won't.
Need to perform a better check to ensure archive and cache contents match. Some options are:
File list comparison
File list and size comparison
File list and CRC check
Most accurate, but will be slow if files are large
Do all archive formats have CRC?
game.ini exists (copied after the first successful extraction)
Currently there's only a check if the path exists in the cache, but no checks if the archive contents match the cache contents. If the extraction process was interrupted, the path will exist, but (some of) the contents won't.
Need to perform a better check to ensure archive and cache contents match. Some options are:
game.ini
exists (copied after the first successful extraction)