To run the player with remote control from the command line
<player.exe> "tcp://<ip_address>:<port>"
where the ip_address is in the form of a IPV4 IP address. To run on the same machine, the IPV3 loopback address:127.0.0.1 should be used. Note: Plain text host names are not supported, only numerical IP addresses.
The port is a standard TCP port from I-65535. It must match the port the editor is running on.
For example, to connect to local editor use: ScaleformStudioPlayerRelease_OpenGL.exe tcp://127.0.0.1:2015
When the player is run in remote control mode, a message with the connection parameters is displayed in the window and the ability to drag and drop resources onto the player is disabled. Once connected, the editor program can be used to load and play content in the player.
Below lists the available command line arguments
Arguments | Description |
---|---|
-help | Print command line options. |
Print argument values after command line parsing. | |
-mt | Force multi-threaded rendering. |
-st | Force single-threaded rendering. |
-f | Run in full-screen mode. |
-sy | Enable vertical synchronization. |
-fmt | Requested backbuffer format, in the form: C<bits>D<bits>S<bits>, the default (if available) is C32D24S8. If the requested buffer format is not available, the default for the Platform will be used. |
-sw | Creates a software renderer instead of a hardware one (if available). |
-wd | Runs the watchdog thread, and crashes the application if it is not serviced. |
-deferred | Enable the use of a deferred context, hardware supported if available, software otherwise. |
-version | Expected player version (used for launch from the editor). |
-dynshader | Dynamically initialize shaders as they are used. By default, shaders are all initialized on startup. |
-ndp | Disable Windows debug popups. |
-dump | Creates a minidump when unhandled exceptions occur (implies -ndp). |
-sbuf | Uses static vertex/index buffers, instead of dynamic ones. |
-sm20 | Forces the use of shader model 2.0 shaders (D3D9). |
-pos | Set the initial player window position of width and height using -pos X:Y<:M>, the last argument is the optional monitor |
-max | Set the payer window to be maximized. |
-res | Override player resolution with custom values of width and height using -res W:H. |
-q | Quiet. Do not display errors and Lua output. |
-noclip | Disable stage clipping on startup |
-playback | Use the given filename as instructions for an automated test playback. |
-record | The filename which will record a test. |
-amp | Port for AMP socket connection. (default 7534). |
-wait | Wait until an AMP connection has been established. |
-pl | AMP function profiling level: 0=Low (default), 1=Medium, 2=High. |
-mem | AMP detailed memory reports. |
-s3d | Stingray mode. Specify S3D project path. |
<pos> | File to load at startup. |
-server | DataServer to connect to at startup. |
-scene | Specify the scene to load. |