v20220815-1700
Command line version of Mod Installer.
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"
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"
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
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.
Created by ArmanIII
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.