Bypassing the launcher

Thanks @pace_car, it's working now. For some reason the software I've written using the Valve API returns 64299 for the port so I was using that which got stuck at ATTEMPTING TO DIRECT CONNECT. Once I changed to 64297 it worked.@

If I can get to the bottom of the port problem I can edit my code to look up the IP address/port from the server name, assemble the command and execute it.
@Seven Smiles If I can ask a techie question ?
What does your Valve API code give you above what is available ?
 
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.
 
If the sync is taking a long time then you may have a lot of content, every now and then I remove some of the redundant (no longer using) content and this speeds up the sync. Of course if you want the content to remain then I agree a faster Sync would be useful, but for now it is what it is.

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...
 
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...
 
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
 
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:
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.
 
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:
Code:
cd "c:/Program Files (x86)/Steam/steamapps/common/rFactor 2"
"C:/Program Files (x86)/Steam/steamapps/common/rFactor 2/Bin64/rFactor2.exe" +path="."
 
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)
 
Back
Top