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.

TipDouble clicking on a tile box will get you to the Tile Details Window.
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 the texture.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).
CautionThe images for the new set must be valid DDS images. These images will be copied in the Theater DDS Folder. If the filenames do not start with 'H', an 'H' character will be inserted to the name of the tile. 'M' and 'L' tiles will automatically be created (their size depends on the settings in the Options Window). If along with the normal DDS tile, a night tile exists (filename same as the normal tile plus a 'N' at the end) this night tile will be copied to the DDS Folder and 'M' and 'L' night tiles will be created, otherwise, a blank (black) night tile will be created in the DDS Folder (along with 'M' and 'L' night tiles as well).
  • Delete Set: This will delete the set from the texture.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.

TipMost of the above actions modify the tile numbering. In Options Window (see below) if the option Automatically correct L2 tile numbers is enabled, the L2 tile offsets will be modified in order not to let your tiling to be changed.

The general actions you can perform are:

  • Save BIN File: This actually saves the texture.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 the texture.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 the texture.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.
CautionThe image for the Tile replacement must be a valid DDS .This image will be copied in the Theater DDS Folder. If the filename does not start with 'H', an 'H' character will be inserted to the name of the tile. 'M' and 'L' tiles will automatically be created (their size depends on the settings in the Options Window). If along with the normal DDS tile, a night tile exists (filename same as the normal tile plus a 'N' at the end) this night tile will be copied to the DDS Folder and 'M' and 'L' night tiles will be created, otherwise, a blank (black) night tile will be created in the DDS Folder (along with 'M' and 'L' night tiles as well).
  • Delete Tile: This deletes the tile entry from the texture.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 the Automatically correct L2 Tile Numbers option is enabled, the L2 tiling will change accordingly.
manuals/terraineditor/reference/bin_editor/home.txt ยท Last modified: 07/12/2013 11:47 (external edit)
GNU Free Documentation License 1.3
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0