8.0

Command Line Options
SpectraLayers One can be called with various command line options. [ ] means optionnal
arguments.
Launch options
Theses options only work when SpectraLayers One is launched for the first time.
Command Description
-reset
Reset every settings.
-dpiscaling SCALE
(Windows only) Forces the dpi scaling of the application.
SCALE for a non high-dpi screen would be 1, otherwise it
would typically be 2.
-cpu INSTRUCTIONSET
Limits optimizations to the specific INSTRUCTIONSET.
Possible values are sse4.2, avx, avx2, avx512.
-threads X
Forces multi-threading to X threads.
-language X
Forces language to X, where X can be an ISO 639-1 code or a
path to a .qm file.
-debug
Write more detailed log files.
Session options
Theses options can be called at launch or when a SpectraLayers One session is already active.
Calling SpectraLayers One with options when a session is active will result in theses options
being transferred to the active session.
Command Description
-deviceapi [API]
Changes the active device to API. API must be an existing
Type in Device Preferences. If API is not defined, it will switch
back to the previously active API.
-edit FILE [START]
Open FILE as a new project with START as the first sample
position. If START is not defined, it will start at 0.
-merge FILE [START]
Import FILE as a new layer into the active projec, with START
as the first sample position. If START is not defined, it will
start at 0.
-replace FILE [START]
Replace any project created from the same FILE, with START
as the first sample position. If START is not defined, it will
start at 0.
-parent APPLICATION
When opening a file with the above commands, define an
application name that will be used for the Export Back text
strings
-server SERVERNAME
Gets socket notification sent to SERVERNAME for specific
events (0: importing file, 1: file imported, 2: exporting file, 3:
file exported, 4: file closed)
65
SpectraLayers One 8.0.10