Table of Contents
BIN Editor
Here you can edit the texture.bin
file located in the texture
folder plus manage the dds files in the dds folder.
Sets - Tiles List
The Set list
is a list of all the sets in texture.bin
file. By clicking on a set you will get it's tiles displayed in Current Set Tiles
panel. You can select the Tiles
panel do display a list of all the tiles. By clicking an item in this list, the Current Set Tiles
panel will be updated with the tiles of the set the entry you clicked belongs to, and the corresponding tile will be selected.
By right clicking on an entry on the Sets list, you will get some actions described below, concerning the selected set. Similarly, by right clicking on the Tiles list, you'll have some actions available concerning the selected tile.
Current Set Tiles
This is a visual representation of the tiles that the currently selected set contains. The selected tile will be surrounded by a green square. By right clicking, you'll get a menu with some tile actions that you can perform.
You'll get a tooltip for each tile containing the source of the tile (should be always DDS or empty), the tile number and filename and the times this tile is used in L2.
The empty tiles (or the tiles that could not be loaded) will be displayed with a default image. This image is named
Notile.jpg
and can be found in the program's folder. You can replace this file with a custom one if you like.Actions
This panel contains some Set Actions and some general program actions that can be performed. The Set actions that you can perform are:
Change Set Type
: When pressed, the currently selected set's type will be changed to the value that the dropdown list has.Insert Set
: This action will open a dialog for you to select 1 up to 16 DDS image files, to be imported in thetexture.bin
as a new set. The type of the set will be the type displayed on the dropdown list and the set will be inserted either before or after the currently selected set on the list. The behavior of the insertion is defined in the Options window (see below).
Delete Set
: This will delete the set from thetexture.bin
file along with it's tile entries. No DDS files will be deleted from Theater DDS Folder.Move Set
: This is used to move the currently selected set to a new position. The Actions Panel will change to the following:
The procedure is to click a set on the Sets List
, then select if you want, the set you had selected when you started this action, to be placed before or after the set you selected now, and then press OK
. Hit Cancel
to cancel the action.
The general actions you can perform are:
Save BIN File
: This actually saves thetexture.bin
file with all the changes you've made. This is only available when you actually change something. There is no Save as functionality.Open TerrainEditor
: Opens the Main Window. This closes the BIN Editor for now. You don't need to save anything right now, you can come back later and finish the save.Delete Unused DDSs
: This actions looks into Theater DDS Folder and deletes all DDS Files that are not referenced in thetexture.bin
file. This also deletes night tiles and 'M' and 'L' tiles.Options
: You'll get the following window:
The options available are:
Automatically correct L2 Tile Numbers
: Since some set and tile actions may change the tile order and your L2 tiling, if this option is enabled, the L2 tiling will change each time tile numbering changes, in order to preserve the correct tiling.Default Insert Set
: Specifies where the new set will be inserted (before or after the selected set) when you insert a new set.M and L Tile Size
: These values will be used during the creation of the 'M' and 'L' tiles.
Tile Details Panel
This panel holds the details of the currently selected Tile, along with some actions that can be performed on it.
The information you get are:
Tile name
: The filename stored in thetexture.bin
file.Tile Number
: The tile's number.Tile's Areas and Paths
The actions you can perform are:
Edit Tile
: This button opens the Tile Details Window to edit Areas and Paths.Replace Tile
: This opens a dialog for you to select a DDS Image to replace (or append if the selected tile position is empty) the selected tile.
Delete Tile
: This deletes the tile entry from thetexture.bin
file, without deleting any DDS files from the Theater DDS Folder. If the selected tile for deletion is not the last one in the set, all subsequence tiles will be moved one position up in the set, changing the tile numbering. If theAutomatically correct L2 Tile Numbers
option is enabled, the L2 tiling will change accordingly.