Installing the Blender YSFS scripts

Topics about .dat, .srf, .dnm, .ist, Blender, Gepoly, etc.
Locked
User avatar
vincent
Contributor
Contributor
Posts: 202
Joined: Wed Feb 02, 2011 7:31 pm
Favorite Aircraft: virtual ones
Location: Toulouse, France
Has thanked: 1 time
Been thanked: 25 times
Contact:

Installing the Blender YSFS scripts

Post by vincent » Fri Dec 30, 2011 2:19 pm

INSTALLING THE SCRIPTS


1) Download the installer of Blender 2.49 here
http://download.blender.org/release/Ble ... indows.exe
and install it
(note: if you don't use the setup version, the instructions below are not valid)

2) Download the msi installer of Python 2.6 here
http://www.python.org/ftp/python/2.6/python-2.6.msi (32 bits version)
http://www.python.org/ftp/python/2.6/py ... .amd64.msi (64 bits version)
and install it
(note: if you don't use the setup version, the instructions below are not valid)

3) Download the ysfs Blender scripts here and unzip the archive
http://sourceforge.net/projects/ysfsblender/
and extract all the files


WINDOWS users:

4) Enable Windows File Manager to display the hidden files/folders
Windows 7: http://www.bleepingcomputer.com/tutoria ... windows-7/
Windows XP: http://www.microsoft.com/resources/docu ... x?mfr=true

5) 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 don't have any of these directories, go to the section "IT DOES NOT WORK"

6) Run Blender !
You should see the items to import/export SRF/DNM in the File/Import and the File/Export menu.


UNIX users:

5) 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 :
~/.blender/scripts/ or /usr/share/blender/scripts/blender (the 1st one is a symbolic link of the second directory)
If you don't have any of these directories, go to the section "IT DOES NOT WORK"

6) Run Blender !
You should see the items to import/export SRF/DNM in the File/Import and the File/Export menu.


"It doesn't work!?"


Let's diagnose the problem.
1) Download ysDiagnose.py here:
https://sourceforge.net/projects/ysfsblender/files/

2) Launch Blender 2.49b

3) In Blender, click on the Window selector of the 3D view, and choose the Editor Window.
http://jcapco.files.wordpress.com/2010/ ... .jpg?w=640

4) ALT+O to open a file (or Text/Open) and choose ysDiagnose.py

5) Press Alt+P to run the script (or Text/Run Python script)

6) Check your console window, you should get something like that:
------------------ 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 scripts should be.
Then you should have messages telling you if some files are missing or are corrupted.

The output of the ysDiagnose.py script is very important for us to help you.
When you request help about installation problems, please always run ysDiagnose.py and post the output.

User avatar
decaff_42
First Class Membership
First Class Membership
Posts: 3426
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 546 times
Been thanked: 1203 times
Contact:

Re: Installing the Blender YSFS scripts

Post by decaff_42 » Fri Oct 16, 2015 8:24 pm

A version of YSFS Blender has been compiled to have the right scripts and python version installed. It can be downloaded from the YSFS Wiki here.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests