To get a simulation running in 20-sim, the data stored in various files may be needed:
• | .txt: data files (fileinput) |
• | .bmp: bitmap files (for use in 3D Animation) |
• | .dll: external dll-files (user defined external functions) |
You can pack all these files into one zip-file, using the Pack command from the File menu. With this command 20-sim will check all the files that are used and store them into a single zip-file. This option is useful for archiving and sending models by e-mail.
Pack
1. | When the Pack command is clicked, a Save As dialog appears asking you to enter a name. Always save with the default extension .emxz because 20-sim uses this extension to recognize packed files. |
After the Save As dialog, a 20-sim Pack dialog appears, showing the collected files. In this dialog you can select the files that should be packed.
2. | Select the files that should be packed and click the OK button. |
Unpack
You can open Packed Files using the Unpack command from the File menu.
1. | When the Unpack command is clicked, an Open dialog appears asking you open a file. Open a file with the extension .emxz because 20-sim uses this extension to recognize packed files. |
After the Open dialog, a 20-sim Unpack dialog appears. In this dialog you can see the file that you have selected to unpack and you can choose the method of unpacking.
2. | If you want to unpack all files and put them in their original location, select the option Unpack with full path. |
3. | If you want to unpack all files and to a specific directory, select the option Unpack to directory. |
4. | Select Keep Relative Paths if you want to keep the original folder structure. |