Player Resource Consortium

 

Author Topic: SVN Access [How-to Guide]  (Read 72 times)

0 Members and 1 Guest are viewing this topic.

December 20, 2019, 09:07:02 PM

Originally posted by fluffyamoeba
Originally reposted by xwarren

(Note, because of this guide's age, some elements could possibly be out of date. If you run into issues, ask for help here or (better) on the PRC Discord)

Directions on how to access the PRC SVN for Neverwinter Nights:

* Because several of the important PRC files are .exes, they are known to work fully only on Windows. Sorry, Linux and Mac users.
* The PRC utilities need Java installed.
* Download and install Tortoise SVN (https://tortoisesvn.net/). Follow their install instructions completely.

* Right click in the folder where you wish to download the PRC SVN. You need roughly 750 megs of disk space for the repository.
* Select SVN Checkout...
* Place this line in the URL: "https://svn.code.sf.net/p/daprc/code/"
* Select ok. It will begin to check out. This will take a long time. Simply wait until it is complete.
* Open the nwn/nwnprc/trunk folder.
* Create a text file called config.make (.make is the file extension).
* Open this file, and type in these three lines for NWN:

NWN_DIR = C:\NWN
PRC_VERSION = 382
PRC_INSTALLVERSION = 3.8.2

Replace the NWN_DIR with where your NWN directory is located. Currently, the compilation process does not work with NWN EE; you'll need a copy of the old/original one.
* copy dialog.tlk from your NWN install to nwnprc\trunk\tlk
* Your installation should now be complete. To test this, double click make.bat. This is the file that will compile the entire PRC. It will only compile files that have been modified, or have had their includes modified, since the last compile.
* Upon a finished compile, the program will copy all PRC files into your NWN dir's hak, tlk, and erf folder. This will overwrite any existing PRC files, including public release PRC files.
* This will have more errors than a standard release and have debugging switched on. Follow instructions below to report them.

* Compile all files and test them before submitting to the PRC.
* Enjoy. If you have any questions, comments, or concerns with this process or with adding content to the PRC, post them in the Bugs forum. Place all bug reports regarding the repository in this same forum. (You can also check out the NWN PRC discord; it's much more active than the forums these days!) https://discordapp.com/invite/aQ4CZpg
« Last Edit: December 21, 2019, 09:29:08 AM by Uncertainty »


December 21, 2019, 09:26:00 AM
Reply #1

For some troubleshooting:

On my initial builds, I kept running into "Unable to locate or open Neverwinter Night" errors when the .bat started up Nmake.

It seems that, in the past, other users have had this issue as well.

For me, adding/correcting my NWN registry entries fixed the problem:

https://www.gog.com/forum/neverwinter_nights_series/using_the_reinstaller_when_nwn_is_on_a_noncdrive

(Thanks to Strat for the fix!)