Launchedfromsteam (Command Line Parameter): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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 City of Heroes 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...

Revision as of 08:58, 9 July 2023

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