Print at Dec 16, 2025, 5:11:38 PM

Posted by hal9000 at May 5, 2014, 7:35:00 PM
Re: Options to recover corrupted files

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

Now my two cents...
  • 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
  • in case the user decides to go on and open the corrupted file, SH3D should offer the two possibilities:

    • remove corrupted elements
    • replace corrupted elements with a red image or red box
    • (or even a third option to try and search the elements in the catalog of the user, as mentioned))

  • 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]"

----------------------------------------
If a long walk every day were healthy, mailmen would be immortal. tongue