News Overview SceneEngine Downloads VideoTutorials Main Page SourceForge Get Involved Bookmark and Share

In a project like SceneEngine is very important that all developers can do tests on the same data and get the same results. This allows a faster detection of problems.

To allow all SceneEngine developers to have the same data in their computers, in the same folder path (windows only) we use a virtual hard disk drive X: with scenes and maps. This way all developers will have the same scenes, that will open with the same paths and will render correctly because these paths are absolute based on X:. This will allow us all to test the tools while relative paths are supported in SceneEngine.

To start, please download the contents for the virtual drive: http://www.sceneengine.org/ScEngSync/ScEngSync.zip

Unzip the contents of that folder to an empty folder. Make sure that the directories are recreated.

Open a command prompt window (DOS) and type the following command:

subst x: (the folder where you unziped the data)\ScEngSync

for example:

<pre> subst x: C:\SceneEngine\Sync\ScEngSync </pre>

Please make sure that it looks something like this using dir with subfolders

<pre> dir /s </pre>

<pre>

Volume in drive X has no label.
Volume Serial Number is C421-CF13
Directory of X:\

05/15/2007 06:35 AM <DIR> . 05/15/2007 06:35 AM <DIR> .. 05/14/2007 07:00 AM <DIR> artForge 05/14/2007 07:00 AM <DIR> images 05/15/2007 06:35 AM 0 p.txt

              1 File(s)              0 bytes
Directory of X:\artForge

05/14/2007 07:00 AM <DIR> . 05/14/2007 07:00 AM <DIR> .. 05/14/2007 07:00 AM <DIR> ccMaps 05/14/2007 07:00 AM <DIR> ccScenes

              0 File(s)              0 bytes

</pre>

Note: if the directory structure doesn't like like above, you can delete the virtual drive with

<pre> subst x: /d </pre>

Create a scengsync.bat file and copy in it the subst command. Save it and create a shortcut of this file. Copy-Paste this shortcut to your startup folder

c:\Documents and Settings\(username)\Start Menu\Programs\Startup

Now, everytime the computer is reinitialiced, this bat file is executing creating the x: drive.

Views