Skip to content

Developer Guide for the Wolvenkit projects ​

WolvenKit on GithubDev chat on Cyberpunk 2077 Modding Community Discord

Purpose ​

Docs are always outdated. Docs near code are the least outdated.

Getting Started ​

  1. First, read the README
  2. Read the Contributing Guidelines
  3. Read through the Redmodding Wiki, especially

Tools ​

Debugging ​

Logs ​

  • User-facing log: visible in the app (View > Log)
  • Application logs: located in %appdata%\REDModding\WolvenKit

Non-print-based debugging ​

It’s easiest to debug using Visual Studio.

  1. Switch to the Debug profile, then Debug: image
  2. Set breakpoints and stuff to stop execution at appropriate points..

If you don’t have VS available, or you’re helping someone else, the application log (see above) is a good place to get more info

Profiling ​

Use Visual Studio. The default options should work for the most part, but TODO: shared profiling config/info

  1. Debug > Performance Profiler
  2. You’re probably mostly interested in these options: image
  3. Click Start
  4. Do stuff that you want to profile
  5. When done, click the End Profiling button
  6. Creating the diagnostic data can take A LONG TIME, be patient
  7. See what you can see. Typically interesting counters are
    • Layout (especially if the GUI feels slow)
    • Function timings (especially the self time if you’re looking for slowness)