Added a Script Performance window to ATVO and Theme Editor. Here you can visualize the execution time of your scripts to see if they are lagging your theme. The blue bar incidates the worst execution time measured. The green marker is the current execution time.
Changes previously released under alpha/beta:
Features:
Rewrote a large part of the iRacing data parsing which should improve performance and prevent a lot of crashes related to "YAML parsing".
Added a list of all Sessions to the Timing Screen. The Session list shows the list of previous and upcoming sessions (e.g. Practice, Qualification, Race) and shows which session is currently active. You can 'select' a session by double clicking, or check a checkbox to keep the current session selected. Selecting a session is relevant for the new 'selected' data set, see below. This feature is in preparation of heat racing where there can be multiple race sessions.
Double-clicking a Session Event from the Session Events list now plays back the event (just like the Play right-click menu item does).
When recording laps for a car, ATVO now fills in any missing laps with "empty" laps. For example, if you join a session late in lap 10, cars now still receive "laps" for lap 1 - 9 (without any info in them). This helps to make the lap compare control work better.
The camera controls driver selection dropdown now synchronizes with the followed car. If the followed car in iRacing changes, the dropdown should also change to match. However if you select 'Leader', 'Most exciting' or 'Crashes', the dropdown will stay on that value even when the focus in iRacing changes.
When adding a bookmark while you've selected 'Leader', 'Most exciting' or 'Crashes' in the driver selection dropdown, ATVO will now add a bookmark for the currently followed car (instead of ignoring the bookmark).
Added two new encodings to Spreadsheets: Windows-1252 and ISO 8859-1.
Added the ability to choose a custom encoding for Spreadsheets. Select 'Custom' in the Encoding property, and then input your desired encoding name in the Custom Encoding property. Possible names are listed under Remarks on this page: https://msdn.microsoft.com/en-us/library/system.text.encoding(v=vs.110).aspx
New Data Sets:
Added "selected" data set. This data set acts just like the "standings" data set (returns the standings, list of results) except it returns the data for the session selected in the new Sessions list. For example, during the Race you can select the Practice session and show data from the practice session in this way. When heat racing is released, this can be used to show data from a previous race heat.
Added "laptimes" data set. This returns a list of lap data (e.g. laptime) from the currently followed driver only, in order of descending lap number (e.g. last lap first).
New Controls:
Added Laptime Compare control which allows you to compare the laptimes of two drivers. The Laptime Compare control looks like two dropdowns side by side where you can select the two drivers. Beside drivers, you can also select the Leader or the Followed car for the first driver; and the Car Ahead or Car Behind for the second driver.
For each Laptime Compare control in your theme, a new data set will be added (named after the name of the Laptime Compare control). Select this data set for your Widget that needs to show the laptime comparisons.
Data bindings for the Laptime Compare data set include the delta time (laptime difference), details about both laps (laptime, number, position, etc), and details about both drivers (name, id, carnumber, etc). These bindings come in pairs where binding "1" (e.g. "carnumber_1") refers to the first driver and binding "2" (e.g. "carnumber_2") refers to the second driver.
Bug Fixes:
Fixed a major bug where closing a theme in ATVO would not properly unload the theme and would keep triggers active, causing many issues after loading a new theme such as crashes on video playback. Themes are now unloaded properly and this should fix a number of issues with triggers.
Fixed a bug where the Driver column in the Session Events list was empty.
Fixed a bug where duplicate laps could be recorded for cars in rare cases, causing a crash in the lap compare control.
Fixed a bug where "playing" a session event or bookmark would fail to rewind the iRacing replay and simply hang for 15s instead.
Fixed a bug where the bookmark list would not show the list of available cameras.
The bookmark list now correctly shows the session time in the Time column.
Fixed a bug where tickers were being updated even when their widget is not visible.
Fixed a bug in the lapcounter binding where the Format (time remaining) property was being changed accidentally by setting the other 'Format below 1 hour' and 'Format below 1 min' properties.
Fixed a bug where showing or hiding a Scene would reset all tickers. This is only fixed in ATVO, the reset will still occur in the Theme Editor for now.