Difference between revisions of "Mod Loader"

From GTAMods Wiki
Jump to navigation Jump to search
Line 12: Line 12:
  
 
Mod Loader is a plugin that adds an user-friendly and easy way to install and uninstall modifications into the game without changing anything in the  game installation. The user only needs to put the mods in the ''modloader'' directory and that's all.
 
Mod Loader is a plugin that adds an user-friendly and easy way to install and uninstall modifications into the game without changing anything in the  game installation. The user only needs to put the mods in the ''modloader'' directory and that's all.
 +
 +
Mod Loader won the ''Best Tool'' award on the GTANet Annual Awards 2014{{ref|1}}.
  
 
== Features ==
 
== Features ==
Line 128: Line 130:
 
* {{GTAF|669520}}
 
* {{GTAF|669520}}
 
* [https://github.com/thelink2012/modloader Mod Loader Repository] - source code
 
* [https://github.com/thelink2012/modloader Mod Loader Repository] - source code
 +
* {{note|1}} {{GTAF|768699|Awards 2014 Winners}}
  
 
{{N|SA}}
 
{{N|SA}}
 
[[Category:Tools]][[Category:Mod Installation]]
 
[[Category:Tools]][[Category:Mod Installation]]

Revision as of 18:42, 1 March 2015

Mod Loader
Mods installed in Mod Loader
Current version:0.2.4
Developed by:User.pngLink2012
Supported games:GTA SA
Type:mod installation

Mod Loader is a plugin that adds an user-friendly and easy way to install and uninstall modifications into the game without changing anything in the game installation. The user only needs to put the mods in the modloader directory and that's all.

Mod Loader won the Best Tool award on the GTANet Annual Awards 2014[1].

Features

  • Do not replace any original file, all the mods are installed by injection on the fly!
  • The user can give several versions of the same data file and the loader will take care of merging them together!
  • The user does not need to manually take data lines from readme files, the loader is able to identify them and inject them in!
  • Changes made to the directory while the game is running are applied immediately!
  • Game menu for configurations, providing a even easier management of mods!
    The in-game menu
  • Profiles allowing the user to have many games in one.
  • Dynamic loading screen, removing the flickering when there are too few gta.dat entries (usually on TCs).
  • Bug-free sound modding.

Supported Files

Mod Loader supports all the files the default game provides with the addition of some files well known in the modding scene. The supported file types are:

Profiles

Profiles are the basic configuration system for Mod Loader. By default modloader.ini contains a Default profile but the user can create additional profiles either by creating a new ini with the profile content in modloader/.profiles or appending the profile to modloader.ini itself. Notice that profile names are not case-sensitive!.

Profiles let you create a group of mods to load, files to ignore, exclusive mods and so on.

To make use a profile switch the current profile set the Profile key in modloader.ini, send a command line -modprof followed by the profile name to use, or have a UseIfModule condition on it.

The following configuration keys can be specified in the [Profile.ProfileName.Config] section.

Configuration Name Menu Description
Parents
Profiles to inherit configurations from (comma delimited) (IncludeMods list, Configs, and so on).
Special values are $Current for the profile currently set in modloader.ini and $None for no parent.
IgnoreAllMods
Ignores all mods in the modloader directory, essentially disabling any mod.
ExcludeAllMods
Ignores all mods in the modloader directory except for the ones in the [Profiles.ProfileName.IncludeMods] list.
UseIfModule
This profile is forced to be used by Mod Loader if the specified executable/dll module is loaded.

The following list sections are available:

Configuration Name Menu Description
[Profiles.ProfileName.IgnoreMods]
All the mods in this list are ignored by the profile while scanning for mods.
[Profiles.ProfileName.IncludeMods]
All the mods in this list are going to be used even when ExcludeAllMods is set to true.
[Profiles.ProfileName.ExclusiveMods]
Any mod in this list will be loaded ONLY by this profile, any other profile will have this mod automatically ignored.
If another profile has a similar exclusive mod, both will have the mods as exclusive and use them
[Profiles.ProfileName.IgnoreFiles]
All wildcards in this list are ignored by the profile while scanning for files.
[Profiles.ProfileName.Priority]
Defines mods priorities, that's if two mods modify the same file which should have precedence over the other.

Command Line

Mod Loader has support for command lines arguments to the game executable, possible commands are:

Command Line Description
-mod name Only the specified mod is going to be loaded.
This command line can be sent more than once to specify varios mods to be loaded.
-modprof name The specified profile will be used
-nomods Disables any mod from loading.

Notes:

  • The -nomods, -mod and -modprof command lines are mutually exclusive.
  • When -mod or a -modprof command line are used a anonymous profile is created so any changes to the related profiles aren't saved/loaded.

See also

External links