...
It is available to both client and dedicated server.
Installation
To use Tracy for profiling in Neverwinter Nights, follow these steps:
NWN ships with Tracy installed, but at the time of writing this is limited to the preview builds. To access preview builds, see https://discord.com/channels/382306806866771978/1159424565387198555.
Once installed you can find the Tracy client in
$NWN_INSTALL_DIRECTORY/bin/$OS/tracy/TracyE.g. on Linux using Steam it will be in
~/.local/share/Steam/steamapps/common/Neverwinter\ Nights/bin/linux-x86/tracy/Tracy
Tracy client: shipped with NWN, find it in $NWN_INSTALL_DIRECTORY/bin/$OS/tracy/TracyDownload Tracy: Use your favorite package manager, or go to the Tracy GitHub repository and download the latest release suitable for your operating system.
Run a build of NWN with Tracy enabled: install the game via your game service, e.g. Steam. To access preview builds, see https://discord.com/channels/382306806866771978/1159424565387198555
- For servers running in docker environments you'll need an image with the correct nwserver binary installed
- Without nwnx: use a prebuilt image from https://github.com/urothis/nwserver/
- With nwnx: use a prebuilt image from https://github.com/nwnxee/unified/ if one exists for the target version of nwn. At the time of writing Tracy is only available in the preview build, for which there is no prebuilt nwnx image. To build your own image, you may use this script https://github.com/nwnxee/unified/blob/a4869fdb2047a4e8c94866e382c94056e0d13929/Scripts/buildimages.sh (TODO: update after PR merge/close)
- For servers running in docker environments you'll need an image with the correct nwserver binary installed
...
[instrumentation]
[instrumentation.tracy]
bind-all-interfaces = truefalse
enabled = true
port = 8086
...