mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Updated Using noVNC and Retribution as Web Interface (markdown)
parent
f12ca6ab97
commit
ec7afd6f97
@ -1,16 +1,16 @@
|
||||
## Situation:
|
||||
My flight group and I want to create missions using Liberation. I run the campaign on my dedicated server, which is a Windows 10 Guest VM.
|
||||
My flight group and I want to create missions using Retribution. I run the campaign on my dedicated server, which is a Windows 10 Guest VM.
|
||||
Generally we use the Server Interface provided by ED to control the server. Missions are synced by a Google Drive sync.
|
||||
So everybody is able to upload missions and run them on the server remotely, without having to use some sort of third party interface - like VNC or Remote Desktop.
|
||||
|
||||
On Liberation it is a bit different - you cannot control it using some sort of WebGui. Making a turn would need the user to be on that very machine the mission runs.
|
||||
On Retribution it is a bit different - you cannot control it using some sort of WebGui. Making a turn would need the user to be on that very machine the mission runs.
|
||||
Asking for a solution I was pointed to use Remote Desktop for such an endeavour - in my eyes not a good solution when running a server where several people want to operate.
|
||||
|
||||
## Workaround:
|
||||
To access the Liberation Tool I used VNC and set it up the following way...
|
||||
To access the Retribution Tool I used VNC and set it up the following way...
|
||||
|
||||
### Setting up Liberation area
|
||||
On the Windows VM set up a second screen in which you want to position Liberation. Note that the resolution should be somewhat below your clients-resolution
|
||||
### Setting up Retribution area
|
||||
On the Windows VM set up a second screen in which you want to position Retribution. Note that the resolution should be somewhat below your clients-resolution
|
||||
for example:
|
||||
If you use 1080p on your client then it would be best that the resolution on your VM is below that (1680x1050) - otherwise your browser bars/frames will cost viewing area.
|
||||
If you fancy remove the Taskbar from that screen.
|
||||
@ -23,7 +23,7 @@ Install TightVNC using its installer.
|
||||
Once done install it as a service (there are links in the StartMenu for that) and run that service (also link in StartMenu).
|
||||
In your tray you'll find a VNC icon, click on it and open _configuration_.
|
||||
Set up your ports and passwords as needed.
|
||||
On Extra Ports add the port and viewing area your Liberation is positioned
|
||||
On Extra Ports add the port and viewing area your Retribution is positioned
|
||||
In my particular case (1152x864 main screen / 1680x1050 second screen) that string looks like that:
|
||||
|
||||
>``5901:1680x1020+1152+30``
|
||||
@ -54,9 +54,9 @@ Change to the tab _Access Control_ and allow loopback connections
|
||||
There are some more parameters to websockify to wrap executables or start them on connection, which I haven't had a look on yet.
|
||||
|
||||
## Execution
|
||||
Start websockify using the parameters given (or adapted). Start Liberation and put it on your second screen maximized.
|
||||
Start a Browser and enter the URL:port of your machine. Enter you password - now you should see your Liberation tool.
|
||||
Start websockify using the parameters given (or adapted). Start Retribution and put it on your second screen maximized.
|
||||
Start a Browser and enter the URL:port of your machine. Enter you password - now you should see your Retribution tool.
|
||||
|
||||
## Notes
|
||||
I did all that for people I trust and not for a public server. Keep in mind that this provides an access to your machine, there is no security implemented.
|
||||
Why did I use an area instead of an executable wrapping? Because Liberation uses popups, if I wrap VNC only to liberation.exe those popups might not show up - providing an area I avoid this.
|
||||
Why did I use an area instead of an executable wrapping? Because Retribution uses popups, if I wrap VNC only to Retribution.exe those popups might not show up - providing an area I avoid this.
|
||||
Loading…
x
Reference in New Issue
Block a user