overload-development-community / olmod

A mod for the game Overload that enhances the multiplayer experience.
https://olmod.overloadmaps.com
MIT License
32 stars 15 forks source link

olmod 0.5.13 - Overload mod

Community mods for Overload

Overload is a registered trademark of Revival Productions, LLC. This is an unaffiliated, unsupported tool. Use at your own risk.

How to run

What does it do

Linux

Build the shared object library:

$ cd linux
$ make olmod.so

Build the GameMod.dll file containing the game logic (requires the mcs compiler, usually found in packages mono-dev or mono-mcs):

$ cd linux
$ export OLPATH=/path/to/your/Overload/installation
$ make GameMod.dll

Please note that you will need the Mono C# compiler for this to work.

Mac OS

Build the dynamic library:

$ cd linux
$ make olmod.dylib

Build the GameMod.dll file containing the game logic (untested):

$ cd linux
$ export OLPATH=/path/to/your/Overload/installation
$ make GameMod.dll

Please note that you will need the Mono C# compiler for this to work.

How does it work

The regular Overload.exe just runs UnityMain from UnityPlayer.dll. The replacement olmod.exe also runs UnityMain, but intercepts calls from Unity to the mono C# engine to also load GameMod.dll. The file GameMod.dll contains a C# class that uses Harmony to modify the game scripting code in memory.