Results 1 to 5 of 5

Thread: Overlays

  1. #1
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,560

    Overlays

    As part of the 4.10.0.1 release, Crew Chief can now render in-game overlays to show the app's console output or user-configurable telemetry charts controlled by voice commands. This only works with the game running in windowed (or borderless windowed) mode.

    These can also be shown in VR and positioned in the game world using 3rd party apps like "OVR Overlay". Enable this functionality with the 'Enable overlay window' property. By default the app will record the telemetry data specified in Documents/CrewChiefV4/chart_subscriptions.json - this file can be edited to include new data channels but it requires some understanding of the internal game data format and / or the internal Crew Chief data format - we're still working in this. The telemetry recording is not active during race sessions - you can enable this by selecting with the 'Enable chart telemetry in race session' property.


    Telemetry is available for the previous completed lap (excluding out laps), the player's best lap in the session (excluding invalid or incomplete laps) and in some limited cases, the best opponent lap in the session (opponent data is limited to car speed, and is only available for some games at the moment). Typically, you'd drive a few laps in practice and pit, then ask the Chief "show me last lap car speed" or something like that.


    To get the maximum out of telemetry charts in iRacing, iRacing disk telemetry must be enabled in iRacing app.ini 'irsdkEnableDisk', and in Crew Chief properties 'Enable disk based telemetry for overlay'. Crew Chief can not access the disk based telemetry while its recording but once your get out of the car or stop the recording manually (Alt-L) Crew Chief will read and process the file and you can get access the data on the overlay.


    The charts can be zoomed in to show a particular sector, or zoomed and panned with voice commands.


    General overlay commands:


    "hide overlay" / "close overlay"
    "show overlay"
    "show console"
    "hide console"
    "show chart"
    "hide chart"
    "show all overlays" - show console and chart(s)
    "new chart" / "clear chart" - removes all data from the currently rendered chart
    "clear data" - clears all in-memory telemetry data for the current session
    "refresh chart" - redraw the current chart with the latest data
    "show stacked charts" - show each different series on its own chart
    "show single chart" - show all active series on the same chart
    "show time" - change the x-axis to be time
    "show distance" - change the x-axis to be distance around the lap (this is the default)
    "Show sector [one / two / three]"
    "Show all sectors"
    "Zoom [in / out]"
    "Pan [left / right]"
    "Reset zoom" - reset zoom to show the entire lap's data
    "Next lap" - show the next lap (when showing 'last lap' chart)
    "Previous lap" - show the previous lap (when showing 'last lap' chart)
    "Show last lap" - move back to the last lap (when showing 'last lap' chart)




    Series specific overlay commands:


    "show me..." - add a series to the chart
    "chart, remove..." - remove a series from the chart
    "best lap..." - add player best lap to the chart
    "last lap..." - add player last lap to the chart (can be omitted - the app will assume you mean last lap if you don't specify it)
    "opponent best lap.." - add opponent best lap (over all opponents in the player's class) to the chart


    e.g. to show a single chart for car speed, with your best lap and your opponents's overall best lap overlaid on the same chart with x-axis as distance (metres):
    "show me best lap car speed"
    "show me opponent best lap car speed"


    e.g. to show 2 charts, one for speed and one for gear for your best and your last lap with x-axis as distance (metres):
    "show me best lap car speed"
    "show me last lap car speed"
    "show me best lap gear"
    "show me last lap gear"


    e.g. to show 3 charts, speed gear and RPM for your best and last laps with x-axis as time (seconds):
    "show me best lap car speed"
    "show me last lap car speed"
    "show me best lap gear"
    "show me last lap gear"
    "show me best lap engine revs"
    "show me last lap engine revs"
    "show time"


    e.g. to show a single chart with throttle position and gear for your last lap with x-axis as distance (metres):
    "show me throttle position"
    "show me gear"
    "show single chart"




    Note that data for the same series (e.g. car speed) will always be overlaid on the same chart. Stacked charts only applies to data from different series (speed / gear, for example).


    The definition of a "series" is held in Documents/CrewChiefV4/chart_subscriptions.json. You can add to this as you wish but bear in mind that opponent data is very limited - for some games no suitable data is available at all, for some only car speed is available. We'll add more here and documentation as we go along. The rawDataFieldName refers to a field in the raw game data (the shared memory block), use this to access unmapped data or use "mappedDataFieldName" to access data that CrewChief has mapped from the raw data. In both cases dot-notation is supported. For example, car speed can be obtained from R3E by using rawDataFieldName=CarSpeed, or from the mapped data (for all games) using mappedDataFieldName=PositionAndMotionData.CarSpeed . All opponent data comes from mapped data, and the only available fields are Speed, RPM and Gear.


    The voice command fragment for each series is also in this json file. The voice command is constructed by the app, prefixing "show me best lap..." / "show me last lap..." / "show me opponent best lap..." as appropriate (e.g. "show me last lap car speed").


    The overlay can also be controlled with the mouse. Enable the "Enable input" checkbox on the overlay to show controls for the various chart and overlay functions. The overlay can also be moved around by dragging the title bar when Enable input is checked.

  2. #2
    This overlay work on rFactor2?

  3. #3
    Quote Originally Posted by Taris Henrique View Post
    This overlay work on rFactor2?
    Yes

  4. #4
    Junior Member
    Join Date
    Apr 2020
    Posts
    1
    I enabled the overlay but can't get back to the main console view to change properties and the like. Any help would be appreciated. I uninstalled and reinstalled and the overlay is still the only thing that opens when I start crew chief.

  5. #5
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,560
    The app's not minimised to system tray is it? There might be a CC icon you can right-click on.

    There might be something interesting in the logs - can you post the contents of the most recent file in Documents/CrewChiefV4/debugLogs/ please

    You can reset the app to default settings by deleting the folders
    c:\Users\[user name]\AppData\local\Britton_IT_Ltd
    and
    Documents\CrewChiefV4\

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •