Mod Installer CMD

v20220815-1700

 

 

Command line version of Mod Installer.

 

How to use

There are two required parameters - game and path:

game - defines what game is selected
path - path to the game exe file

Then there are optional parameters:

packages - list of packages which will be packed
restore - uninstall all mods and restore game files to their original state

Example:

ModInstallerCMD.exe -game=fc5 -path="e:\Far Cry 5\bin\FarCry5.exe" -packages="Remove Startup Videos.a3;Weather System.a3|Weather=7;Script Loader.a3;Languages Resistance.a3;Keybindings Faster Parachute.a3"

 

Prepacked files

Please read Mod Installer tutorials to know how prepacked works.

Drag drop the folder over the exe or launch it like this:

ModInstallerCMD.exe "e:\myprep_prepacked"

To unpack prepacked, drag drop myprep_prepacked.xml over the exe or launch it like this:

ModInstallerCMD.exe "e:\myprep_prepacked.xml"

 

Define list of packages

Example:

"Weather System.a3|Weather=1,Snow=1;Show Time.a3"

So it means that package "Weather System.a3" will be selected and its option "Summer Weather" will be "Rain and fog" and "Winter Weather" will be "Snow".
Package "Show Time.a3" will be selected too, but it doesn't have any options.

| is separator for defining package options
, is separator for options
; is separator for packages

 

Return codes

The MI process returns codes after it exits.

0 - Default exit code.
100 - Bad launch params!
101 - Some package was not loaded correctly.
102 - Some package is for different game.
103 - Game directory is not writable.
200 - Selected game directory has bad game version.
201 - Game directory was not found. Try verify files.
202 - Game data looks broken. Verify files.
203 - Mod Installer was not able to read game data files.
204 - It looks the game got an update. Mod Installer doesn't have support of it.
205 - Backup of game data files is broken, so it was removed. Verify files.
206 - An error happened during reading game data files.
207 - It looks the game got an update or Mod Installer had small tweak.
208 - Game data files aren't complete. Verify files.
209 - Mod Installer can't write to game files.
210 - Game data folder doesn't exist.
300 - Game files restored.
400 - There is a collision in packages.
404 - There were some duplicated IDs in configs.
405 - There was an error during packing.
406 - Packing was cancelled.

 

Credits

Created by ArmanIII

 

Support development

 

Downloads

You are not allowed to upload this file to other sites under any circumstances

You must get permission from me before you are allowed to modify my files to improve it

You must get permission from me before you are allowed to use any of the assets in this file

How to verify Mod Installer is correct.

 

Version 20220815-1700
Fixed oasis processing in FCP

Version 20220811-0000
Removed unused assets
Reworked binary replace
Other minor tweaks

Version 20220725-2300
Fixed verifying selected packages

Version 20220722-1800
Minor fix in credits

Version 20220722-0900
Added background videos
Added ability to install external files
Reworked language selection window
Fixed bug in generating credits

Version 20220713-0000
Fixed bug in verifying files in FC3 and FC4

Version 20220710-2000
Fixed small issue

Version 20220710-1200
Fixed possible bug in packing

Version 20220707-1400
Fixed bug in packing

Version 20220707-1030
Added support of FC5 version 1.016
Added support of FCND version 1.0.7
Faster packing a4 packages
Reworked packing and loading packages
Added ability to pack to more DATs

Version 20220616-1700
First release