Skip to content

Indaclouds/LethalCompanyModder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LethalCompanyModder

tested on

This PowerShell script installs a selection of mods for LethalCompany.

It also includes the installation of BepInEx, a game patcher / plugin framework for Unity.

You don't need to install anything on your Windows system to run this script.



How to use

Basic installation

To run ths script, follow these steps:

  1. Open a PowerShell console.

  2. Copy this one-liner command in the console:

    Set-ExecutionPolicy Bypass -Scope Process -Force; $Script = "$env:TEMP\LethalCompanyModder.ps1"; iwr "https://raw.githubusercontent.com/Indaclouds/LethalCompanyModder/main/LethalCompanyModder.ps1" -OutFile $Script; & $Script
  3. Execute it.

It's as simple as that! 😄

Advanced installation

If needed, you can pass some parameters to the script:

& .\LethalCompanyModder.ps1 <parameters>

Install a curated preset of mods

Install mods from a preset maintained by us on GitHub:

& .\LethalCompanyModder.ps1 -Preset "Hardcore"

Install a preset of mods from file

Install mods from a preset defined in a file on your system:

& .\LethalCompanyModder.ps1 -Preset "MyPreset" -File "./path/to/mods.json"

Install for game host

Install mods, including those required only by the game host:

& .\LethalCompanyModder.ps1 -ServerHost

Upgrade

If you need to upgrade your mods, re-run the script with the Upgrade parameter.

& .\LethalCompanyModder.ps1 -Upgrade

Mods and dependencies will be re-installed with the latest version but keep the configuration.

BepInEx directory is backup-ed in the game directory as BepInEx_Backup.zip.

Clean installation

If you would like to re-install everything, run the script with the Force parameter.

& .\LethalCompanyModder.ps1 -Force

BepInEx directory is backup-ed in the game directory as BepInEx_Backup.zip.

Set game directory

By default, the script automatically search for the Lethal Company directory on your system.

However, you can define the path to the game directory with the GameDirectory parameter.

& .\LethalCompanyModder.ps1 -GameDirectory "C:\Path\to\Lethal Company"

Curated presets of mods

Default preset

This is the selection of mods to be installed when no curated or custom preset is specified by the user.

Hardcore preset

Experimental preset

Check your files

If you would like to check your files after the installation, you can find them in the game directory.

The mods are located under the BepInEx\plugins directory.

Check

About

A PowerShell script to installs Lethal Company mods

Topics

Resources

License

Stars

Watchers

Forks