Custom Tileset Surfaces
Tileset 1
Tileset 2




This tutorial will show you how to duplicate an entire existing tileset, make modifications on texture files, and then change the tileset file names to create a new tileset feature in NWN.


A. Setup
B. Extracting All Tileset Files
C. Altering Texture Files
D. Change File Names
E. Create Hak Pak
F. Installing & Testing the Hak Pak

A. Setup
1. Create a folder for this activity, call it “NewCityInterior.” NOTE - This folder must be created on your C drive.
2. Launch Explorer - Minimize
3. Launch GIMP - Minimize
4. Open Override folder - Minimize
5. Open "NewCityInterior" folder - Minimize
B. Extract All Tileset Files
We will use Explorer to extract all files associated with our selected tileset.
1. Identify the tileset you wish to extract (See Appendix). For this activity, we will use the City Interior.

Activate NWN Explorer. We will find a set of files for our selected tileset (CIty Interior).
- one - tileset.bif
- two .itp files
- one - 2da file
We will export all these files and place them in our NewCityInterior folder.

This will be the process for any other tileset.

3. NOTE - Each tileset has its own unique prefix:
- City Interior - tin
- City Exterior -
4. Tileset.bif - In Explorer, go to NWN Main Data - data\aurora_tin.bif.
5. In Explorer, go to NWN Main Data - data\aurora_tin.bif. Select this file. Go to the Top Menu Bar - Resources, Export. Locate your NewCityInterior on the C drive. Click OK. All the tileset files will be placed in your folder.

.itp Files - Every tileset has 2 .itp files.These are the palette files. They control the list that appears on the right side of the toolset.

7. In Explorer, go to NWN Main Data - data\templates.bif - Blueprint Palettes. Find the following two files (note the "tin" prefix):
- tin01.pal.itp
- tin01.palstd.itp
Export these two files to your NewCityInterior folder.
8. 2da file - This file allows the effect where the edges appear to continue off to infinity near the area edges.
9. In Explorer go to NWN Main Data - Game Data - tin01_edge.2da. Export this file to your NewCityInterior folder.
10. You should now have a folder with ...... files in it. These are the complete files for the City Interior Tileset.
C. Reskin the TIleset
You now have a folder filled with the files associated with the City Interior tileset. You can now re-texture the .tga files in this folder. Although there are many .tga files in this folder, the files associated with the "default" City Interior appearance are the following:

Explorer File   Tileset Appearance
tin01_plank   floor
tin01_wall_iinn   wall
tin01_innrug   rug
tin01_post   posts
tin01_cloack   cabinet & posts
tin01_furnish2   tables
tin01_shelf2   table objects
tin01_shpflr1   tables
tin01_door2   small tables
tin01_barel   window shutters

For the re-texturing activity, it will be best to focus only on these files.FOr t
1. Activate GIMP.
2. In GIMP, go to the Top Menu Bar - Open. A window will appear. In the lower right side of the window, find a drop-down menu which identifies file types. Select TarGA image (*.tga). This will only allow Targa files to appear. Locate your C Drive folder (NewCityInterior). All the Targa files will be available.
3. Look at the chart above. Start with the "floor" - tin01_plank.tga. Make textural or flat area color changes to the file. Save.
4. Open the next file (tin01_wall_iinn.tga). Make textural or flat area color changes. Save.
5. Continue making textural or flat area color changes to each file. Save each image back to the NewCityInterior folder.
D. Change the File Names
At this point you have successfully duplicated the City Interior tileset and made some alterations in selected files. However, the two tilesets are sill identical (your new one and the default one still in NWN). For this acivity, we will use the Tileset Duplicator. If you want a copy of your own, use the following link:
Download Tileset Duplicator

Launch Tileset Duplicator (use the shortcut in your NWN folder). A small window will open.

2. In the upper left window, locate your C drive folder - NewCityInterior. Double-click the file. All the folder files will be listed in the lower left window.
3. In the upper right, find the "Old Tileset Prefix" panel. Type in the old prefix - "tin01."
4. Below this, find the "New Tileset Prefix" panel. Type in something similar that renames the tileste files. In this activity, use "tin02."
5. Click "Rename Entire Set." A small window will appear. Keep default settings (make sure "include map images" and include short prefix" are left UNCHECKED). Click Begin. All the files with the prefix "tin01" will be renamed "tin02."
6. The renaming process will take some time. When it is finished, click Close.
7. Click the button, "Rename File."  A small window will open. Apparently this must contain 19 characters Try, "newcityinteriortile."
8. This will take some time. When it is finished, click Close.
9. You have now duplicated a tileset, made alterations on some of the textures, and renamed the files.
5. Close NWN Tileset.
E. Creating a Hak Pak
You have now altered the appearance of a key texture file for the City Interior tileset. There are several ways to proceed, but it is best to test your work by putting the altered file in the NWN Override folder.
1. Launch the NW Hak Editor (nwhak). An interface window will appear.
2. In theTop Menu Bar - Resource - Add.
3. In the widow which opens, locate your C Drive folder (NewCityInterior).Click Open.
4. You want to include all the files in your hak pak, so select ALL the files (Click first file, hold down Shift, click last file). Click Open.
5. The selected files will be placed in the hak pak window. Name the hak pak - new city interior. File - Save As - "newcityinterior."
6. Close the Hak Pak Editor.
F. Installing & Testing the Hak Pak in a Module
The more stable way of integrating custom resources into NWN is through the use of a "hak pak." We will explore this method later.
G. Continuing the Process
1. Use the process explored above to continue altering texture maps from the default City Interior Tileset.
- Locating the correct file in Explorer
- Exporting the file to your Desktop folder (ci-tileskin)
- Making changes to the file using GIMP
- Testing the file in the Override folder
2. Change the following files to completely alter the default City Interior tileset:



© 2007 University of Victoria