Launchedfromsteam (Command Line Parameter): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
# Click ‘Add a Non-Steam game to my Steam Library’.  
# Click ‘Add a Non-Steam game to my Steam Library’.  
# Select Browse to find your non-Steam game.  
# Select Browse to find your non-Steam game.  
# Find, select and open your game’s executable file located in the <COH Install Directory>\bin\win64\live\cityofheroes.exe.  
# Find, select and open your game’s executable file located in <COH Install Directory>\bin\win64\live\cityofheroes.exe.  
# Select your game, then click ‘Add Select Programs’.   
# Select your game, then click ‘Add Select Programs’.   
# Find your non-Steam game in your library, then right-click on it and select Properties...
# Find your City of Heroes game in your library, then right-click on it and select Properties...
# Add the required command line parameters to the "Launch Options" box: <BR /><code>-profile live -auth 51.161.76.201 -legacylayout -assetpath assets/Issue24 -assetpath assets/live</code>
# Add the required command line parameters to the "Launch Options" box: <BR /><code>-profile live -auth 51.161.76.201 -legacylayout -assetpath assets/Issue24 -assetpath assets/live</code>
# Close the Steam Properties window and play the game.
# Close the Steam Properties window and play the game.
Line 21: Line 21:
==Example==
==Example==
  -launchedfromsteam
  -launchedfromsteam
{{Navbox Command Line Parameters}}
[[Category:Command Line Parameters]]

Latest revision as of 09:46, 5 January 2024

Command Line Parameter

-launchedfromsteam

Tells the game that the client was started with the Valve Steam launcher. If so, the Steam SDK is initialized. (non-functional)

There was a time when City of Heroes could be purchased and ran on Valve's Steam platform. Although Steam no longer offers City of Heroes, you may still install and launch the game through Steam if you like. Useful for keeping all of your games in one place, using the Steam controller overlay, and also for the general Steam overlay if you like it.

How to add City of Heroes to Steam

  1. Open Steam, then select the Games menu item at the top of the window.
  2. Click ‘Add a Non-Steam game to my Steam Library’.
  3. Select Browse to find your non-Steam game.
  4. Find, select and open your game’s executable file located in <COH Install Directory>\bin\win64\live\cityofheroes.exe.
  5. Select your game, then click ‘Add Select Programs’.
  6. Find your City of Heroes game in your library, then right-click on it and select Properties...
  7. Add the required command line parameters to the "Launch Options" box:
    -profile live -auth 51.161.76.201 -legacylayout -assetpath assets/Issue24 -assetpath assets/live
  8. Close the Steam Properties window and play the game.

Note: If your game client's patch version doesn't match the current patch version on the Homecoming server, the game won't run until you update the game client using the Homecoming Launcher.


Example

-launchedfromsteam