Game Client: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(Completely removed table of contents of ftp://client.coh.com/US. It has changed dramatically)
imported>Leandro (historical)
Line 49: Line 49:


==Registry information==
==Registry information==
The game stores its configuration information in '''HKEY_CURRENT_USER\Software\Cryptic\Coh'''; even if you installed City of Villains, the key name is still Coh. If you use the Test server, its configuration is stored in '''HKEY_CURRENT_USER\Software\Cryptic\CohTest'''.
The '''Installation Directory''' parameter is useful in case you want to move the game client to another directory or partition. Enter the '''full path''' to the game's executable.
The '''VerifyOnNextUpdate''' parameter is created every time the game crashes. When the updater starts, it checks for this flag in order to decide whether to verify all files for corruption before loading the file. Thus, clearing this flag is a good way to avoid the slow verification process.
If you crash often and would like to skip the verification process every time, simply create a text file named '''NoVerify.reg''' with the following contents, and double-click it before loading the updater:
<pre>REGEDIT4
[HKEY_CURRENT_USER\Software\Cryptic\Coh]
"VerifyOnNextUpdate"=dword:00000000
[HKEY_CURRENT_USER\Software\Cryptic\CohTest]
"VerifyOnNextUpdate"=dword:00000000</pre>


==Network information==
==Network information==

Revision as of 02:56, 9 January 2007

This article is a stub. You can help the Wiki by expanding it.

Facts and Myths

  • The game client can be used to play City of Heroes and City of Villains. It does not matter what skin is displayed on login, it will still work.
  • Character data is stored server side. You can access your account and character data from ANY computer that has the game client.
    • This means that every computer has the exact same game client. It does not matter which install method you used.
  • Game client can be downloaded and copied without the original CD/DVD's.
  • You can change the install directory after installation is complete (registry: HKCU/Software/Cryptic/Coh )
  • You can replace almost any resource you want using the data directory, however this action is not supported by NCSoft/Cryptic nor their EULA.
    • This does not modify any Cryptic owned resource/file. This adds a directory which the game client then interprets as replacing the resource once the game is launched. Removal of this change simply means deleting the \data directory. More info below.
  • Skipping the Updater is not supported by NCSoft/Cryptic.

Launching the Game

These can be run from the command prompt or entered into your shortcut.

cohupdater.exe (no switches)

  • Launches the Updater which will check for updates and modify/verify files if needed. City of Heroes skin/branding.

cohupdater.exe -texuncombinesomethinsomething

  • Troubleshooting step.

cohupdater.exe -cov

  • Launch the Updater as above, however with with the City of Villains skin. Login screen will be City of Villains.

covupdater.exe

  • Launch Updater, use City of Villains skin.

cohupdater.exe -test

  • Launches the Updater, uses registry settings in HKCU/Software/Cryptic/Cohtest instead. Allows access to Training Room.

cityofheroes.exe -project "coh"

  • NOT SUPPORTED Launches the game client without looking for the updater. If any patches have been applied since the last time you used the Updater, you may be able to login, but you will get a version conflict'.

cityofheroes.exe -project "coh" -cov

  • NOT SUPPORTED same as above with City of Villains skin

cityofheroes.exe -project "cohtest"

  • Training Room version.

Installing the Game

CD/DVD

CoH Collectors DVD current through Issue 2
CoV Collectors DVD current through Issue 6
Good vs. Evil Edition DVD current through Issue 7

cohupdater

You can install the Game Client starting with only the cohupdater.exe file. This file cannot be in the directory you will be installing to, as it will attempt to create a new cohupdater.exe and will fail if it's already there.

Whenever cohupdater is launched, it checks the registry to see if there is anything in HKCU/Software/Cryptic/Coh. If there is, then the updater proceeds normally, patches the game if needed. If there is no entry under HKCU/Software/Cryptic/Coh, then it asks the user where they would like to install the Game Client (default is C:\Program Files\City of Heroes). Once the user clicks Yes, the updater writes to HKCU/Software/Cryptic/Coh with default settings and the installdir.

Training Room

Registry information

The game stores its configuration information in HKEY_CURRENT_USER\Software\Cryptic\Coh; even if you installed City of Villains, the key name is still Coh. If you use the Test server, its configuration is stored in HKEY_CURRENT_USER\Software\Cryptic\CohTest.

The Installation Directory parameter is useful in case you want to move the game client to another directory or partition. Enter the full path to the game's executable.

The VerifyOnNextUpdate parameter is created every time the game crashes. When the updater starts, it checks for this flag in order to decide whether to verify all files for corruption before loading the file. Thus, clearing this flag is a good way to avoid the slow verification process.

If you crash often and would like to skip the verification process every time, simply create a text file named NoVerify.reg with the following contents, and double-click it before loading the updater:

REGEDIT4

[HKEY_CURRENT_USER\Software\Cryptic\Coh]
"VerifyOnNextUpdate"=dword:00000000

[HKEY_CURRENT_USER\Software\Cryptic\CohTest]
"VerifyOnNextUpdate"=dword:00000000

Network information

Official City of Heroes/Villains Knowledge Base article on ports required to patch and play the game.

The game client is somewhat Firewall and NAT friendly, however any issues can be resolved by opening the following ports.

  • REQUIRED
    • TCP:
      • 6994
      • 2104
      • 2106
    • UDP:
      • 7000-7100.
  • One of the following ports:
    • TCP
      • 6994
      • 13094
      • 23094