Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
/ TABS-Multiplayer Public archive

Totally Accurate Battle Simulator Online Multiplayer

License

Notifications You must be signed in to change notification settings

Ceiridge/TABS-Multiplayer

Repository files navigation

TABS-Multiplayer

Currently not working, because I'm too lazy to update

A multiplayer mod for the Totally Accurate Battle Simulator (Totally Accurate Battle Simulator Online Multiplayer)

Warning: This mod is very unstable and may contain a lot of bugs. The game experience might also not correspond to your expectations. MacOS and Linux is not supported!

Special thanks to MonoMod

Video Tutorial

How To Install

Create a new issue or add me on Discord (Ceiridge#3057) for some installation help/general questions (Issues are preferred!).

WARNING! UNINSTALL BEFORE UPDATING!!!

  1. Close TABS
  2. Download the latest release zip and extract it in a new folder somewhere
  3. Locate your TABS folder (Steam->TABS->Properties->Files->Locate Files)
  4. Copy the path (should look similar/equal to this: C:\Program Files (x86)\Steam\steamapps\common\Totally Accurate Battle Simulator)
  5. Run modify.bat and paste the path, press ENTER
  6. Open the TABS folder again, then open TotallyAccurateBattleSimulator_Data, then open Managed
  7. Copy the Assembly-CSharp.dll from the folder you created earlier and paste & replace it in the TABS folder you've just navigated to
  8. Copy the TABS-Multiplayer-UI.exe from the folder you created earlier into the game's root directory (the folder you opened at the beginning, near the TotallyAccurateBattleSimulator.exe)
  9. Run TABS-Multiplayer-UI.exe to make sure, no AV interferes with the program, then close it again! (Especially if you have Avast or Avira and you are experiencing problems, you can add it to the exemptions there)
  10. Open your advanced firewall settings and add a new inbound rule that allows every TCP + UDP 8042 connection
  11. Run the game

How To Play

  1. Open TABS
  2. Click OK on the welcome message and wait through the loading screens
  3. If you want to be the host: Port-forward the port 8042 (TCP + UDP) in your router settings; As the opponent, you need to connect to the WAN ip of the host (https://checkip.amazonaws.com) (needs to be opened in the host's browser)
  4. As a hoster, press Host, as an opponent, press Connect in the multiplayer UI
  5. Make sure not to play in fullscreen
  6. Close the You can now start a sandbox game dialog (as the host)
  7. As the host, start a sandbox game with your favorite map. The opponent will load the same one
  8. Place your units until the host presses Start
  9. A screenshare-window will overlap the TABS window that streams the host's TABS window (This is why I recommend that the player with the best internet connection should be the host)

How To Update

  1. Uninstall
  2. Install

How To Uninstall

  1. Close TABS
  2. Check TABS for errors (Steam->Tabs->Properties->Files->Check for errors)
  3. Delete the TABS-Multiplayer-UI.exe file in the game's directory (optional)

How To Mod The Mod

  1. Clone the repository
  2. Change the location of the references to the ones on your computer
  3. Copy the dlls of MonoMod into the bin\Release folder (create the folder at first if necessary)
  4. Copy the Assembly-CSharp.dll from the game's directory in there, too (I suggest you to set the reference to there)
  5. Make your changes
  6. Change the output type to Release
  7. Execute MonoMod.exe Assembly-CSharp.dll in a command prompt
  8. Copy the MONOMODDED_Assembly-CSharp.dll back to the game's directory and rename it to the original
  9. Copy the TABS-Multiplayer-UI.exe from the UI-project bin\Releases into the game's root directory
  10. Test the game
  11. Make a pull request :)