[closed] How to work around corrupted cache files IDX, DAT?
Posted: Tue Jan 26, 2021 10:34 pm
Hello,
I'm trying to back up an Offline Maps workspace from my Android phone's San Disk SD card to an external disk. There are problems with an .IDX file and a .DAT1 file: using the Windows Explorer on Win8, these files are copied to the destination drive with a greatly reduced file size, as if only part of each file was copied. Similar story when using my phone's on-board file manager: the copy process is started, but at some point an error message appears ("Couldn't copy file. Error unknown.") and the process is aborted.
I suspect that somehow these files became corrupted, although disk-checking tools show that my SD card is not damaged. And Offline Maps does continue to work normally with these files: I did not notice any missing or scrambled areas when viewing the stored map in offline mode. Also, when adding/forcibly updating map areas, the "corrupted" files on the SD card are indeed updated by Offline Maps. When adding new map areas, the .IDX file increases in size, just as one would expect. But when I try once more to copy these updated files to the external disk, nothing changes: only partial files are copied, with the exact same reduced file sizes as before. As if the copy process for each file is cut off at a certain cluster.
Assuming that the .IDX and .DAT1 files are corrupted, how can this be fixed without losing the other non-corrupted files? The map is stored in several files .DAT ... .DAT7. If I delete the seemingly broken .DAT1 files and the .IDX file, the whole chain will probably be broken. I remember the same problem was mentioned 5 years ago:
I'm trying to back up an Offline Maps workspace from my Android phone's San Disk SD card to an external disk. There are problems with an .IDX file and a .DAT1 file: using the Windows Explorer on Win8, these files are copied to the destination drive with a greatly reduced file size, as if only part of each file was copied. Similar story when using my phone's on-board file manager: the copy process is started, but at some point an error message appears ("Couldn't copy file. Error unknown.") and the process is aborted.
I suspect that somehow these files became corrupted, although disk-checking tools show that my SD card is not damaged. And Offline Maps does continue to work normally with these files: I did not notice any missing or scrambled areas when viewing the stored map in offline mode. Also, when adding/forcibly updating map areas, the "corrupted" files on the SD card are indeed updated by Offline Maps. When adding new map areas, the .IDX file increases in size, just as one would expect. But when I try once more to copy these updated files to the external disk, nothing changes: only partial files are copied, with the exact same reduced file sizes as before. As if the copy process for each file is cut off at a certain cluster.
Assuming that the .IDX and .DAT1 files are corrupted, how can this be fixed without losing the other non-corrupted files? The map is stored in several files .DAT ... .DAT7. If I delete the seemingly broken .DAT1 files and the .IDX file, the whole chain will probably be broken. I remember the same problem was mentioned 5 years ago:
Any solution by now? Thanks for helping!Psyberia-Support wrote: ↑Wed May 06, 2015 3:05 pm And do not remove a cache file by yourself, it will break the entire storage (the index is built when data is added, and is not reconstructed).
As soon as the new update is available, I'll have more time to work again on the store area tool and improve it, I'm sure we'll found a suitable solution.