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

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

  1. The Iron Wolf

    The Iron Wolf Registered

    Joined:
    Feb 20, 2016
    Messages:
    984
    Likes Received:
    984
    In CC Preferences window. You can search for anything in the search box. If you type rF2 in the box it'll show all rF2 specific settings, you'll see it there :)
     
    davehenrie and fsuarez79 like this.
  2. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,454
    Likes Received:
    4,369
    Mr, Wolf, {lol} Thanks for being so thorough.
     
    The Iron Wolf likes this.
  3. The Iron Wolf

    The Iron Wolf Registered

    Joined:
    Feb 20, 2016
    Messages:
    984
    Likes Received:
    984
    Yeah guys, sorry it is really difficult for me to get into heads of other people. I often shoot statements like I think to myself, but I think those things because I wrote some of them in code :D

    Anyway, car class mappings are confusing (even to me) @fsuarez79 , next time you race, save the Crew Chief console output and send it to me, I'll map your GT3 and LMP cars into two classes. This will improve "blue on slower", but it won't be ever perfect unless rF2 itself starts reporting blue flags in multiclass race.
     
    fsuarez79 likes this.
  4. mixer61

    mixer61 Registered

    Joined:
    Dec 26, 2011
    Messages:
    553
    Likes Received:
    149
    There is a translation? In french ?
    Thank you
     
  5. The Iron Wolf

    The Iron Wolf Registered

    Joined:
    Feb 20, 2016
    Messages:
    984
    Likes Received:
    984
    We've spotted a bug that might've caused what you guys reported. New version should fix that.

    Also, I just realized that the whole "Blue on slower" logic might not be even needed for rF2, as game does report blue flag when one is lapped, so there's really no need to run with this option enabled. I will probably remove it completely in the future.
     
    MarcG, Ernie and bwana like this.
  6. fsuarez79

    fsuarez79 Registered

    Joined:
    Nov 23, 2016
    Messages:
    544
    Likes Received:
    582
    Cool, thanks!! I'll report back once I test it :)
     
  7. bwana

    bwana Registered

    Joined:
    Dec 25, 2011
    Messages:
    2,139
    Likes Received:
    1,040
    I'm having trouble being able to assign a button to talk to Crew Chief ? I have a PTT assigned to TeamSpeak ,do I need to assign a separate button to CC ?
     
  8. The Iron Wolf

    The Iron Wolf Registered

    Joined:
    Feb 20, 2016
    Messages:
    984
    Likes Received:
    984
    Yes, you need to assign a button to CC (or use always listen feature). First, do scan for controllers, then pick the device on the left side, then pick command in the right list, and press assign.
     
  9. bwana

    bwana Registered

    Joined:
    Dec 25, 2011
    Messages:
    2,139
    Likes Received:
    1,040
    That's where my issue is . My controller is detected but the assign on the right doesn't highlight to give me a mapping choice?
     
  10. The Iron Wolf

    The Iron Wolf Registered

    Joined:
    Feb 20, 2016
    Messages:
    984
    Likes Received:
    984
    CC should be in a stopped state.
    I think we'd have to fix that to make it less confusing.
     
    bwana likes this.
  11. bwana

    bwana Registered

    Joined:
    Dec 25, 2011
    Messages:
    2,139
    Likes Received:
    1,040
    Thanks will try when l get home
     
  12. fsuarez79

    fsuarez79 Registered

    Joined:
    Nov 23, 2016
    Messages:
    544
    Likes Received:
    582
    @The Iron Wolf The blue flag bug is gone. Thanks for the quick fix!! :)
     
    MarcG and The Iron Wolf like this.
  13. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    123
    Likes Received:
    110
    to assign a button mapping in Crew Chief, click on the controller you want to use from the Controllers list, then click on an action you want to assign from the Available actions list, then the Assign Control button should become enabled. The click the Assign Control button, then press the button on you controller that you want to use.

    Crew Chief has to be in a Stopped state for this to work - do the assignments before you click the Start Application button
     
  14. ctbr

    ctbr Registered

    Joined:
    Jan 11, 2012
    Messages:
    34
    Likes Received:
    5
    Hi, I'm trying to add the Aussie Legends mod to CC.
    I have created carClasses.json in Dokument\CrewChiefV4

    Should the file be named carClasses.json or carClassData.json? Both names are mentoned in http://thecrewchief.org/showthread.php?27-Customizing-Car-Classes

    But no user defined class are loaded
    "Loaded 82 default car class definitions and 0 user defined car class definitions"

    carClasses.json
    {
    "carClassEnum": "AL",
    "rf2ClassNames": [ "AL*" ],
    "maxSafeWaterTemp": 105,
    "maxSafeOilTemp": 102,
    "brakeType": "Iron_Race",
    "defaultTyreType": "Bias_Ply tyres",
    "enabledMessageTypes": "TYRE_TEMPS, BRAKE_TEMPS, FUEL"
    }


    Could it be that I have moved MyDocuments from C:\ so the actual path is F:\Users\Tomas\Dokument\CrewChiefV4?
     
  15. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    123
    Likes Received:
    110
    the file should be [My Documents]/CrewChiefV4/carClassData.json

    so where ever Windows thinks your documents folder is, that's where it should be.

    The file format needs to be:
    Code:
    {
        "CarClasses": [{         
            "carClassEnum": "AUSSIE_LEGENDS",
            "rf2ClassNames": [ "AL*" ],
            "maxSafeWaterTemp": 105,
            "maxSafeOilTemp": 102,
            "brakeType": "Iron_Race",
            "defaultTyreType": "Bias_Ply",
            "enabledMessageTypes": "TYRE_TEMPS, BRAKE_TEMPS, FUEL"
            }]
    }
    I suggest AUSSIE_LEGENDS rather than AL as the enum, so it's clear.

    The class name is a bit risky - is there something more specific? Anything starting with AL will be classed as aussie-legends here
     
    Last edited: Dec 30, 2017
  16. ctbr

    ctbr Registered

    Joined:
    Jan 11, 2012
    Messages:
    34
    Likes Received:
    5
    With the carClassData.json as above:

    15:13:05.807 : Using game definition rFactor 2 (64 bit)
    15:13:05.867 : Loading default command macros from installation folder
    15:13:05.868 : No macro voice triggers defined for the current game.
    15:13:05.870 : Car class enum for AUSSIE_LEGENDS not found
    15:13:05.871 : Error pasing F:\Users\Tomas\Dokument\CrewChiefV4\carClassData.json: Error converting value "Bias_Ply tyres" to type 'CrewChiefV4.GameState.TyreType'. Path 'CarClasses[0].defaultTyreType', line 8, position 43.
    15:13:05.872 : Loaded 82 default car class definitions and 0 user defined car class definitions
    15:13:05.883 : No user defined landmarks found
    15:13:05.887 : Running speech recognition in 'always on' mode
    15:13:05.888 : opened channel - waiting for speech
    15:13:05.889 : Getting audio from default device
    15:13:05.890 : Listening for buttons
    15:13:05.894 : Starting queue monitor
    15:13:05.896 : Monitor starting
    15:13:05.899 : Polling for shared data every 100ms
    15:13:06.369 : Playing sounds, events: COMPOUND_SMOKE_TEST
    15:13:07.280 : *** Processed COMPOUND_SMOKE_TEST
     
  17. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    123
    Likes Received:
    110
    try just Bias_Ply

    for the tyre type
     
  18. ctbr

    ctbr Registered

    Joined:
    Jan 11, 2012
    Messages:
    34
    Likes Received:
    5
    "defaultTyreType": "Bias_Ply",

    15:18:41.385 : Error pasing F:\Users\Tomas\Dokument\CrewChiefV4\carClassData.json: Error converting value "Bias_Ply tyres" to type 'CrewChiefV4.GameState.TyreType'. Path 'CarClasses[0].defaultTyreType', line 8, position 43

    Class name could be AL_*, there are a lot of clsses...
     
  19. mr_belowski

    mr_belowski Registered

    Joined:
    Feb 1, 2017
    Messages:
    123
    Likes Received:
    110
    it's still reading "Bias_Ply tyres" for the tyre type. It should be "Bias_Ply"
     
  20. ctbr

    ctbr Registered

    Joined:
    Jan 11, 2012
    Messages:
    34
    Likes Received:
    5
    Sorrym, had not pressed save:), with this file it works
    {
    "CarClasses": [{
    "carClassEnum": "AUSSIE_LEGENDS",
    "rf2ClassNames": [ "AL_*" ],
    "maxSafeWaterTemp": 105,
    "maxSafeOilTemp": 102,
    "brakeType": "Iron_Race",
    "defaultTyreType": "Bias_Ply",
    "enabledMessageTypes": "TYRE_TEMPS, BRAKE_TEMPS, FUEL"
    }]
    }
     
    Last edited: Dec 30, 2017

Share This Page