Re: Options to recover corrupted files

by hal9000 » Mon May 05, 2014 7:35 pm

In general I think this feature would be very useful for desperate users with a corrupted project file.

Now my two cents...
  1. I would not open the file and then show the error; instead I would first show the error dialog and then ask the user if he/she still want to open the file
  2. in case the user decides to go on and open the corrupted file, SH3D should offer the two possibilities:
    1. remove corrupted elements
    2. replace corrupted elements with a red image or red box
    3. (or even a third option to try and search the elements in the catalog of the user, as mentioned))
  3. even in the case of an invalid Home entry, would it be possible to recover the images and/or furniture? if so, I think this option should be offered to the user in case he/she has used some object or image for which there not exist a copy so at least it could be recovered
As for the error message I guess something of this kind:
"The SH3D project file you're trying to open is damaged. The following images/furniture has been lost:
...
...

SH3D can still open the project, but these images/fournitures will be ignored (they will disappear) or replaced by red squares (for images) and a red boxes (for furniture), as you prefer.

What do you want to do?
[Ignore damaged elements] [Replace damaged elements] [Don't open the file]"
Or for the last point I proposed (in case it's feasible):
"The SH3D project file you're trying to open is damaged. The plan has been lost and the file cannot be opened.

SH3D can still try to recover some images/furniture used in the project and save them to a folder so you can use it in a new project.

What do you want to do?
[Extract viable images/furniture] [Don't open the file]"