Look our scenario:
1 instalation (with separate core and data folders)
We have two profiles, each one in diferent ports, we can launch each profile working fine but when i install your plugin i look your tool showing track label blinking between two diferents servers track.
Ah ok, now I understand.
I think in this way it is not possible to make the plugin work for two separate instance.
What u might do is the following:
Copy your current installation to a separate folder and outsource the Packages folder maybe this way ...
C:\Games\rFactor2 Packages
C:\Games\rFactor2 Instance 1
C:\Games\rFactor2 Instance 2
Start the
Launch rFactor.exe in each instance folder and under
Advanced change the
Data Path of each instance to point to the right directory.
Rename the server profiles to e.g.:
C:\Games\rFactor2 Instance 1\UserData\DedicatedServer\rFactor2 DS X1.plr
C:\Games\rFactor2 Instance 2\UserData\DedicatedServer\rFactor2 DS X2.plr
Now let instance 1 + 2 point to
C:\Games\rFactor2 Packages. This way u can at least save a little amount of disk space. With this u can configure a second instance of the database-website-loader combination. The first loader grabs the data from
C:\Games\rFactor2 Instance 1\VMHotlaps and writes it to
db1 sharing its information through
website1 and do the same for instance 2, grabbing the data from
C:\Games\rFactor2 Instance 2\VMHotlaps writing it to
db2, sharing it through
website2.
Hope this helps ...
Cheers
Frank
PS: To overcome this, it might be a good idea to use the
<PlrFileName> return value for a sub-directory name under ..\VMHotlaps\.. like
..\VMHotlaps\rFactor2 DS X2\CurrentScoring.xml within the plugin for a possible next relase ...