Bypassing the launcher

Discussion in 'Technical & Support' started by Seven Smiles, Jul 23, 2018.

  1. ceecee

    ceecee Registered

    Joined:
    Jan 10, 2012
    Messages:
    691
    Likes Received:
    286
    @Seven Smiles If I can ask a techie question ?
    What does your Valve API code give you above what is available ?
     
  2. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I have written code which uses the Valve API
    1. to alert when someone comes on to one of a list of servers
    2. list servers with human drivers (by filtering out drivers who are in a list of known AI)
    The new program will just use a bit of the code that handles the API.
     
    ceecee likes this.
  3. Rui Santos

    Rui Santos Registered

    Joined:
    Jan 8, 2012
    Messages:
    1,081
    Likes Received:
    1,206
    I have something like 1/5 of the steam workshop, plus couple more mods, it's not on a SSD but it's on a black edition HDD, guess isn't or shouldn't be so slow...
     
  4. Filip

    Filip Registered

    Joined:
    Feb 9, 2017
    Messages:
    1,208
    Likes Received:
    937
    How long does it take to sync?
     
  5. Rui Santos

    Rui Santos Registered

    Joined:
    Jan 8, 2012
    Messages:
    1,081
    Likes Received:
    1,206
    Around 30 seconds more or less...
     
  6. Filip

    Filip Registered

    Joined:
    Feb 9, 2017
    Messages:
    1,208
    Likes Received:
    937
    At my system too.
    I guess it is average
     
  7. Rui Santos

    Rui Santos Registered

    Joined:
    Jan 8, 2012
    Messages:
    1,081
    Likes Received:
    1,206
    Yeah, guess i don't have any PC problem, but this should be adressed, if i'm in a rush to join a event that's too long, let's see if with the new UI this is solved...
     
  8. pace_car

    pace_car Registered

    Joined:
    Dec 30, 2011
    Messages:
    36
    Likes Received:
    14
    i dont have the issue myself because i have an SSD and stay away from steam workshop content mostly
    i only have some paid DLC that need syncing so no big deal at this moment for me

    but i have heard some of my team-mates shouting when they were trying to join a server for a qualifying session ...and they couldn't because the sync kicked in first.... which can take minutes (i am told)....so they were pretty upset and frustrated.
    and most of times they dont even need the synched content anyway...at that very moment

    so yes.... i feel this should be improved..maybe just sync only the content that they need at that time
    or add startup parameter where you can disable sync when launching rfactor2.exe
     
    Seven Smiles likes this.
  9. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    https://github.com/TonyWhitley/rF2_serverNotify/releases
    rF2_joinServer.exe and sample data file specifying which server to join rF2_joinServer.json

    Join a race on an rFactor 2 server directly, bypassing the lobby, automatically enters the password.

    Example rF2_joinServer.json
    Code:
    {
    "Server" : "FTR Nissan Cup",
    "SteamExe" : "C:/Program Files (x86)/Steam/steam.exe" ,
    "Password" : ""
    }
    
    (A password is not required for this server.)

    Code:
    Command is:  rF2_joinServer.exe rF2_joinServer.json
    
    rF2_joinServer V0.1
    ===================
    Using config file rF2_joinServer.json
    
    "C:/Program Files (x86)/Steam/steam.exe" -applaunch 365960 +autojoin="FTR Nissan Cup" +connect=:@18.228.29.242:64297 +multiplayer +path=".."
    
    
    All done. Press a key...
     
    Last edited: Jul 25, 2018
    The Iron Wolf and pace_car like this.
  10. Jason Fox

    Jason Fox Registered

    Joined:
    Aug 28, 2018
    Messages:
    2
    Likes Received:
    1
    Does anyone know how to bypass the launcher and go directly into a single player game? So, not connect to a server. I'm attempting to automate the game launch for a motion system and want to reduce the number of macro clicks required.
     
    The Iron Wolf likes this.
  11. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I tried a few things without success so I’d like to know too. Also, I have written code that selects the car and track (before starting single player manually in the usual way) but it’s an unpleasant hack of player.json and All Tracks & Cars.cch , I wonder if they can be selected from the command line?
     
    Last edited: Aug 29, 2018
  12. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Code:
    cd "c:/Program Files (x86)/Steam/steamapps/common/rFactor 2"
    "C:/Program Files (x86)/Steam/steamapps/common/rFactor 2/Bin64/rFactor2.exe" +path="."
     
  13. coasting&cruising

    coasting&cruising Registered

    Joined:
    Aug 16, 2021
    Messages:
    107
    Likes Received:
    46
    Indeed it would be useful to have an alternative launcher like AC's Content Manager, to avoid the game launch wait times, also for single player stuff.
     
  14. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    S397, if you decide to make a Launcher, make It the more different to ACM that you can, please.
    ACM is one of the most dificult programs, i've seen in my Life (including programming languages and shells of diferente OS)
     

Share This Page