-
Notifications
You must be signed in to change notification settings - Fork 105
Tracy Profiling
-
Download Tracy, unzip it anywhere: https://github.com/wolfpld/tracy/releases/tag/v0.9.1
-
Get the exact engine version we are currently using from https://engine-builds.beyondallreason.dev/index.html
-
Find the exact engine version foler we are currently using in BAR/data/engine
4A. Rename the old spring.exe to spring_vanilla.exe, and extract spring.exe from the archive to this engine folder.
5A. Start BAR as you would otherwise via the lancher.
4B. Unzip the engine to BAR/data/engine
5B. Get the BAR Debug Launcher exe file from here: https://github.com/beyond-all-reason/bar_debug_launcher/tree/main . Install it to BAR root folder (next to beyond-all-reason.exe)
6B. In the BAR Debug launcher, select the tracy engine build you unzipped in step 2, and select "Spring-launcher with rapid://byar-chobby:test"
6B. Hit Start in the BAR Debug launcher
- Launch Tracy.exe, and hit connect. If it throws an instrumentation error, connect again.
- Analyze profile.