[REL] Crew Chief v4.5 with rFactor 2 support

Discussion in 'Other' started by The Iron Wolf, Feb 1, 2017.

  1. JimmyT

    JimmyT Registered

    Joined:
    Jan 16, 2012
    Messages:
    765
    Likes Received:
    470
    Thanks for the responses but it says it can't find a compatible speech recog app. I will do some more research and testing on the weekend, can't think straight on a work night :( and I have an early start in the morning so will have a crack later. Thanks again.
     
  2. The Iron Wolf

    The Iron Wolf Member

    Joined:
    Feb 20, 2016
    Messages:
    964
    Likes Received:
    909
    Glad you like it :) Checkout the improved Properties window too, you might find goodies you weren't aware exist :)
     
    ceecee likes this.
  3. AMillward

    AMillward Registered

    Joined:
    Apr 4, 2017
    Messages:
    1,680
    Likes Received:
    1,596
    I'll admit I haven't used CC for a while. I'll have to check the changelog when I update (if it's all in there)
     
  4. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    Guys,

    We've done some work on the message priority in the latest release. We're not quite there yet but we've added a first cut of a more aggressive interruption mechanism. We're limited by the behaviour of the built in sound player object - it's not possible for the app to stop a sound part way through. However, we can prevent it playing any other sounds if the spotter wants to talk. This means the app can abandon messages part way through if they contain more than one sound file and the spotter wants to talk.

    It can sound a little odd at times but it certainly raises the priority of the spotter. We have a couple more related improvements to make here over the next couple of releases.

    Enable this behaviour with the "spotter and responses block other messages" property
     
  5. Will Mazeo

    Will Mazeo Registered

    Joined:
    Sep 12, 2015
    Messages:
    2,124
    Likes Received:
    1,500
    are there mirrors to downlaod crew chief? sometimes it goes really slow so updating fails and downloading the installer from site will give a network error
     
  6. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    There's a ''use alternative download locations" property on the properties screen - have you tried changing that?
     
  7. Will Mazeo

    Will Mazeo Registered

    Joined:
    Sep 12, 2015
    Messages:
    2,124
    Likes Received:
    1,500
    thanks man!! that worked :) :)
     
  8. elbo

    elbo Registered

    Joined:
    Feb 19, 2012
    Messages:
    570
    Likes Received:
    158
    latest version seems to have broken the program for me.
    I hear the radio check, but no-one talks to me any more out on track

    11:27:14.060 : Set iRacing mode from previous launch
    11:27:14.066 : Starting app. Version: 4.9.3.7
    11:27:14.253 : Using sound pack version 150, driver names version 131 and personalisations version 130
    11:27:14.260 : Preparing driver names
    11:27:14.294 : Prepare driver names completed
    11:27:14.297 : Preparing sound effects
    11:27:14.317 : Prepare sound effects completed
    11:27:14.319 : Preparing personalisations for selected name Dino
    11:27:14.393 : Prepare personalisations completed
    11:27:14.395 : Preparing voice messages
    11:27:16.278 : Prepare voice message completed
    11:27:16.279 : Finished preparing sounds cache, found 5980 driver names and 2630 sound sets. Loaded 368 message sounds with 361 active SoundPlayer objects
    11:27:16.279 : 221 sounds have personalisations
    11:27:16.325 : Reading driver name mappings
    11:27:16.332 : Read 2164 driver name mappings
    11:27:16.333 : Reading driver name mappings
    11:27:16.339 : Read 422 driver name mappings
    11:27:16.342 : Spotter Jim (default) has oval-specific sounds - these will be used for tracks marked as 'oval'
    11:27:16.356 : Loading controller settings
    11:27:16.377 : Controller : Controller (Xbox One For Windows) is not available: HRESULT: [0x80040154], Module: [SharpDX.DirectInput], ApiCode: [DIERR_DEVICENOTREG/DeviceNotRegistered], Message: Class not registered
    11:27:16.380 : Load controller settings complete
    11:27:16.393 : Attempting to initialise speech recognition for user specified location en
    11:27:16.634 : Success
    11:27:16.640 : Loading all voice command alternatives from speech_recognition_config.txt
    11:27:16.827 : Attempted to initialise speech engine - success = True
    11:27:17.056 : Checking for updates
    11:27:17.633 : Got update data from primary URL: http://thecrewchief.org/
    11:27:17.642 : Check for updates completed
    11:27:40.612 : Took 24.33s to lazy load remaining message sounds, there are now 7134 loaded message sounds with 361 active SoundPlayer objects
    11:30:19.506 : Using game definition iRacing
    11:30:19.593 : Loading default command macros from installation folder
    11:30:19.811 : Loaded 16 macro voice triggers into the speech recogniser
    11:30:19.867 : Loaded 89 default car class definitions and 0 user defined car class definitions
    11:30:19.912 : No user defined landmarks found
    11:30:19.961 : Starting queue monitor
    11:30:19.965 : Monitor starting
    11:30:19.983 : Polling for shared data every 100ms
    11:30:21.382 : Playing sounds, events: COMPOUND_SMOKE_TEST
    11:30:21.384 : (radio_check/test)
     
  9. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    there's nothing unusual in that log, and the recent changes shouldn't have affected anything, but i'll have a look later tonight or tomorrow. Anyone else seeing the same thing?
     
  10. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    As Vytautas just pointed out to me, you're in iracing mode there. If you're playing rf2 make sure you change the apps game mode to rfactor 2
     
  11. elbo

    elbo Registered

    Joined:
    Feb 19, 2012
    Messages:
    570
    Likes Received:
    158
    crap that was it...I guess it reverted to iracing mod after update...thanks for the help.
     
  12. felirrari

    felirrari Registered

    Joined:
    Oct 10, 2014
    Messages:
    122
    Likes Received:
    70
    By the way, is it possible to insert those commands (Request pit, refueling, fix damage...) to Crew Chief?
     
  13. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    yes. Crew Chief supports key press macros, which are triggered by a voice command. It's all configurable but requires some fiddling with a .json file (and setting up the right key bindings in-game). The magic file includes some instructions -

    https://raw.githubusercontent.com/m.../master/CrewChiefV4/saved_command_macros.json

    You'd need to add keyBindings for game type RF2_64BIT, and then the appropriate macro and commandSet elements. It's a very flexible system. You specify a voice command, like "repair aero damage", then for this command specify the sequence of actions CC should take (like, "pit menu toggle", "pit menu down", "pit menu confirm"), and then specify which keys to press for each action (like, "action": "pit menu toggle", "key": "p"). The downside of the flexibility is that it can be a bit challenging getting it all set up.
     
    felirrari likes this.
  14. Booth_doberman

    Booth_doberman Registered

    Joined:
    Oct 5, 2015
    Messages:
    91
    Likes Received:
    36
    Last night I thought I'd test the feature where you can change the timescale in the environment of your race. So, for example, you can run a 3-hour race in a world where the weather, daylight, nighttime, etc., changes at a faster pace. Anyway, it was starting to get dark at Le Mans_17 when suddenly I got a black flag for driving at night without lights. I didn't think it was dark enough for headlights. This is something the spotter/chief should have told me. Did I miss a setting in the Crew Chief menu or is this not implemented?
     
  15. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    i don't think the app knows how dark it is, or whether you have your lights on
     
  16. Booth_doberman

    Booth_doberman Registered

    Joined:
    Oct 5, 2015
    Messages:
    91
    Likes Received:
    36
    Which app...yours or RF2? RF2 knew enough to give me a black flag for running without lights in the dark.
     
  17. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    122
    Likes Received:
    109
    Mine. Rf2 doesn't expose any information about lights or time of day
     
  18. Will Mazeo

    Will Mazeo Registered

    Joined:
    Sep 12, 2015
    Messages:
    2,124
    Likes Received:
    1,500
    The game warns you about lights being mandatory if the option is set in the rfm (or it's in the track gdb, cant remember). You have like 5 seconds to turn them on, it's stupid to use it honestly but I think it's the default
     
  19. The Iron Wolf

    The Iron Wolf Member

    Joined:
    Feb 20, 2016
    Messages:
    964
    Likes Received:
    909
    This enforcement, as well as pretty much anything else in message history window, is not exposed via rF2 internals, hence it is not visible to Crew Chief. I asked S397 to expose that info as well as other stuff, like exact cause and type of a penalty etc.

    Interestingly, internals interface has functions that hint of message history content, but read values are always empty. Probably, ISI did not wire them properly.
     
  20. JRoque

    JRoque Registered

    Joined:
    Jun 27, 2014
    Messages:
    55
    Likes Received:
    17
    Hi there and thanks for your work on this app.

    Coming to this cold and not knowing the app architecture, have you looked into Audio.Stop(), SoundPlayer.Stop Method () or maybe PlaySound(NULL, 0, 0)?

    Regards,
    JR
     

Share This Page