Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.72 KB

Debugging.md

File metadata and controls

28 lines (17 loc) · 1.72 KB

Back to Main

Debugging the Game UI

How to get the Coherent Debugger

You need to follow these steps on every channel you are trying to use the debugger with.

  1. Open up a file explorer and go to where the game is installed. e.g. %programdata%\CSE\Camelot Unchained\bin\4\Client would be Hatchery.
  • When running the client from VisualStudio instead of the Patcher, the directory will be <repo>\cmake\out\build\VCProj\ClientMain\<build target>
  1. In a separate file explorer, go into the UI/CoherentDebugging folder in Avalon (if you are part of ModSquad, ask a UCE employee to help you with this process)
  2. Under the ResourcesNeeded/ folder, you will find 3 things. CoherentDebugger.zip, CoherentUIGTDevelopment.dll, and inspector.zip
    • Copy, paste, and extract the CoherentDebugger.zip to a place on your PC (e.g. Desktop).
    • Copy, paste, and extract the inspector.zip to where the game is installed (in the same directory as the Client.exe)
    • Copy and paste the CoherentUIGTDevelopment.dll to where the game is installed (in the same directory as the Client.exe)
  3. Launch the client and run the Debugger.exe found in the extracted CoherentDebugger folder.

The debugger is similar to the webkit debugger.

More documentation can be found on how to actually use the debugger here https://coherent-labs.com/Documentation/cpp-gt/dd/d68/debugging.html#Debugger

Debugging the Launcher UI

Run the patcher executable with the following additional arguments: overrideChildExecutableWorkingDirectory="repo\launcher\dist" uiDebugPort=9000

Open a browser window to http://localhost:9000 to start the debugging session