forked from j62/ctbrec
Add section how to run several instances
This commit is contained in:
parent
c672750d10
commit
1a33c3d92d
|
@ -24,3 +24,21 @@ If you have direct access to the recordings you can use these players and open t
|
||||||
Otherwise use the ctbrec client. Set the **Record Location** to **Remote** and configure your server.
|
Otherwise use the ctbrec client. Set the **Record Location** to **Remote** and configure your server.
|
||||||
Under **General** select the **Player** of your choice. Then you can start the playback directly from the
|
Under **General** select the **Player** of your choice. Then you can start the playback directly from the
|
||||||
**Recordings** tab.
|
**Recordings** tab.
|
||||||
|
|
||||||
|
#### Can I run several instances of CTB Recorder
|
||||||
|
It is possible to define the configuration directory and configuration file, which is used by ctbrec. This way you
|
||||||
|
can create several instances with different configurations.
|
||||||
|
On Windows, create a file called `ctbrec.l4j.ini` right next to `ctbrec.exe`. Add one of the following settings
|
||||||
|
or both to the file:
|
||||||
|
|
||||||
|
To change the config directory:
|
||||||
|
|
||||||
|
`-Dctbrec.config.dir=C:\Users\boobface\Desktop\ctbrec\conf`
|
||||||
|
|
||||||
|
To change only the config file:
|
||||||
|
|
||||||
|
`-Dctbrec.config=abc.json`
|
||||||
|
|
||||||
|
On Linux and macOS edit `ctbrec.sh` and add one or both of the above mentioned settings to the start line (preferably directly after $JAVA):
|
||||||
|
|
||||||
|
`$JAVA -Dctbrec.config=alternate-settings.json -Djdk.gtk.version=3 -cp ctbrec-1.19.1-final.jar ctbrec.ui.Launcher`
|
Loading…
Reference in New Issue