Player Resource Consortium

 

Author Topic: SVN Access [How-to Guide]  (Read 2095 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 four lines for NWN EE:

NWN_DIR = C:\Program Files (x86)\Steam\steamapps\common\Neverwinter Nights
PRC_VERSION = 400Alpha
PRC_INSTALLVERSION = 4.0.0Alpha
NWN_DOC_DIR = C:\Users\[Username]\Documents\Neverwinter Nights

Replace the NWN_DIR with where your NWN:EE install directory is located. Replace the NWN_DOC_DIR with where in documents you have your Neverwinter folder
* 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.
* 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: January 10, 2021, 01:41:44 PM by Stratovarius »


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!)

Note from Strat: This fix only applies to NWN Classic, which is no longer used by the PRC as of the 4.0 Alpha build process.
« Last Edit: January 10, 2021, 01:43:45 PM by Stratovarius »