forked from Jaysyn/PRC8
Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
27 lines
1.3 KiB
Plaintext
27 lines
1.3 KiB
Plaintext
A few notes about compiling:
|
|
|
|
There are a bunch of batch files at the nwnprc/ module root. These are your interface to the build system.
|
|
The makefile depends on a machine-specific file called config.make. This file specifies the location of NWN
|
|
on the current system and the PRC version string.
|
|
|
|
#begin example config.make
|
|
NWN_DIR = C:\Program Files (x86)\Steam\steamapps\common\Neverwinter Nights
|
|
PRC_VERSION = 400
|
|
PRC_INSTALLVERSION = 4.0.0
|
|
NWN_DOC_DIR = C:\Users\[Username]\Documents\Neverwinter Nights
|
|
#end example config.make
|
|
|
|
|
|
The batch files:
|
|
compile.bat - Does a full compile, always. Fastest way to full compile
|
|
command.bat - Opens a command line window if desired
|
|
clean.bat - Cleans all object files. Use after drastic changes to make sure no old cruft lies around. Also always to be used before building a release.
|
|
make.bat - Builds the makefile and then runs it.
|
|
newspellbookhak.bat - Make will error on building the NSB hak file. Run this, then run make.bat again.
|
|
|
|
|
|
The build process compiles every changed script (make) or every script (compile).
|
|
The scripts are then packaged into haks that are placed under CompiledResources.
|
|
The erfs are similarly built and placed under CompiledResources.
|
|
The tlk.xml file is converted into a tlk file.
|
|
These generated files are also installed into their respective subdirectories in your NWN directory. |