Definition

 

A structure library (.hsl file) contains 1 or more Hex Workshop Structure Definitions. Each structure definition can be used to render binary data into structured data within the Hex Workshop Structure Viewer. This is a powerful and useful feature, with the following limitations:

 

- Structure definitions are limited to a set of predefined basic data types, type definitions, and other structures/enumerations.

- A structure can only reference another structure defined before it within the same Structure Library (or an included library). 

- Only one structure library can be active at any point in time. 

 

It is recommended that you save structures in the "Structures" directory created during installation. This directory is created relative to your installation directory and is by default: "C:\Program Files\Hex Workshop <version>\Structures".

 

Selecting a Structure Library

 

You can select a structure library using the key cut Ctrl+Shift+L or by selecting "Select Structure Library" from the Structure Viewer's right-click context menu, or by selecting "Select Structure Library" from the "Tools:Structure Viewer" menu.

 

NOTE: You cannot add a structure to the structure viewer before a structure library has been selected.

 

See also Structure Viewer Overview, Adding a Structure, Removing a Structure, Defining a Structure and Basic Structure Data Types.