Importing Data from VR Games
This page describes how to import boat data directly from the VR game server. Once it's set up the method is completely automatic and reliable. This is the best way to import data from VR games.
How it works
When your game console needs information about your boat it instructs your browser to send a request to the VR game server. The game server has to know who you are, so the request includes your username as an encrypted string. This means the request is unique to each player (and to each race). If you want VRTool to request data from the server you have to figure out the contents of the request message for your boat. Fortunately you can use the developer tools built into modern browsers to "sniff" out the request on its way to the server.Once you have found the request string for your boat you can configure VRTool to send the same request to the VR server. This configuration is done in the Boat Data control panel on the Boats tab. The game server responds with the data for your boat (and your friends if you want it). VRTool uses this to generate a track for each boat on the chart.
There are two main steps to establishing a link between VRTool and the Virtual Regatta game server:
Step 1: Obtain the URL that the game console sends to the VR game server to query the boat positions.
Step 2: Configure VRTool to use this URL.
These steps are explained in the following sections.
Step 1: Obtain the Query URL
This is the trickiest part of the process, especially if you are not a little bit "geek". The process depends on which web browser you are using.
Some browsers are continually upgraded, and the developer tools in web browsers change with every update. So it's next to impossible to keep these instructions exactly up to date. The browser version for which the instructions have been tested is shown for each browser.
Step 2: Parameterise VRTool
- In VRTool select the Boats tab. Open the Boat Data control panel.
- In the GetUser field at the top, paste the URL address that you copied in Step 1.
- Click on the icon beside this control to send the GET message to the game server. If it's successful the field on the control panel will populate with your boat data. If you click the icon more than once in a 10 minute server cycle the data returned will a repeat of the previous data and it is ignored with the message "Same or old boat data".
- Select Auto update in to make VRTool update the boat position automatically every 10 minutes, and draw the boat track on the chart.
Tip: When you first set up the link, VRTool can't draw the track on the chart or display the boat icon until it receives the second set of data for a different position. So you may see nothing on the chart other than a dot until your boat moves, which is 10 minutes later in a VR game. However you can verify that the link is working by looking at the data on the Boat Data control panel. |
The other controls on this panel are explained under the Boats Tab.