Difference between revisions of "Importprimscript"
Chosen Few (talk | contribs) |
Chosen Few (talk | contribs) |
||
Line 6: | Line 6: | ||
==Download== | ==Download== | ||
* [http://scifigeeks.net/importprimscript/importprimscript-1.4.2-libomv-0.6r2334.zip 1.4.2] (Functionality that had been broken by SL sever 1.20 is now restored, and objects now rez with Allow Anyone To Copy/Move turned off by default instead of on.) | * [http://scifigeeks.net/importprimscript/importprimscript-1.4.2-libomv-0.6r2334.zip 1.4.2] (Functionality that had been broken by SL sever 1.20 is now restored, and objects now rez with Allow Anyone To Copy/Move turned off by default instead of on (does not work with 64-bit Vista)) | ||
* [http://scifigeeks.net/importprimscript/importprimscript-1.4.0-libsl-0.3.2.3-x64.zip 1.4.0-x64] (Works in 64-bit Vista only, functionality that had been broken by SL sever 1.20 is restored) | |||
* [http://www.jhurliman.org/download/importprimscript-1.3.0.zip 1.3.0] (Uploads go in to an inventory folder, more reliable file uploads) | * [http://www.jhurliman.org/download/importprimscript-1.3.0.zip 1.3.0] (Uploads go in to an inventory folder, more reliable file uploads) | ||
* [http://www.jhurliman.org/download/importprimscript-1.0.2.zip 1.0.2] | * [http://www.jhurliman.org/download/importprimscript-1.0.2.zip 1.0.2] | ||
==Requirements== | ==Requirements== |
Revision as of 08:47, 8 January 2009
Introduction
importprimscript is a complement to Qarl Linden's Advanced_Sculptie_Exporter_From_Maya. Once you've exported a folder of files using his script, this program will log in to Second Life using an account of your choice, upload all of the textures, and rez the entire sculptie structure. Sculpt maps are compressed with a single layer lossless JPEG2000 encoding while textures use the traditional five layer lossy JPEG2000 encoding.
Download
- 1.4.2 (Functionality that had been broken by SL sever 1.20 is now restored, and objects now rez with Allow Anyone To Copy/Move turned off by default instead of on (does not work with 64-bit Vista))
- 1.4.0-x64 (Works in 64-bit Vista only, functionality that had been broken by SL sever 1.20 is restored)
- 1.3.0 (Uploads go in to an inventory folder, more reliable file uploads)
- 1.0.2
Requirements
If you are on Windows you will need the .NET 2.0 framework. On other platforms, a current version of Mono is required.
Linux/OSX Users
The current version does not ship with a binary of the openjpeg-libsl library. You will need a current copy of libsecondlife, and to run "make" (or "make osx" on OSX) in the openjpeg-libsl directory and copy the resulting .so or .dylib file to the importprimscript directory. A future release will contain openjpeg-libsl binaries for 32/64-bit Linux and Intel OSX.
Usage
This program is meant to be run from the command line. All input is fed through command line parameters and the program runs and periodically outputs status information to the console. Eight parameters must be passed in (multiple word parameters must be enclosed in quotes), using this order: FirstName LastName Password Simulator X Y Z Primscript.
- FirstName: The first name of the avatar you are going to use to import the structure. This avatar will be listed as the creator, although the object will have full permissions so you can copy it with another avatar. This avatar cannot be logged in before you run the program, so if you are already logged in to Second Life this must be an alt account.
- LastName: The last name of the avatar that is going to import the structure.
- Password: The account password. This password is hashed before being sent to the login server and is never sent to any other sources, running this program is as safe as running the official Second Life client.
- Simulator: The name of the simulator you want the bot to log in to and create the import in. Examples are Hooper or "My Region" (notice the quotes).
- X, Y, Z: Coordinates to log the bot in to the simulator and rez the structure at. These are whole numbers between 0 and 255.
- Primscript: The path to the primscript file to import. Lets say you installed this program to c:\importprimscript\ and exported a folder of textures and the primscript file from Maya in to c:\importprimscript\myexport, and the primscript file is named myexport1.primscript. The command line argument could be either the relative path myexport/myexport1.primscript or the absolute c:\importprimscript\myexport\myexport1.primscript.
Optional GUI
To make things a little more user friendly, there is an optional GUI for controlling the upload utility. Basically, just move sculptgui.exe to the folder with importprimscript.exe in it, and then double click the GUI to use it.
The GUI is Windows only. It could be compiled for Mac with little trouble, only the developer's Mac is broken.