indaclouds / lethalcompanymodder Goto Github PK
View Code? Open in Web Editor NEWA PowerShell script to installs Lethal Company mods
License: MIT License
A PowerShell script to installs Lethal Company mods
License: MIT License
Instead of erasing the entire BepInEx
directory, only remove files located in the plugins
and patchers
directories and re-install them.
Only proceed to this action when the Upgrade
parameter is passed.
Thanks for the amazing script!
I ran into the error on my machine Get-ChildItem The network path was not found.
My Steam games are in a separate drive, nothing else I can think of.
My crewmates didn't get this error.
I'm no PowerShell dev, so I couldn't diagnose why, but I just added another param to manually add my game install:
[Parameter(
HelpMessage = "Path to the 'Lethal Company' folder"
)]
[ValidateScript({ if (Test-Path -Path $_) { $true } else { throw "`"$_`" folder not found." } })]
[string] $SetDir
...
if ($SetDir.Length) {
# Set game directory from command parameter
Write-Host "Get directory `"$SetDir`""
$GameDirectory = $SetDir
} else {
# Search for directory where Lethal Company is installed
...
}
if (-not $GameDirectory) { Write-Error -Message "Lethal Company installation directory not found." }
Now the following script works for me:
& .\LethalCompanyModder.ps1 -SetDir "G:\SteamLibrary\steamapps\common\Lethal Company"
Add new BepInExPatcher
type for mods.
This is for the BepInEx mods thats adds files to <game directory>\BepInEx\patchers
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.