A Game of Thrones • A Song of Ice and Fire NWN2 Persistent World • Low Magic Role Play

Recompiling NWN2 Plugins

Resources - Technical Documentation
Tuesday, 25 November 2008 14:43
Plugins can be tremendously useful extensions to the Neverwinter Nights 2 toolset, but they can also be tedious to maintain, necessitating a rebuild with every new game patch released by OEI. But to help with that task, here are some simple instructions on how you can recompile your favorite plugin(s), even if you don't know the first thing about .NET programming:
  1. Download and install the latest version of Miscrosoft Visual C# Express - it's free.
  2. Download the source code for your plugin and unzip it to any folder.
  3. Launch Microsoft Visual C# and open the project file (.csproj or .sln if you've previously performed a build).
  4. Look for any broken references (marked with a yellow exclamation point), in particular nwn2toolset.dll and oeishared.dll, in the Solutions Explorer window. Remove the broken references, then add in references to the latest version of these files (typically by adding in the reference paths to those files in the project properties - Project->Add Reference menu option).
  5. Compile (build) the project, then move the new dll found in the bin\release subfolder to your NWN2Toolset\Plugins folder.
That's it! Just launch your Neverwinter Nights 2 Toolset and use the updated plugin to your hearts content.
Last Updated on Friday, 31 July 2009 21:21

Add comment

Security code