Launchedfromsteam (Command Line Parameter): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
# Close the Steam Properties window and play the game.
# 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.  
'''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 [[https://homecoming.wiki/wiki/Homecoming_Launcher_Manual#Command_Line_Use|Homecoming Launcher]].  
   
   



Revision as of 07:53, 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 the <COH Install Directory>\bin\win64\live\cityofheroes.exe.
  5. Select your game, then click ‘Add Select Programs’.
  6. Find your non-Steam 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
  1. 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 [Launcher].


Example

-launchedfromsteam