Question Desktop Link with Start Parameters?

Discussion in 'Community Support' started by Racki, Mar 5, 2018.

  1. Racki

    Racki Well-Known Member Beta tester

    Joined:
    Aug 17, 2015
    Ratings:
    +131 / 0 / -0
    Is is possible in any way to have multiple links to R3E on the desktop - one with '-vr 2.0' and one without?

    Unfortunately I don't know how Steam handles this case...
     
  2. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    Hello,

    You could try to make shortcuts (Windows Shortcuts) and add the -vr in it?
    So, you then have 2 shortcuts a normal one & one with "-vr 2.0".

    I never tried it, but it should work, I think.
     
  3. sion.

    sion. Member

    Joined:
    Sep 7, 2017
    Ratings:
    +7 / 0 / -0
    i have written some batchscripts:
    for example this one starts joy2key, crew chief and finally R3E with one Parameter

    Code:
    tasklist | find /i "CrewChiefV4.exe" || start "" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\CrewChief"
    tasklist | find /i "JoyToKey.exe" || start "" "D:\Programme\JoyToKey\JoyToKey.exe"
    tasklist | find /i "RRRE64.exe" || start "" "D:\Programme\Steam\Steam.exe" -applaunch 211500 -repSystemDebug
    /CODE]
    
    you can also add more R3E startparamateres by simply adding them
    [CODE]tasklist | find /i "RRRE64.exe" || start "" "D:\Programme\Steam\Steam.exe" -applaunch 211500 -repSystemDebug -vr 2.0 Monitor 
     
    • Like Like x 1
  4. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Hey Chris!

    If it is a Steam created shortcut you need to add a double slash // after the game id and then add your parameters

    Like this:
    steam://rungameid/211500//-parameter1 -parameter2 etc... -and -more
     
    • Like Like x 1
  5. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    Hello,
    That works partially, if you use the broadcast url, it will fail to take what's after // (of http://).And it will show a warning.
    But, you can do it differently (and you won't get a security warning by Steam):
    You create a normal Windows shortcut (.lnk), the path will be something like:
    Code:
    <path of Steam install>\Steam.exe -applaunch 211500 -parameter1 -parameter2
    For example:
    Code:
    C:\Games\Steam\Steam.exe -applaunch 211500 -repSystemDebug -broadcastUrl=http://localhost:9090
    (not that the -repSystemDebug makes a lot of sense with a broadcastUrl, but it works.
    Don't forget to change the icon, otherwise Windows will use the Steam icon.
     
    • Winner Winner x 1
  6. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Yeah true, Steam will interpret the // as a new seperator.

    so Karting06 is correct if you need to use the broadcast as parameter

    You could put it in between "" and it would work, but anyway :)
    However if you not need the broadcast url as parameter it is just easier to create more shortcuts trough steam, for like connecting to different server and such, no need to replace the icon ;)
     
  7. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    And where exactly between ""? I tried multiple things (not everything) but it didn't want.

    But you still have the warning pop-up ;)
     
  8. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Code:
    steam://rungameid/211500//"-myfancydoubleslashparameter"
    should work, not tried doh.

    And yeah the pop-up is annoying but a good safety feature! Would be nice if you had a option to disable it but better then without any security as Steam is not well known for a secure platform itself ;)
     
  9. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    It doesn't work :p
     

    Attached Files:

  10. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Seems the Steam interpreter is ignoring everything even escaping \ does not work.
    So i guess the broadcasters have to take the long Icon-Change-Windows-Shortcut route ^^

    sidenote: What the heck?
    Sorry, you were not able to save since the content contained a link

    For this Forum, before you can create content with links, you must first meet the minimum requirements

    Minimum Requirements
    The number of posts you have created must exceed: 1 (Yours: 4)

    :D
     
    • Funny Funny x 1
  11. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    is the
    Code:
    h * * p : / /
    needed? never tried it without but i not broadcast that often, so never :D
     
  12. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    That's what the readme says for broadcasting.
    I only broadcast to test spectator mode (beta testing), so, I just use it because I'm lazy to add it manually.
    I will test it without http tomorrow :)
     
  13. Racki

    Racki Well-Known Member Beta tester

    Joined:
    Aug 17, 2015
    Ratings:
    +131 / 0 / -0
    Thanks everyone!
    @Karting06 Version from Post #5 is perfect for me :cool:
     
    • Like Like x 1
  14. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    Hi guys, I've tested #5 it worked fine for all parameters except -broadcastUrl= where the // is not interpreted.
    I tried #11 removing h * * p : / / but it didn't work either.
    tried everything I could think about with quotes, double quotes, ^ \ but nothing worked to launch spectator mode with the overlay...
    Did anyone managed to succeed ? @Racki were you launching spectator mode or just other options ?
    Thx
     
  15. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    Mmmh, actually I think that you're right :(.
    I will continue testing then ;)
     
  16. Case

    Case Well-Known Member

    Joined:
    Apr 7, 2017
    Ratings:
    +104 / 0 / -0
    Why even bother with the steam:// links instead of making shortcuts to the game .exe (32bit or 64bit one based on which one is appropriate for your system) file directly and just adding whatever argument you want?
     
  17. Sebastien Brunier

    Sebastien Brunier Active Member Beta tester

    Joined:
    Dec 17, 2017
    Ratings:
    +38 / 0 / -0
    In post #5 both possibilities are offered and works except to pass in arguments the link for the spectator mode, the // is not handled by steam... so any other setting works (wich is good for a VR non VR use e.g.) but not for spectator mode.
     
  18. Karting06

    Karting06 Well-Known Member Beta tester

    Joined:
    Nov 15, 2016
    Ratings:
    +128 / 0 / -0
    A small offtopic, but if you launch the 32 bit .exe in a 64 bit system, it will automatically launch the 64 bit version. The .exe passes via Steam.
    I only try with a shortcut to steam.exe (not steam://)
     
  19. Racki

    Racki Well-Known Member Beta tester

    Joined:
    Aug 17, 2015
    Ratings:
    +131 / 0 / -0
    I have 3 different desktop links working: Single Screen, Triple Screen and VR but none for spectator mode

    these are the commands:
    "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 211500 -triScr 80 -8 88 50 1 60 34 1 45 60 34 1 45
    "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 211500 -vr 2.0