Howto: Run NWNEE on Windows from portable drive

I didn’t see this info anywhere online, so I thought I’d post how to make NWNEE fully portable on Windows–i.e. the binaries and save files all on one drive, and it doesn’t matter what drive letter the portable drive gets.

  1. Plug in portable drive and install/copy NWNEE to a folder on your desired drive. Example: D:\NWNEE
  2. Run the program, then exit and copy “Neverwinter Nights” folder from your Documents and paste it into the .\bin\Win32 subfolder of your NWN installation, and rename it to ‘userdata’ to avoid issues with spaces. Example D:\NWNEE\bin\win32\userdata
  3. Edit the nwn.ini and replace the path on each line with “.\userdata” (the folder you renamed it to above):
[Alias]
HD0=.\userdata
MODULES=.\userdata\modules
SAVES=.\userdata\saves
OVERRIDE=.\userdata\override
HAK=.\userdata\hak
SCREENSHOTS=.\userdata\screenshots
CURRENTGAME=.\userdata\currentgame
LOGS=.\userdata\logs
TEMP=.\userdata\temp
TEMPCLIENT=.\userdata\tempclient
LOCALVAULT=.\userdata\localvault
DMVAULT=.\userdata\dmvault
SERVERVAULT=.\userdata\servervault
DATABASE=.\userdata\database
PORTRAITS=.\userdata\portraits
AMBIENT=.\userdata\ambient
MOVIES=.\userdata\movies
MUSIC=.\userdata\music
TLK=.\userdata\tlk
DEVELOPMENT=.\userdata\development
PATCH=.\userdata\patch
OLDSERVERVAULT=.\userdata\oldservervault
NWSYNC=.\userdata\nwsync
CACHE=.\userdata\cache
MODELCOMPILER=.\userdata\modelcompiler

  1. Create a ‘LaunchNWN.bat’ file in the root of your NWN installation folder (“D:\NWNEE\LaunchNWN.bat” in my example) and insert the following into the file:
set "nwnuser=%~dp0bin\win32\userdata"
cd /d "%~dp0bin\win32" & ".\nwmain.exe" -home "%nwnuser%" -userDirectory "%nwnuser%"
  1. Run the program by executing “LaunchNWN.bat” and Enjoy!

Caveats/not-tested:

  • Tested using GOG NWNEE version 87-8193.35-40.
  • What happens to the save data in “.\bin\win32\userdata” when a patch is applied. Backups advised :slight_smile:
5 Likes

Will definitely be trying this - been unhappy with not being able to carry around EE on a chip!

It has been a long time, but I finally had the opportunity to try this out and happily have my NWNEE on a USB chip I can carry around now. Thanks for writing up this recipe!