Question Launching Game Session from Desktop/URL

Discussion in 'Community Support' started by Stefan Mizzi, Feb 6, 2016.

  1. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    I have created a new server with 1hr sessions and can login....but still no luck with link. This game must hate me!

    So in theory, as you said, if you just paste this in browser should work:

    rrre://multiplayer/join?data={"MultiplayerJoin":{"Address":"185.170.113.3:60000","Password":"Testing","LiveryId":5053}}
     
  2. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    This is how it looks in process explorer...

    upload_2018-9-17_18-39-58.png
     
  3. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    rrre://multiplayer/join?data={"MultiplayerJoin":{"Address":"185.170.113.3:60000","Password":"Testing","LiveryId":5053}}

    worked fine for me to connect when pasted in browser!
    What is that 127.0.0.1 at the ende of your startup line?
    You need to remove any custom option set in the launch parameter of the game inside of steam game properties
     
    • Winner Winner x 1
  4. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    You're effing right! Didn't realize I had something in the launch params. It worked now, thanks mate, I owe you one :)
     
  5. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    your welcome :)
     
  6. thebaz

    thebaz New Member

    Joined:
    Mar 5, 2018
    Ratings:
    +4 / 0 / -0
    Good to know that now works!
     
    • Like Like x 1
  7. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +365 / 0 / -0
    Is there any documented API for this or are these the only params you can pass? I'm guessing there isn't a route for singleplayer?
     
  8. thebaz

    thebaz New Member

    Joined:
    Mar 5, 2018
    Ratings:
    +4 / 0 / -0
    No, there is no documentation
     
  9. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    I know that Steam implemented this for security reasons to protect the users, but I am still wondering if anyone knows of a workaround (maybe a steam option?) where this can be switched OFF?

    I tried getting a handle to the window and auto click on the OK button but did not manage....

    Cheers :)

    upload_2019-10-15_17-23-13.png
     
  10. [RWB] FxUK

    [RWB] FxUK Well-Known Member

    Joined:
    Dec 2, 2018
    Ratings:
    +99 / 0 / -0
    In this case, not sure if it will work or not, but when using a regular shortcut with launch options, you get a similar dialog box.
    It's been a while, so I can't quite recall what launch method triggered the extra "allow game launch dialog" but I think it was using things like

    steam://rungameid/211500// -vr -webdev -webHudUrl=https://otterhud.github.io/

    However, if you launch it in the following way, you don't get that dialog box, or at least, I don't.

    start 'C:\Program Files (x86)\Steam\Steam.exe' '-gameidlaunch 211500 -vr -webdev -webHudUrl=https://otterhud.github.io/'

    I created a couple of launchers using powershell (converted to an exe) to open the game in either VR or Triple screen mode, along with simhub/crewchief and it works really well, so may be something to try and adapt.
     
    • Like Like x 1
  11. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Thanks mate, I will give it a try :)
     
  12. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    Thanks for this.
    I had to adapt it slightly to work.
    Because I put my Steam folder in Games: I could use this:
    Code:
    start C:\Games\Steam\Steam.exe -gameidlaunch 211500 -webdev -webHudUrl=https://sector3studios.github.io/webhud/dist/
    If you use a space in the folder, I suppose that you need to use this:
    Code:
    start /D "C:\Program Files (x86)\Steam\" Steam.exe -gameidlaunch 211500 -webdev -webHudUrl=https://sector3studios.github.io/webhud/dist/
    It works for Games directory too:
    Code:
    start /D "C:\Games\Steam\" Steam.exe -gameidlaunch 211500 -webdev -webHudUrl=https://sector3studios.github.io/webhud/dist/
    I saved that command in a .bat file and it works perfectly. Thanks a lot!
     
    • Like Like x 1
  13. [RWB] FxUK

    [RWB] FxUK Well-Known Member

    Joined:
    Dec 2, 2018
    Ratings:
    +99 / 0 / -0
    My powershell script goes as follows:
    I have two folders in Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\

    One called VR and one called Monitor, I configured the game as normal, then copied the VR and Triple Screen config files respectively into those folders.

    So now, I can double click my exe (converted from powershell script below) and choose VR / Triples and have it load all the relevant programs (crewchief and simhub in my case), use specific launch options and use the correct graphics config file ;)

    To convert the .ps to an exe, I used: https://gallery.technet.microsoft.com/scriptcenter/PS2EXE-GUI-Convert-e7cb69d5

    Hope it helps somebody else.

    Code:
    Add-Type -AssemblyName PresentationCore, PresentationFramework
    
    #Interactive prompt Debloat/Revert options
    $Button = [Windows.MessageBoxButton]::YesNoCancel
    $ErrorIco = [Windows.MessageBoxImage]::Error
    $Warn = [Windows.MessageBoxImage]::Warning
    $Ask = 'Launch in VR Mode.
    
            Select "Yes" for VR Mode
            Select "No" for Triple Screen Mode
            '
    
    
    $Prompt1 = [Windows.MessageBox]::Show($Ask, "Game Mode", $Button, $ErrorIco)
    Switch ($Prompt1) {
        #This will load in VR
        Yes {
        
        
        
            Copy-Item "$env:userprofile\Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\VR\graphics_options.xml" -Destination "$env:userprofile\Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\graphics_options.xml"
            start 'C:\Program Files (x86)\SimHub\SimHubWPF.exe'
            start 'C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe'
            start 'C:\Steam\Steam.exe' '-gameidlaunch 211500 -vr -webdev -webHudUrl=https://otterhud.github.io/'
     
        }
        #This will load in triples
     
        No {
     
            Copy-Item "$env:userprofile\Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\Monitor\graphics_options.xml"  -Destination "$env:userprofile\Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\graphics_options.xml"
            start 'C:\Program Files (x86)\SimHub\SimHubWPF.exe'
            start 'C:\Program Files (x86)\Britton IT Ltd\CrewChiefV4\CrewChiefV4.exe'
            start 'C:\Steam\Steam.exe' '-gameidlaunch 211500 -triScr 70 1 59.5 33.5 0.65 59.5 33.5 0.65 45 59.5 33.5 0.65 45 1 -webdev -webHudUrl=https://otterhud.github.io/'
        
        }
    }
    
    
    1Capture.PNG
     
    • Like Like x 5
    • Useful Useful x 1