Company of Heroes Object Editor
Download & Install Perforce
Firstly, you need to download the latest "Perforce Server Windows Installer" from the Perforce website. Run the installer, and choose the "Administrator - Typical" package:
Press next. In most cases, you shouldn't need to change install folder, so leave it as-is and press next. The next screen is somewhat important; if you change the port to something other than 1666, then you'll have to remember what you changed it to. The editor should be fine as notepad.exe, and the username can be anything:
Press next, and check over the install summary. If you are happy with it, then press Install. You can untick the "View release notes" box, and then press Finish to complete the perforce install:
Configure Perforce
Open a command prompt (start -> run -> cmd), type "p4 info" (without quotes) and press enter. It should list the Perforce install settings, and related values. If it does not, then something went wrong with your Perforce install. If it lists good values, then type "p4 client" (without quotes) and press enter:
This should cause a notepad window to appear. Find the line which starts "Root:" and change it to match your Company of Heroes install folder: (highlighted in green for emphasis)
Save the notepad file, then close notepad. The command prompt should contain a message saying "Client ... saved.". You can now close the command prompt. Open the pipeline.ini file (found in your Company of Heroes folder) into notepad, and find or create the p4 section. Set the RevControlPort to "127.0.0.1:1666" (without quotes). If you chose a different port number during Perforce installation, then use that value instead of 1666: (highlighted in green for emphasis)
Save the pipeline file, and close notepad. Congratulations; Perforce should now be set up and ready for use with the Company of Heroes tools.