Mods Installation Guide
This short guide is aimed at providing the minimal information to launch mods for Teslagrad 2 (i.e. Tesla2DebugMod). Please do take a note that any run done on a modded version of the game is, by default, considered invalid.
Installing Melon Loader
MelonLoader is a Universal Mod-Loader for Games built in the Unity Engine. To install mods you'll need to first install this tool on the 0.6 version. All the informations are located on this page https://melonwiki.xyz/#/README
As indicated on the Melon Loader wiki, you'll need .NET 6 to run the mods. Here is the official page for it https://dotnet.microsoft.com/fr-fr/download/dotnet/6.0 (You can download the Windows Desktop Runtime).
Once you have the Melon Utility, you'll just have to select your game for the installation. I recommend doing it on a copy of your game so you can keep the Vanilla version (this topic will be discussed in a later section)
Important : Once installed, you need to start the game a first time to start the initialisation before adding mods !
Adding the mods
Once installed you will have to drop the .dll file in the Mods folder located in the game file directory.
You can find the debug mod file on the associated github repository under the release page https://github.com/Lusther/Tesla2DebugMod/releases
Once the file is in the appropriate folder you can start your game. If it is installed correctly you should see in the Melon Loader console that the mod is indeed installed.
Dual Installation
As this guide is directed to speedrunner, it's important to be able to come back to the original Teslagrad 2 for official runs.
Multiple setups can exist to make it work but in most cases I do recommend at least backing up your game before installation (if you haven't, you can resort to installing it from scratch).
One of the possible setups (the one that I use) is having two directory with the game files for both Vanilla and Modded. The steam game directory can then be replaced with a symlink (created with the mklink command) that is edited on the fly with a bat file. If you need more information on that part you can contact me (lusther) on Discord in the Rain Games Speedrunning Server.
The same effect can be replicated manually by renaming directory in the Steam game folder.
Each main category (to date: Any%, True Ending, 100%) has been split into two subcategories: "Unrestricted" (default), corresponding to the runs previously submitted to that category; and "Jumpless".
The misc. category "Min. Jumps" has been archived, and the corresponding "0 Jumps" runs hav