Company of Heroes: Eastern Front

Author Topic: cant play  (Read 2194 times)

Offline hershel

  • Ingenery
  • *
  • Posts: 1
    • View Profile
cant play
« on: February 11, 2012, 12:59:45 PM »
I downloaded eastern front mod full v1.60 then installed it on steam the installer found the path to install but after it installed it i pushed icon to play it say UNABLE TO LOCATE COMPANY OF HEROES DIRECTORY :o.I need help please i want to play this mod looks great need info. :'(

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: cant play
« Reply #1 on: February 11, 2012, 07:08:56 PM »
"Unable to find Company of Heroes directory"
This problem usually happens because the main registry for CoH is lost, if you are a Steam user, you need to run CoH at least once from Steam's library in order to create them. In either case, you can follow this small guide to restore it:

Open a regedit instance(windows key + R or start menu->run and type regedit then execute) and look for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes" key's String value, "InstallLocation", and should have your current CoH directory.

If not, change it to the correct value; if not exists, create "Company of Heroes" key then create a String value "InstallLocation" and fill it with the correct path. If you are using x64 OS, try checking on "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node".

Remember always to double check the path saved on the CoH Directory option on the launcher settings. Fix it if it points to a different location; this can be done whether you apply the registry fix or not, however, if you don't apply the registry fix, in some cases CoH Directory's setting is reseted everytime you open the launcher.

If you feel that this is too complicated, you can copy this:

For Steam users(x86):
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files\\Steam\\SteamApps\\common\\company of heroes"



For Steam users(x64):
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files (x86)\\Steam\\SteamApps\\common\\company of heroes"



For Retail users(x86):
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files\\THQ\\Company of Heroes"



For Retail users(x64):
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Company of Heroes]
"InstallLocation"="C:\\Program Files (x86)\\THQ\\Company of Heroes"


and paste it on a text editor(like notepad) and save it as reg file: i.e. filename.reg, where filename is whatever name you like and then double click it in order to add the registry. You can use the script whenever you want, just that everytime you use it you overwrite the old registry so, be sure about what you add there.

These are the default paths so, if you have a different one, you will need to change it. Just remember to replace the single backslash("\") for the double one("\\") in the InstallLocation value.

Alternatively, you can:

  • Reinstall Company of Heroes if you don't like to do all the steps above.
  • Create a shorcut
  • Create a shorcut using Steam library's additional parameters feature for Company of Heroes.

[...]
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...