Client parameters/de

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Für Versionen von Second Life vor 1.20 bitte hier nachschauen: Parameter für Clients vor der Version 1.20(en)

Kommandozeilenoptionen

-Option <Argument> [<optionales Argument>] Beschreibung Überschriebene Einstellung
--help Zeigt eine Meldungsbox, in der die verfügbaren Optionen aufgelistet sind.
--port <Portnummer> Setzt den TCP Port für den Client; nützlich, um mehrere Instanzen von SL auf dem gleichen lokalen Heimnetzwerk laufen zu lassen. Werte, die wahrscheinlich funktionieren: 13000 und 13001 (Gültige Nummern sind von 13000 bis 13050) ViewerPort
--drop <percentage> Legt den Prozentsatz der Pakete fest, die verworfen werden sollen. PacketDropPercentage
--inbw <bits per sec> Bestimmt die Begrenzung der Eingangsbandbreite. InBandwidth
--outbw <bits per sec> Bestimmt die Begrenzung der Ausgangsbandbreite OutBandwidth
--grid <grid choice> Legt den Grid fest, zu dem verbunden werden soll. Kann eine IP Adresse sein. GridChoice
--loginuri <URI> Loginserver zu dem verbunden werden soll. LoginURI
--helperuri Helper Web Cgi Vorspann, der benutzt werden soll ??? HelperURI
--debugviews Aktivieren der Anzeige der Debuginformationen der Benutzeroberfläche. DebugViews
--skin <folder> Bestimmt, welcher Ordner für die Oberflächen benutzt werden soll. (z.B. korean, spanish) SkinFolder
--autologin Login als der letzte gespeicherte Benutzer. AutoLogin
--quitafter <secs> Lässt den Client sich nach der angegebenen Zeitspanne beenden. QuitAfterSeconds
--rotate Zwingt den Avatar, sich nach rechts zu drehen. (Zu Testzwecken). RotateRight
--noaudio Schaltet den Sound des Clients ab. NoAudio
--nosound Schaltet den Sound des Clients ab. NoAudio
--noprobe Schaltet die Prüfung der Hardware beim Start des Clients ab. NoHardwareProbe
--noquicktime Schaltet die Benutzung von Quicktime durch den Client ab. NoQuickTime
--nopreload Schaltet die Verwendung des Vorabladens von Sound und Bitmaps durch den Client ab. NoPreload
--purge Zwingt den Client dazu, zwischengespeicherte Downloads beim Start zu löschen. PurgeCacheOnNextStartup
--noinvlib Fragt nicht nach der Inventar Bibliothek. NoInventoryLibrary
--log Logt Netzwerknachrichten mit. LogMessages
--logfile <filename> Legt einen Dateinamen für die Ausgabe von Logs fest. UserLogFile
--settings <filename> Legt den Namen der Datei mit den Einstellungen des Benutzers fest. UserSettingsFile
--set <setting> <value> Setzt den Wert der bezeichneten Einstellung. Verweist auf das Argument <setting>.
--login <firstname> <lastname> <password> Bestimmt die Login Information. UserLoginInfo
--god Login als Gott, wenn Du Zugriff auf den "Gottmode" hast. ConnectAsGod
--console <show> Zeigt eine Debugkonsole an (nur auf Windows) ShowConsoleWindow
--safe Setzt die Voreinstellungen zurück, läuft im Sicherheitsmodus. SafeMode
--multiple Erlaubt es, gleichzeitig mehrere Viewer laufen zu lassen. AllowMultipleViewers
--novoice Schaltet den Voicechat ab. DisableVoice
--url <SLURL> Legt die Startregion ud -position fest (z.B. secondlife://Ahern//128/128).

Das muss der letzte Parameter in der Kommandozeile sein.

SecondLifeURL
--ignorepixeldepth Ignoriert die Einstellung der Pixelauflösung. IgnorePixelDepth
--cooperative <ms to yield> Yield specified time to host on each frame. YieldTime
--no-verify-ssl-cert Schaltet die Überprüfung des SSL Zertifikates ab. NoVerifySSLCert
--channel <name> Specify version channel name. (For Testing) VersionChannelName
--qa Schaltet die Features der Benutzeroberfläche ein, die für Testzwecke benutzt wurden. QAMode

Verwendung der Clientparameter

Es gibt viele Wege, um Kommandozeilenparameter an den Viewer weiter zu geben. Das sind die am meisten verbreiteten und nützlichen:

Kommandozeile

Auf allen unterstützten Plattformen können Argumente manuell angegeben werden, wenn der Viewer aus einem Fenster der Kommandozeile gestartet wird.

Windows Verknüpfungen

Create a shortcut to the SecondLife.exe executable. Edit the shortcut properties and add any of the above options in the first editable text field. The arguments go at the end of the line, *after* the closing quotation mark, if any.

OS X Parameter File

In OS X, create a file called Second Life.app/Contents/Resources/arguments.txt and list the options you like, one per line.

OS X Applescripts

An alternative (and often easier) way to launch Second Life is to use an AppleScript. To do this, go into /Applications/AppleScript and open Script Editor. Open a new document and paste the following text into it:

do shell script "\"/Applications/Second Life.app/Contents/MacOS/Second Life\" -grid Aditi"

The script includes a parameter as an example, which will send you to the beta grid, change the parameters as you please. Once you're happy with the parameters, hit the "Compile" button, then go to File -> Save As, and save the script as an Application, and select "Run Only" (may be "Execute" on OS X.4 Tiger). If you want to tweak the script then you can save it as not run-only, and/or save a copy as "Script".

Now simply double-click the Application you've compiled, and SL will launch with the parameters you chose. NOTE: If SL launches then immediately quits, them you will need to open it normally as there is likely an update available, so download it and your script will work again, there is a Jira issue for this.

Visual Studio

In Visual Studio, the command line paramaters are in the Debug Options pane of the newview project preferences. Ensure newview is your startup project, and launch the compiled viewer from within the debugger for these options to take effect.

XCode

In XCode, first select "newview" under the "Executables" group in XCode. Then open the "Get Info" dialog and click the "Arguments" tab. Add any of the above options to the "Arguments to be passed on launch" pane.

Specifying new command line parameters

New command line parameters can be added to the client via the configuration file app_settings/cmd_line.xml. Using this file a command line paramter can be mapped to a user setting. Parameter can have the following options:

  • desc - A description of the paramter.
  • short - a single character to map to the paramter.
  • count - the number of tokens to follow a option.
  • compose - true if the option can be specified multiple times.
  • positional - true if the option can be specified without --name.
  • last_option - true if the option should be the last option.
  • map-to - specify a user setting to map the option to.

The file uses LLSD syntax. Use the existing options as reference.