.vscode | ||
images | ||
overlay/Elo | ||
WBM | ||
.gitignore | ||
LICENSE | ||
README.md | ||
WBM.sln |
War Brokers Mods (WBM)
IF YOU USE THIS TO DEVELOP HACKS YOUR MOM IS GAY.
War Brokers Mods, AKA WBM is a unofficial mod for War Brokers.
Installation
Only Windows, MacOS, and Linux are officially supported. It is Not compatible with browsers.
WARNING
I do not upload WBM anywhere other than github. If you find it elsewhere, IT IS NOT UPLOADED BY ME.
Installing BepInEx
-
Download the latest version of BepInEx version 5 from here.
Platform Filename Linux & MacOS BepInEx_unix_5.Y.Z.W.zip Windows BepInEx_x86_5.Y.Z.W.zip -
Extract (Unzip) the contents to where the game executable is located.
-
If you are using Linux or MacOS, you must also perform the following setup:
https://docs.bepinex.dev/v5.4.11/articles/advanced/steam_interop.html
-
[ IMPORTNT ] Run the game at least once to generate the plugins folder as well as other necessary files.
Installing WBM
- Download the latest version of WBM (a .dll file).
- Put the dll file in the
<Game folder>/BepInEx/plugins
folder.
Setting up OBS
-
Create a new browser source
-
Check the
Local file
checkbox and set the file toindex.html
of the overlay you want to use. Width and height of the overlays can be found here
Updating
Simply replace the existing dll file with the latest version.
Usage
- Hold down LCtrl or RShift to show shortcuts in-game.
Function | Shortcut |
---|---|
Move GUI by one pixel at a time | LCtrl+Arrow |
Move GUI (long press) | LCtrl+LShift+Arrow |
Reset GUI position | LCtrl+R |
Toggle All GUI visibility | RShift+A |
Toggle Player statistics visibility | RShift+P |
Toggle Weapon statistics visibility | RShift+W |
Toggle Team statistics visibility | RShift+L |
Toggle Elo visibility on leaderboard | RShift+E |
Squad server visibility | RShift+S |
Testing servers visibility | RShift+T |
Toggle shift to crouch | RShift+C |
Reset everything | RShift+R |
Features
in-game overlays
-
Tab Leaderboard
- show kills Elo
-
Player statistics
- KDR
- kills Elo
- kills Elo earned/lost
- games Elo
- games Elo earned/lost
- total damage dealt
- longest kill
- points earned
-
Weapon statistics
- total headshot count
OBS overlays
- kills and games Elo (size: 355, 140)
Controls
- Shift to crouch
Building
If you are a casual user, this is completely unnecessary. This is only recommended for developers.
Assumes that working directory is project root.
-
Install .NET sdk.
MacOS:
https://docs.microsoft.com/en-us/dotnet/core/install/macos
Windows:
https://docs.microsoft.com/en-us/dotnet/core/install/windows
Linux:
https://docs.microsoft.com/en-us/dotnet/core/install/linux
Arch linux:
pacman -S dotnet-sdk
-
Clone this repository.
-
Copy the following DLL files from
<WB install path>/war_brokers_Data/Managed
(in WB) to./WBM/dll
. Create directory if it does not exist.Assembly-CSharp.dll
Assembly-CSharp-firstpass.dll
UnityEngine.*.dll
-
Run the build command.
Build in debug mode
dotnet build
Build in release mode
dotnet build --configuration Release
-
The built dll can be found at:
./WBM/bin/Debug/net48/WBM.dll
./WBM/bin/Release/net48/WBM.dll
Bug reports / Suggestions
If you have a cool idea that will make WBM better, or if WBM misbehaves in any way (no matter how minor the problem is), feel free go to the Issues page and open a new issue!
Contributing
- use GH pull request
- use vscode and install recommended extensions. This is required for code formatting.
Special thanks
- inorganik for countUp.js
- [l3lackShark] for inspiration
- jassper0 for Elo overlay design
License
This project is licenced under the MIT License.
Fonts:
- https://fonts.google.com/specimen/Architects+Daughter : OFL (used in WBM logo)