.PHI FILES TUTORIAL
Posted: Thu Jul 14, 2011 3:49 pm
__________________________________________________________________________________________________________
.PHI FILES TUTORIAL
__________________________________________________________________________________________________________
.phi files or Algodoo Installer files are an Algodoo feature available since version 1.7.0.
These files, when opened in Algodoo, get extracted to the Algodoo home directory (Windows: "~/Documents/Algodoo/", Linux: "~/Algodoo/", MacOS: "~/Library/Application Support/Algodoo/").
.phi packages can be useful for sharing translations, scenes, skins, images, etc.
__________________________________________________________________________________________________________
Installing .phi files
__________________________________________________________________________________________________________
If .phi files are already associated to Algodoo, just double-click your .phi file to open it.
Now you should get a dialog box asking: "Install [Filename].phi?". Press OK.
If this is not the case you could right-click the .phi file, choose Open with and find Algodoo (Linux: "~/opt/Algodoo", Windows: "~/Program Files/Algodoo", Mac:"~/Applications/Algodoo").
OR
You could also:
1. Run Algodoo
2. Go to File > Load scene
3. Browse and select the .phi file
OR
1. Run Algodoo.
2. Go to File > Toggle fullscreen (if already not in windowed mode)
3. Drag the .phi file icon and drop it into the Algodoo window.
Thanks to: Someone Else and electronicboy
__________________________________________________________________________________________________________
Creating .phi files
__________________________________________________________________________________________________________
.phi packages are actually, as well as .phz files, masked .zip archives and can be opened in every program that supports normal .zip archives.
You can download an empty .phi file here or see how to create such files in the following tutorial.
__________________________________________________________________________________________________________
Windows
1
Right-click and create a new compressed (zipped) folder. Now you can see a .zip file called "[Filename]". There you can put your files in.
OR Select all the files to be included in the archive. Right-click on one of the files and select Send to > Compressed (zipped) Folder.
OR
2
Go to Control Panel > Folder Options (or use this shortcut). Switch to the View tab and uncheck the "Hide extensions for known file types" checkbox. Press OK.
3
Go to the .zip archive. Now you see the same .zip file with the full name "[Filename].zip". Now just change the ".zip" extension to ".phi".
Alternative method
1
Right-click and create a new .zip file. I recommend not to put any files into it yet.
2
Download and install Notepad++ (or some other editor which preserves the initial encoding).
3
Open the .zip with Notepad++. Go to File > Save As. For Save as type: choose "All types (*,*)". For File name type the desired name ending with the ".phi" extension. Save it.
__________________________________________________________________________________________________________
Linux
1
Select all the files to be included in the archive. Right-click on one of the files and select Compress or Create Archive.
2
For Filename type the desired name and select ".zip". Click on Create.
3
Right-click the .zip archive called "[Filename].zip" and select Properties.
4
Replace the ".zip" extension with ".phi" and click on Close.
Thanks to: electronicboy
__________________________________________________________________________________________________________
Mac
1
Select all the files to be included in the archive. Right-click on one of the files and select Compress... or Create Archive....
2
Go to the .zip archive called "[Filename].zip" and replace the ".zip" extension with ".phi".
__________________________________________________________________________________________________________
As it was already mentioned, .phi files get extracted to the Algodoo home directory.
When creating .phi files, note that, if you want the packaged files to be installed into existing folders (i.e. "Scenes", "Skins", "Data/Language", etc.), you have to put them into folders named as the existing folders. So, when being installed, your folders will be merged with the existing folders.
__________________________________________________________________________________________________________
.PHI FILES TUTORIAL
__________________________________________________________________________________________________________
.phi files or Algodoo Installer files are an Algodoo feature available since version 1.7.0.
These files, when opened in Algodoo, get extracted to the Algodoo home directory (Windows: "~/Documents/Algodoo/", Linux: "~/Algodoo/", MacOS: "~/Library/Application Support/Algodoo/").
.phi packages can be useful for sharing translations, scenes, skins, images, etc.
__________________________________________________________________________________________________________
Installing .phi files
__________________________________________________________________________________________________________
If .phi files are already associated to Algodoo, just double-click your .phi file to open it.
Now you should get a dialog box asking: "Install [Filename].phi?". Press OK.
If this is not the case you could right-click the .phi file, choose Open with and find Algodoo (Linux: "~/opt/Algodoo", Windows: "~/Program Files/Algodoo", Mac:"~/Applications/Algodoo").
OR
You could also:
1. Run Algodoo
2. Go to File > Load scene
3. Browse and select the .phi file
OR
1. Run Algodoo.
2. Go to File > Toggle fullscreen (if already not in windowed mode)
3. Drag the .phi file icon and drop it into the Algodoo window.
Thanks to: Someone Else and electronicboy
__________________________________________________________________________________________________________
Creating .phi files
__________________________________________________________________________________________________________
.phi packages are actually, as well as .phz files, masked .zip archives and can be opened in every program that supports normal .zip archives.
You can download an empty .phi file here or see how to create such files in the following tutorial.
__________________________________________________________________________________________________________
Windows
1
Right-click and create a new compressed (zipped) folder. Now you can see a .zip file called "[Filename]". There you can put your files in.
OR Select all the files to be included in the archive. Right-click on one of the files and select Send to > Compressed (zipped) Folder.
OR
2
Go to Control Panel > Folder Options (or use this shortcut). Switch to the View tab and uncheck the "Hide extensions for known file types" checkbox. Press OK.
3
Go to the .zip archive. Now you see the same .zip file with the full name "[Filename].zip". Now just change the ".zip" extension to ".phi".
Alternative method
1
Right-click and create a new .zip file. I recommend not to put any files into it yet.
2
Download and install Notepad++ (or some other editor which preserves the initial encoding).
3
Open the .zip with Notepad++. Go to File > Save As. For Save as type: choose "All types (*,*)". For File name type the desired name ending with the ".phi" extension. Save it.
__________________________________________________________________________________________________________
Linux
1
Select all the files to be included in the archive. Right-click on one of the files and select Compress or Create Archive.
2
For Filename type the desired name and select ".zip". Click on Create.
3
Right-click the .zip archive called "[Filename].zip" and select Properties.
4
Replace the ".zip" extension with ".phi" and click on Close.
Thanks to: electronicboy
__________________________________________________________________________________________________________
Mac
1
Select all the files to be included in the archive. Right-click on one of the files and select Compress... or Create Archive....
2
Go to the .zip archive called "[Filename].zip" and replace the ".zip" extension with ".phi".
__________________________________________________________________________________________________________
As it was already mentioned, .phi files get extracted to the Algodoo home directory.
When creating .phi files, note that, if you want the packaged files to be installed into existing folders (i.e. "Scenes", "Skins", "Data/Language", etc.), you have to put them into folders named as the existing folders. So, when being installed, your folders will be merged with the existing folders.
__________________________________________________________________________________________________________