Main.dat: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
(Create page)
 
m (Add article link for save files)
Line 14: Line 14:
| language || Localization files for text in the game. <code>english.txt</code> is the only file in this directory.
| language || Localization files for text in the game. <code>english.txt</code> is the only file in this directory.
|-
|-
| saves|| Save files used during testing.
| saves|| [[Save file]]s used during testing.
|-
|-
| sectors|| Predefined sectors. The prologue sector is currently the only one that is defined.
| sectors|| Predefined sectors. The prologue sector is currently the only one that is defined.

Revision as of 07:36, 21 February 2023

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
definitions definitions.txt is the only file in this directory. It 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.
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. english.txt is the only file in this directory.
saves Save files used during testing.
sectors Predefined sectors. The prologue sector is currently the only one that is defined.
ships Ship files defining hostiles, NPC ships, and ships available for purchase.
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.