Use of 2 video & Graphic profiles possible?

Discussion in 'Technical & Support' started by Paulus_NL, Nov 23, 2019.

  1. Paulus_NL

    Paulus_NL Registered

    Joined:
    Jul 28, 2019
    Messages:
    73
    Likes Received:
    37
    What is currently the best option to use 2 video & Graphic profiles and switch easy/fast between them?
    For example:
    • profile A = for vr use
    • profile B = for monitor use.
     
    Last edited: Nov 23, 2019
  2. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I just use a batch file for each that copies a saved config_DX11.ini file, like this

    Code:
    @echo off
    setlocal
    set rF2UserData=c:\Program Files (x86)\Steam\steamapps\common\rFactor 2\UserData
    
    echo Set config.ini for 2K monitor
    copy "%rF2UserData%\config_DX11_2K.ini" "%rF2UserData%\Config_DX11.ini"
    
    Perhaps a good idea to have a different user profile for each as well so you can set up different controls for VR / non-VR too. For example I map the "glance left/right" buttons on my wheel to other things for VR.
     
    Last edited: Nov 23, 2019
    Paulus_NL likes this.
  3. Dave^

    Dave^ Registered

    Joined:
    Oct 14, 2019
    Messages:
    263
    Likes Received:
    121
    Seven Smiles likes this.
  4. ADSTA

    ADSTA Registered

    Joined:
    Nov 19, 2011
    Messages:
    2,013
    Likes Received:
    1,369
    You should change your name to Seven Batch Files Smiles.
     
    Seven Smiles likes this.
  5. Paulus_NL

    Paulus_NL Registered

    Joined:
    Jul 28, 2019
    Messages:
    73
    Likes Received:
    37
    Nice.
    I will play/try with a batch file. Cause i also want to use different graphic settings. But those are located in the player.json under "Graphic Options" settings.
     
  6. Paulus_NL

    Paulus_NL Registered

    Joined:
    Jul 28, 2019
    Messages:
    73
    Likes Received:
    37
    Short extra question. Does the order of actions have impact?
    So set all the files before running the rf2.exe?
    Example:
    Code:
    @echo off
    REM Set path
    setlocal
    set rF2UserData=E:\SteamLibrary\steamapps\common\rFactor 2\UserData
    
    REM Set optimized video settings
    echo Set config.ini for VR
    copy "%rF2UserData%\config_DX11_VR.ini" "%rF2UserData%\Config_DX11.ini"
    
    REM Set optimized graphic settings
    echo Set player.json for VR
    copy "%rF2UserData%\player\player_VR_stable.json" "%rF2UserData%\player\player.json"
    
    REM Start all required programs
    start "Simhub" "C:\Program Files (x86)\SimHub\SimHubWPF.exe"
    start "CrewChief" "C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe"
    start "Simucube2" "C:\Program Files\Simucube 2\Simucube 2 True Drive.exe"
    start "rF2" "E:\SteamLibrary\steamapps\common\rFactor 2\Bin64\rFactor2.exe"
    
    Extra tips are welcome :)
     
    Last edited: Dec 1, 2019
  7. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Good stuff :cool: I was thinking of using rF2's
    Code:
    --profile
    command line switch and having multiple "Player" folders but what you have works.
    A tip
    Code:
    start "CrewChief" "%ProgramFiles(x86)%\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe" RF2_64BIT
    will set CC to rF2. If you then set the "Run immediately" property in CC then it will start rF2 for you.

    If you use Discord for voice in multiplayer you could add
    Code:
    start  "Discord" "%LOCALAPPDATA%/Discord/Update.exe" --processStart Discord.exe
     
    Last edited: Dec 1, 2019
    Paulus_NL likes this.
  8. Paulus_NL

    Paulus_NL Registered

    Joined:
    Jul 28, 2019
    Messages:
    73
    Likes Received:
    37
    Any idea why this is happening:
    First i set the video settings (in the launcher) and select the GPU etc in the video options.
    Then these are saved inside the Config_DX11.ini.
    I copy/paste these settings and save them to a new file Config_DX11_VR.ini for example.

    But i noticed the GPU value gets a random generated value. So when switching "profiles" and move/rename the Config_DX11_VR.ini file via the batch to Config_DX11.ini the GPU setting is again missing (other values are still good/saved).
    How can is make sure the GPU settings is always set to my GTX 1080TI and not switched back to "Auto"?
     

Share This Page