Main.dat

Revision as of 13:32, 27 July 2024 by Totengeist (talk | contribs) (Update based on the current structure)

main.dat is a ZIP file in the root installation directory. It contains a variety of resources loaded into the game as described below:

Directory Content description
<root> containers.txt contains information about resource containers, the color of the contents, and whether they are salvage or reagent.

definitions.txt contains information about placeable items in the game. This includes the identifying name of the item, its height and width in in-game units, pipe or cable connection points, placement restrictions, and slot placements for input and output.

recipes.txt contains information about recipes used by various equipment.

stargate.txt contains the requirements for each phase of the Stargate Project.

techtree.txt contains the requirements for the Tech Tree, including costs and requirements.

dialogs Text files that define the on-screen location of buttons, input fields, and text used in various menus and dialogs.
fonts Font files.
gfx Images including backgrounds, effects, floors, and icons.
language Localization files for text in the game. Each language is in its own folder, containing a language.txt file. This file contains all the text strings for the game in that language.

The folder's name will be the label in the game's language selection menu and may contain spaces and some special characters.

ships Ship files defining hostiles, NPC ships, and ships available for purchase. This is split into official Introversion ships and those built by the community.
sprites Sprite sheets containing the textures of characters, objects, walls, and vents. spritebank.txt links textures in sprite sheets to objects listed in definitions\definitions.txt.