Print at Dec 16, 2025, 11:18:02 AM

Posted by Puybaret at Feb 2, 2010, 2:05:03 PM
Re: SH3D refuses to save my file
I was able to recover a part of your file and send it to you
I was obliged to delete the following furniture : vase, shower, 滚筒洗衣机, 带柜洗脸盆 and remove textures on floors and walls.

Knowing that a SH3D file is a ZIP file and that the Jar command of the JDK is very tolerant, here's an other tip for advanced users that might help to recover most items in a wrong file:
- If you're under Windows or Linux, install JDK available at http://java.sun.com/javase/downloads/ (JDK is preinstalled under Mac OS X).
- Create a temporary directory anywhere (I'll name it /path/to/tmp).
- Open a Terminal or Command window.
- Go to the temporary directory you created with cd command.
- Type the following command to unzip most of your corrupted SH3D file:

jar xf /path/to/corruptedFile.sh3d

- Type the following command to zip Home entry and other unzipped files from temporary directory in a new file name fixedFile.sh3d:

jar cfM /path/to/fixedFile.sh3d Home *

- Try to open fixedFile.sh3d, remove or replace furniture with a red box, and reset the texture of walls and rooms that appear in red.

I hope this will help.

[Note from developer: The version 4.4 introduced a new system based on the previous method and able to automatically repair SH3D files]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator