For Windows, Linux and Mac OSX users, the YS Paint Scripts and the right versions of Python and Blender have been packaged together for your convenience. Just download, unzip and start working!
Installing The ScriptsEdit
- Download the installer of blender 2.49 here: http://download.blender.org/release/Blender2.49b - Install it. (NOTE: If you do not use the setup version, the instructions below are invalid)
- Mac Users Download the most recent operating system and highest python for version 2.49.
- Download the msi installer of Python 2.6 here: http://www.python.org/ftp/python/2.6/python-2.6.msi (32 bit version) and here: http://www.python.org/ftp/python/2.6/python-2.6.amd64.msi (64 bit version) and install it. (NOTE: If you do not use the setup version, the instructions below are invalid)
- Download the ysfs Blender scripts here and unzip the archive. http://sourceforge.net/projects/ysfsblender/ and extract all the files.
- Enable Windows File Manager to display the hidden files/folders.
- Among the extracted files, you see "install.html" and a folder called "ysfs scripts"
Copy all the files/folders inside "ysfs scripts" (ie lib_ysfs, best_camera_position.py, chza.py, ... ) in the directory :
- Windows 7: C:\Users\YOUR_USERNAME\AppData\Roaming\Blender Foundation\blender\.blender\scripts
- Windows XP: C:\Program FIles\Blender Foundation\Blender
- Windows 2000: C:\Documents and Settings\Your_Username\Application Data\Blender Foundation\Blender
- If you do not have any of those directories, go to the section "It Does Not Work."
- View this video for an example installation - http://www.youtube.com/watch?v=hiDuTDxUaew
Mac OS XEdit
- Extract the ysfs scripts (ie. lib_ysfs, best_camera_position.py, chza.py, ... )
- Find the blender.app file and right-click on it, selecting Show Package Contents.
- Open the contents folder and then open the MacOS folder and select the blender file.
- Press Command -> i to open up the information about the file. Highlight and Copy the filepath.
- Press Command -> Shift -> G and paste the filepath into the box that appears.
- At the end of the filepath type /.blender/scripts/
- Press enter. Copy the ysfs scripts folder contents into the scripts folder.
- Run blender and check to see if there is an option to import SRF/DNM under File -> Import
View this video for an example installation - http://www.youtube.com/watch?v=uE5mNK7BBOk
It Does Not WorkEdit
- Download ysDiagnose.py here - https://sourceforge.net/projects/ysfsblender/files/
- Launch blender 2.49b
- In Blender, click on the Window selectorof the 3D View, and choose the Editor Window. http://jcapco.files.wordpress.com/2010/07/text-editor.jpg?w=640
- ALT+O to open a file (or Text/Open) and choose ysDiagnose.py
- Press ALT+P to run the script (or Text/Run Python Script)
- Check your console window, you should get something like this:
------------------ DEBUG START-------------------- OS: linux2 Python Version 2.6.2 (r262:71600, May 31 2009, 07:52:46) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] Blender version 249 Blender home dir /home/vins/.blender Blender script dir /home/vins/.blender/scripts Blender user script dir None Working dir: /home/vins/.blender/scripts libysfsExport.py is probably corrupted, supposed to have f6c2eefd645836c06b885a4dcc661b21 but got 799e290e818bb9838d827cc4588c00ba libysfs.py is probably corrupted, supposed to have 287178197d9603a1dad3cd834ac76d3c but got 9b8a6684802f8dd9cc1716974985d504 trying to import ------------------ DEBUG END--------------------
The Blender script dir line tells you where the script should be. Then you should have messages telling you if some files are mission or are corrupted.
The output of the ysDiagnose.py script is very important for use to help you. When you request help about installation problems, please always run ysDiagnose.py and post the output.