Main.dat: Difference between revisions

Update the file/directory information
m Add 'more information' link for translations
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
! Directory !! Content description
! Directory !! Content description
|-
|-
| definitions|| <code>definitions.txt</code> 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.
| <root>|| <code>containers.txt</code> contains information about resource containers, the color of the contents, and whether they are salvage or reagent.
 
<code>definitions.txt</code> 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.
 
<code>recipes.txt</code> contains information about recipes used by various equipment.
 
<code>stargate.txt</code> contains the requirements for each phase of the [[Stargate Project]].
 
<code>techtree.txt</code> 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.
| dialogs|| Text files that define the on-screen location of buttons, input fields, and text used in various menus and dialogs.
|-
|-
| fonts|| Font files.
| fonts|| Font files.
Line 12: Line 20:
| gfx || Images including backgrounds, effects, floors, and icons.
| gfx || Images including backgrounds, effects, floors, and icons.
|-
|-
| language || Localization files for text in the game. <code>english.txt</code> is the only file in this directory.<br>''Note: Adding other language files to this directory currently does nothing.''
| language || Localization files for text in the game. Each language is in its own folder, containing a <code>language.txt</code> file. This file contains all the text strings for the game in that language.
|-
 
| saves|| [[Save file]]s used during testing.
The folder's name will be the label in the game's language selection menu and may contain spaces and some special characters.
|-
 
| sectors|| Predefined sectors. The prologue sector is currently the only one that is defined.
More information on translating the game can be found [[Modding#Translations|here]].
|-
|-
| ships || Ship files defining hostiles, NPC ships, and ships available for purchase. This is split into <code> official</code> Introversion ships and those built by the <code>community</code>.
| ships || Ship files defining hostiles, NPC ships, and ships available for purchase. This is split into <code> official</code> Introversion ships and those built by the <code>community</code>.
|-
|-
| sprites || Sprite sheets containing the textures of characters, objects, walls, and vents. <code>spritebank.txt</code> links textures in sprite sheets to objects listed in <code>definitions\definitions.txt</code>.
| sprites || Sprite sheets containing the textures of characters, objects, walls, and vents. <code>spritebank.txt</code> links textures in sprite sheets to objects listed in <code>definitions\definitions.txt</code>.
|-
| stickers || An empty directory. It is unclear what this will be used for.
|}
|}


[[Category:Game files]]
[[Category:Game files]]