Can I run the dedicated server executable without the launcher?

Discussion in 'Technical Archives' started by 88mphTim, Jan 11, 2012.

  1. 88mphTim

    88mphTim racesimcentral.net

    Joined:
    Sep 23, 2010
    Messages:
    10,840
    Likes Received:
    314
    Yes, by default you can run:

    c:\Program Files\rFactor2\core\rfactor2 dedicated.exe

    ...without using the launcher.
     
  2. Marek Lesniak

    Marek Lesniak Car Team Staff Member

    Joined:
    Oct 6, 2010
    Messages:
    1,585
    Likes Received:
    101
  3. Jeremy Miller

    Jeremy Miller Former ISI Senior Programmer

    Joined:
    Oct 5, 2010
    Messages:
    276
    Likes Received:
    3
    if starting the dedicated server outside of the launcher add you must add +path=.. to the command line interface.
     
    1 person likes this.
  4. Marek Lesniak

    Marek Lesniak Car Team Staff Member

    Joined:
    Oct 6, 2010
    Messages:
    1,585
    Likes Received:
    101
    Yes, now it works. Thank you Jeremy.
     
  5. Seahawks1Fan

    Seahawks1Fan Registered

    Joined:
    Dec 14, 2011
    Messages:
    29
    Likes Received:
    0
    Can you give an example of how to do this +path= command and where to do it?
     
  6. Marek Lesniak

    Marek Lesniak Car Team Staff Member

    Joined:
    Oct 6, 2010
    Messages:
    1,585
    Likes Received:
    101
    Create a shortcut for the exe and under its properties, in the field where you have path to the file, in my case it is:
    "E:\Gry\rFactor2\Core\rFactor2 Dedicated.exe"

    at the end of it simply add: +path=..

    so you will have:
    "E:\Gry\rFactor2\Core\rFactor2 Dedicated.exe" +path=..


    By doing that, you just telling the aplication, that the main path for it should be "one level up" (or adding additional path for searching folders with content, which is "one level up").
     
  7. Seahawks1Fan

    Seahawks1Fan Registered

    Joined:
    Dec 14, 2011
    Messages:
    29
    Likes Received:
    0
    Thanks, sorry for blowing you up! Just been trying to figure this out for the past hour! :)

    Funny thing is I still am getting the message "Simulation can only be started by "Launch rFactor" application.

    My shortcut Target line reads "C:\Program Files (x86)\rFactor2\Core\rFactor2.exe" +path=..
     
  8. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    What about if we have a different port ?

    ie I would like to run 2 Dedicated servers with different settings, different ports which will allow me to enter either server.. ?
     
  9. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    Worked it out.. Had to change the multiplayer.ini file on the server to the port number. Now I have both servers running with same IP but different ports.
     
  10. George Lemos

    George Lemos Registered

    Joined:
    Nov 4, 2011
    Messages:
    33
    Likes Received:
    0
    I assume admin commands are the same as rf1?
     
  11. alexandreafc

    alexandreafc Registered

    Joined:
    Nov 24, 2011
    Messages:
    16
    Likes Received:
    1
    Hi Radar it's true I had same problem if I keep same port all appear in match maker but I just log in one of it. Change port I can use... FireDaemon to start as a windows service.. using the old oneclick, profile parameters... like bewllow:

    +profile "1960sWC" +oneclick
     
  12. Jeremy Miller

    Jeremy Miller Former ISI Senior Programmer

    Joined:
    Oct 5, 2010
    Messages:
    276
    Likes Received:
    3
    Yeah that wont work. The simulation must be started via the launcher.
     
  13. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    Hi Alex,

    I used the same parameters as rFactor 1, I'm at work now but I did already have +profile, didn't have the +oneclick however. additional to this was the IP address and port number in the same line parameters. Anyway, after editing the multiplayer.ini file with the port number to match the parameter it worked fine.

    @ Jeremy. I never used the Launcher on the dedi server, I used the rFactor 2 Dedicated.exe file with the same parameters as mentioned above with the multiplayer.ini edit. Works a treat, didn't go through launcher (which is the way it should be I would hope).
     
    Last edited by a moderator: Jan 11, 2012
  14. 2k9

    2k9 Registered

    Joined:
    Jan 11, 2012
    Messages:
    24
    Likes Received:
    0
    Hm, it didn't worked for me.
    The Shortcut command line is correct.
    I got the message that there are no mods installed.

    After BETA installation I created a folder named 'Packages' in rFactor2 main folder.
    There are the three mod files included.

    However, are you sure i don't need to reactivate the game over the launcher?
     
  15. EviLKarL

    EviLKarL Registered

    Joined:
    Jan 12, 2012
    Messages:
    1
    Likes Received:
    0
    Does the server need a fully purchased copy of rF2 ?
     
  16. Jim Beam

    Jim Beam Registered

    Joined:
    Oct 5, 2010
    Messages:
    824
    Likes Received:
    10
    no mate
     
  17. Jim Beam

    Jim Beam Registered

    Joined:
    Oct 5, 2010
    Messages:
    824
    Likes Received:
    10
    all i did mate was run the mod manager exe inside the same folder as the dedicated server exe ...point to where your rfmods are using the browse tab... install them as normal and run the dedicated exe and it worked no probs...im actually running 3 seperate servers all pointing to the 1 packages location ...i havnt made any paths at all...hope this helps
     
  18. Radar

    Radar Registered

    Joined:
    Oct 20, 2010
    Messages:
    687
    Likes Received:
    60
    As Jim has said.. All I did also..

    I've noticed with the Dedi server, that when you exit, relaunch with another mod for instance, it defaults the mod back to 60's. Anyway this can be changed so that it stays on the mod you had previous ?
     
  19. Nucleorion

    Nucleorion Registered

    Joined:
    Feb 8, 2012
    Messages:
    15
    Likes Received:
    1
    In windows XP almost you need maintain the quotes, if not the shortcut change rFactor2 Dedicated.exe to rFactor2.exe Dedicated.exe and give that error. Change the exe name to rFactor2Dedicated.exe and use:
    D:\rFactor2\Core\rFactor2Dedicated.exe +path=.. +profile "Formula2" +oneclick
    or keep the quotes:
    "D:\rFactor2\Core\rFactor2 Dedicated.exe" +path=.. +profile "Formula2" +oneclick
    and shortcut will work fine :)
     
    Last edited by a moderator: Oct 31, 2012
  20. madleecher

    madleecher Registered

    Joined:
    Jan 13, 2012
    Messages:
    170
    Likes Received:
    4
    @Jeremy: ... can you give us a list of rfactor dedicated shell ?
     

Share This Page