Mod Loader

From GTAMods Wiki
Revision as of 10:51, 25 June 2020 by Skull82 (talk | contribs)
Jump to navigation Jump to search
Mod Loader
Mods installed in Mod Loader
Current version:0.3.4
Developed by:User.pngLink2012
Supported games:GTA III, GTA VC, GTA SA
Type:mod installation

Mod Loader is a plugin that adds a user-friendly and easy way to install and uninstall modifications into the game without changing the game's internal files. The user only needs to put the mods in the modloader directory and it will work.

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