Launchedfromsteam (Command Line Parameter): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
Tells the game that the client was started with the Valve Steam launcher. If so, the Steam SDK is initialized. (non-functional)
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.
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 non-Steam games to Steam ===
===How to add City of Heroes to Steam ===
# Open Steam, then select the Games menu item at the top of the window.  
# Open Steam, then select the Games menu item at the top of the window.  
# 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.  
# Find, select and open your game’s executable file located in the <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 play away!
# Find your non-Steam game in your library, then right-click on it and select Properties...
# Add the required command line parameters to the "Launch Options" box:
: <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.


'''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==
==Example==

Revision as of 07:51, 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 Homecoming Launcher.


Example

-launchedfromsteam