![]() Specify the value of the named setting (view a full list here). Note that currently (2.6) the login screen mode menu will show "Basic" if this setting appears at all, but the command line setting will still override on actual login.įirst argument is the name of setting second is the value to assign to it. Use settings_minimal.xml to force Basic mode on login, an invalid name like none to force Advanced mode. Must be used with -autologin.įorce the avatar to rotate to the right. Use a saved autoplay file to perform viewer actions automatically. Have the client quit after the specified duration. Number of seconds to wait before quitting Values that may work: 1301 (Valid numbers are 13000 to 13050)įorce the client to clear cached downloads during startup. Set the TCP port for the client useful to run multiple instances of SL on the same local home network. See Performance Testers for details.Īllow multiple viewers running concurrently.ĭisable precaching of sound and bitmaps used by the client. May only be set in the grid definition (grids.xml)Īccount first name, last name, and password with which to log in. ![]() Show a message box with available options listed. Must specify either a hard-coded grid (agni or aditi), or one defined in grids.xml Override the level that would be selected based on your gpu Run as if RenderDebugGL is TRUE, but log errors until end of session.ĭisables the crash logger and lets the OS handle crashes. Yield specified time to host on each frame. Must be used with -logmetrics or -logperformance. For example in -port 13001, "port" is the parameterĬompare gathered metrics with baseline. NOTE: A parameter refers to a directive provided on the command-line following a double-dash (-).Īn argument is a value provided for a parameter. Add any of the following options to the "Arguments to be passed on launch" pane. Then open the "Get Info" dialog and click the "Arguments" tab. In XCode, first select "newview" under the "Executables" group in XCode. Ensure newview is your startup project, and launch the compiled viewer from within the debugger for these options to take effect. In Visual Studio, the command line paramaters are in the Debug Options pane of the newview project preferences. NOTE: If the Viewer launches then immediately quits, open it normally since there is likely an update available:ĭownload it and your script will work again. If you want to tweak the script then you can save it as not run-only, and/or save a copy as "Script".ĭouble-click the application you've compiled to launch the Viewer with the specified parameters. Save the script as an Application, and select "Run Only" (may be "Execute" on OS X.4 Tiger).Once you're happy with the parameters, click "Compile". ![]() The script includes an example parameter that will cause the Viewer to log in to the beta grid change the parameters as desired. ![]() Open a new document and paste the following text into it:ĭo shell script "\"/Applications/Second Life.app/Contents/MacOS/Second Life\" -grid Aditi".In /Applications/AppleScript open Script Editor.(Caution: this file uses a different XML format than the other settings files.)Īn alternative (and often easier) way to launch Second Life with command line parameters is to use an AppleScript. For example, if your Second Life name is "FooBar Baz", you should find that file in foobar_baz/settings.xml. If you edit the user_settings/settings.xml file, that affects future Second Life sessions initiated from your OS account.Īlternatively, you can edit the first_last/settings.xml file, which affects only Second Life sessions for that login user. Please see the table below to understand the settings variables engaged by each command-line switch. On all platforms, you can also construct a settings file and specify that with the -sessionsettings command line switch. Second\ Life\ Viewer.app -args -channel "Test 123" -settings settings_workspace.xml -set InstallLanguage en SecondLife.exe -channel "Test 123" -settings settings_workspace.xml -set InstallLanguage en When running the Viewer from a command shell you may specify parameters directly on the command line. There are many ways of passing command line parameters to the Viewer. 3 Specifying new command line parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |