
Versus Books Official Neverwinter Nights World Builder's Perfect Guide

Dungeons & Dragons 3rd Edition Player's Handbook

Dungeons and Dragons 3rd Edition Dungeon Master's Guide

In this tutorial I'll attempt to explain how to duplicate an entire NWN tileset using the NWN Tileset Duplicator application. Once a tileset is duplicated, modifications can be made to the new tileset without affecting the original. Your newly created tileset will not have any default visual or sound settings. The new tileset can be placed in a Hak Pak file that can be distributed to other players.
Note: I have made every attempt to make this tutorial as easy as possible. However, it is impossible to list every click and keystroke. I think basic windows skills are necessary to complete these steps.
Before you start you will need three things:
The files for a particular tileset are easy to find. First identify the tileset you wish to extract from the following list.
| Name | Tileset Prefix | Mini-map Prefix | BIF File |
|---|---|---|---|
| City Exterior | tcn01 | micn01 | aurora_tcn.bif |
| Crypt | tdc01 | midc01 | aurora_tdc.bif |
| Dungeon | tde01 | mide01 | aurora_tde.bif |
| Mines and Caverns | tdm01 | midm01 | aurora_tdm.bif |
| Sewers | tds01 | mids01 | aurora_tds.bif |
| Castle Interior | tic01 | miic01 | aurora_tic.bif |
| City Interior | tin01 | miin01 | aurora_tin.bif |
| MicroSet | tms01 | mims01 | aurora_tms.bif |
| Forest | ttf01 | mitf01 | aurora_ttf.bif |
| Rural | ttr01 | mitr01 | aurora_ttr.bif |
Using whatever BIF extraction tool you prefer extract the following files from several locations. If your not familiar with BIF extraction look for help at theBioware forums. In these examples XXX should be replaced with the three letter prefix listed in the above table.
You will probably want to keep a master copy of the extracted files in permanent location as you may duplicate the same tileset more then once. Every time you want to make a new duplication make a copy of that directory.
Since you don't want to replace the existing tileset you will need to rename the files. If you are duplicating the rural tileset you may wish to use a prefix like ttr02 but any prefix with a similar pattern will do. You will need to keep your prefix 5 letters long and may wish to keep the aaa## pattern. Obviously avoid prefixes that duplicate existing tilesets. I suggest that you keep the first "t" as this stands for tileset (this becomes important when duplicating the mini map images). Choose a lower case prefix.
First open the NWN Tileset Duplicator tool either by dbl-clicking on the NWNTilesetDuplicator.exe file or select programs, NWNTilesetDuplicator, NWNTilesetDuplicator if your did a full installation. Navigate to your desired working directory in the directory window. The working directory is the place you extracted all the files to in step one (or a copy of it).
If you haven't yet made a copy of this directory you can click "Copy All To...", navigate to another directory or create a new one and hit OK. All the files will be copies to the new directory. You can now modify these files without fear of doing anything wrong.
Duplicating a tileset is really just renaming all the files so that they contain the new prefix you selected in step 2. The tricky part is that you also have to modify all references to these files to match your new prefix. This is what the NWN Tileset Duplicator is designed to do.
Enter the old prefix into the "Old tileset prefix" textbox and enter your prefix in the "New Tileset Prefix" textbox. Hit the "Begin" button.
You will now see the "Duplicate NWN Tileset" options dialog box. Select "Search and replace" if you are ready to actually duplicate the tileset. Select "Search Only" if you simply want to see what files will be modified.
The search files box controls which files the search and replace will look through. If you don't have a reason to change this leave it as it.
Select "Include Map Images" if you want to duplicate and modify the in game map images. If you did not extract the map images in step one DO NOT check this button or your tileset will not work.
Select "Include Short Prefix" if you want to duplicate and modify the in tileset default doors. This is optional. A tileset doesn't need to include tileset specific doors.
Hit the begin button. You will see a results window that will keep you informed of the current actions. Wait tell the words "Tileset Duplication complete" appear. You will hear a beep in the latest version.
At this point you have successfully duplicated the tileset. However, the two tilesets are sill identical. You can now reskin your new tileset (see my tutorialRetexturing a NWN tileset). Reskinning is the process of changing the images to make a tileset look differently. You will also be able to add or delete tiles from this tileset. The NWN Tileset Duplicator, while it's main purpose is now complete, can help with these tasks. Tutorials on how to do this using this tool will come later.
DisplayName=-1where "MY DISPLAY NAME" is the name you want the tileset to appear as in the toolset. Do not place any spaces around any of the equal signs.
UnlocalizedName=MY DISPLAY NAME
To get custom content into the toolset (or game) you need to place all the files into a Hak Pak. The Hak Pak editor is located in the "utils" directory of your NeverwinterNights installation.
With the latest version of the tool (v0.3.x) and HakEdit you can just hit the Make HakPak button.
Note: There is currently a bug in the way the NWN game handles Hak Paks and saved games. Games saved while using a Hak Pak that contains ITP files cannot be loaded. The current workaround is to place the two ITP files in the override directory and do not place them in the Hak Pak. The ITP files are only needed for the toolset. So you can distribute the Hak Pak without ITP files to the players and they never need to touch the ITP files. This should be fixed in an upcoming patch.
Good luck and have fun!