Wartbed:Files/Structure

From Dark Omen Wiki

< Wartbed:Files(Difference between revisions)
Jump to: navigation, search
 
(7 intermediate revisions not shown)
Line 12: Line 12:
<tt>
<tt>
-
'''WARTBED main folder'''
+
'''WARTBED main folder/'''
-
:'''Bin''' <span style="color:green">- Executables and libraries</span>
+
:'''bin/''' <span style="color:green">- Executables and libraries</span>
-
:'''Resources''' <span style="color:green">- All common resources</span>
+
:('''bin_d/''' <span style="color:green">- Executables and libraries for debug build</span>)
-
:'''Modules''' <span style="color:green">- All game module description files and data folders</span>
+
:'''cfg/''' <span style="color:green">- Currently only contains ''application.config''</span>
-
::''Example file.module'' <span style="color:green">- see module format below</span>
+
:'''resources/''' <span style="color:green">- All common resources and assets</span>
-
::'''Example module folder'''      
+
:'''modules/''' <span style="color:green">- All game module description files and data folders</span>
-
:::''Good faction.campaign'' <span style="color:green">- see campaign format below</span>
+
<div style="margin-left: 4em; border: 1px dashed rgb(162,172,162);">
-
:::''Evil faction.campaign''  
+
<div style="float:right; color: green; background: rgb(172,192,172);font-size: 80%;">''These may be a file structure,<br />but in release versions all<br />files are inside an .zip archive''</div>
 +
''Example file.module'' <span style="color:green">- see module format below</span><br />
 +
'''Example module folder/'''
 +
:''Good faction.campaign'' <span style="color:green">- see campaign format below</span>
 +
:''Evil faction.campaign''  
 +
:'''Resources/''' <span style="color:green">- Additional resources common to all campaigns under the module</span>
 +
:'''Good faction/''' <span style="color:green">- Additional resources common to all campaigns under the module</span>
 +
::'''Resources/''' <span style="color:green">- Additional resources specific to the campaign</span>
 +
</div>
</tt>
</tt>
 +
 +
==Application settings==
 +
:''See [[Wartbed:Files/Formats/Application Settings|The <tt>application.settings</tt> file format]]
 +
Contains all application configuration settings, like graphic options and key bindings. Some of these settings are indented to be overridable on a per-module bases to allow more faithful recreations of original titles.
==Modules and campaigns==
==Modules and campaigns==
-
===The '''<tt>.module</tt>''' file===
+
:''See [[Wartbed:Files/Formats/Modules and Campaigns|The <tt>.module</tt> and <tt>.campaign</tt> file formats]] article''
-
:''Should be moved to the Files/Formats article
+
Modules are large-scale settings. Though intended to represent game remakes (f.i. [[Wartbed:Bright Portents|Bright Portents]] and [[Wartbed:Saga|the Saga modules]] are modules implementing Dark Omen and the Myth games in WARTBED) they can of course be totally new games. Modules in turn contains campaigns which are sequences of connected battles within the setting of a module. Modules and campaigns also allow basic customisation of the WARTBED framework, for instance of user interface appearance etc.  
-
The .module file defines a module that can be executed in WARTBED (and provided as a parameter to the executable). It describes the name, location and any toggles to global WARTBED rules. Modules may require (depend upon) other modules for data etc.
+
-
<div style="margin-left:2em;border:1px solid gray; background:rgb(215,225,215);">
+
-
<div style="float:right;text-align:right;padding:0.5em;background:grey;color:rgb(225,225,225);width:25%;">game name'''.module'''<br>(text file)</div>
+
-
<div style="padding:1em; color:rgb(0,32,0);"><tt>name = Really Cool Tactical Fantasy Epic<br>folder = RCTFE/<br>requires = another module<br>requires = yet another module<br>
+
-
<span style="outline:1px solid black">''Rules section goes here...''</span>
+
-
</tt></div>
+
-
</div>
+
-
<br>
+
-
 
+
-
===The '''<tt>.campaign</tt>''' file===
+
-
:''Should be moved to the Files/Formats article
+
-
Campaigns are settings (sequences of battles) in a module. Campaigns may depend on other campaigns and modules. (''It has not been decided whether campaigns may depend on campaigns in other modules'').
+
-
<div style="margin-left:2em;border:1px solid gray; background:rgb(215,225,215);">
+
-
<div style="float:right;text-align:right;padding:0.5em;background:grey;color:rgb(225,225,225);width:25%;">campaign name'''.campaign'''<br>(text file)</div>
+
-
<div style="padding:1em; color:rgb(0,32,0);"><tt>name = Good guys rules!<br>requires campaign = another campaign<br>requires module = still another module<br>
+
-
<span style="outline:1px solid black">''More stuff will go here...''</span>
+
-
</tt></div>
+
-
</div>
+
-
<br>
+
-
 
+
-
===Dependencies===
+
-
A possible alternative for the <tt>requires</tt> format could be a block like
+
-
requires
+
-
{
+
-
    module = a module.module
+
-
    campaign = evil guys.campaign
+
-
}
+
-
Alternatively to the <tt>requires module</tt> and <tt>requires campaign</tt> tags above, the dependency could be resolved by filename extension.
+
[[category:WARTBED]]
[[category:WARTBED]]

Current revision as of 14:17, 15 November 2009

Contents

Note: This article is ahead of itself. It does not represent how WARTBED currently looks or a decision as to how it will look. It is written as a guideline and as a place to jot down ideas.

Also see WARTBED file formats article.


WARTBED main folder/

bin/ - Executables and libraries
(bin_d/ - Executables and libraries for debug build)
cfg/ - Currently only contains application.config
resources/ - All common resources and assets
modules/ - All game module description files and data folders
These may be a file structure,
but in release versions all
files are inside an .zip archive

Example file.module - see module format below
Example module folder/

Good faction.campaign - see campaign format below
Evil faction.campaign
Resources/ - Additional resources common to all campaigns under the module
Good faction/ - Additional resources common to all campaigns under the module
Resources/ - Additional resources specific to the campaign

Application settings

See The application.settings file format

Contains all application configuration settings, like graphic options and key bindings. Some of these settings are indented to be overridable on a per-module bases to allow more faithful recreations of original titles.

Modules and campaigns

See The .module and .campaign file formats article

Modules are large-scale settings. Though intended to represent game remakes (f.i. Bright Portents and the Saga modules are modules implementing Dark Omen and the Myth games in WARTBED) they can of course be totally new games. Modules in turn contains campaigns which are sequences of connected battles within the setting of a module. Modules and campaigns also allow basic customisation of the WARTBED framework, for instance of user interface appearance etc.

Personal tools
communication