Difference between revisions of "Mod.ini (old)"

From FreeSpace Wiki
Jump to: navigation, search
m (categorized - just to make sure people will have a chance of finding it)
m (Introduction)
Line 4: Line 4:
  
 
The file must be called "mod.ini" and be in the main folder of the mod.
 
The file must be called "mod.ini" and be in the main folder of the mod.
 +
::: '''''PLEASE NOTE''': '''Launcher v 5.4''' or later, '''must be used'''. Earlier versions had some bugs that would cause this explanation about mod.ini to fail.''
  
 
==Sections==
 
==Sections==

Revision as of 14:19, 10 January 2010

Introduction

Mod.ini defines the options for a given Mod. The core use for these is to allow a Mod to easily use assets from another mod, such as the MediaVPs.

The file must be called "mod.ini" and be in the main folder of the mod.

PLEASE NOTE: Launcher v 5.4 or later, must be used. Earlier versions had some bugs that would cause this explanation about mod.ini to fail.

Sections

Launcher

[launcher]

Information about the Mod, displayed in the Launcher.

Attributes:

  • modname = Name of Mod;
  • image255x112 = Mod bitmap.bmp;
  • infotext = Information about the Mod;
  • website = URL to Mod website, if applicable;
  • forum = URL to a Mod forum, if applicable;
  • mantis = URL to a Mod bugtracker, if applicable;

The Mod Bitmap is displayed

MultiMod

[multimod]

Defines the other mods whose assets are used by this one.

Attributes:

  • primarylist = list of mods;
    • These mods will override assets in the current Mod
  • secondarylist = list of mods;
    • These mods will be added to the assets for the current Mod, and may be overrided by data in the current Mod.

Settings

[settings]

Defines other required settings.

Attributes:

  • flags = list of additional commandline flags;

Examples

MediaVPs 3.6.10

[launcher]
image255x112 = FSU-MVP.bmp;
infotext     = Freespace II - 3.6.10 MediaVPs;
website      = http://www.hard-light.net/;
forum        = http://www.hard-light.net/forums;
mantis		 = http://www.hard-light.net/mantis;

[multimod]
primarylist  = ;
secondarylist = ;

Derelict

[launcher]
image255x112 = Derelict.bmp;
infotext     = Five years have passed since the jump node to the Capella system was collapsed...;
website      = http://www.3dap.com/hlp/hosted/ce/;
forum        = http://dynamic.gamespy.com/~freespace/forums/forumdisplay.php?s=83686deb4fd49b5f670f6d92203b257d&forumid=89;

[multimod]
primarylist  = ;
secondrylist = ,mediavps;

[settings]
flags = -spec;