BETA BUILD. Verbose logging is on: send mecmp.log with any bug report.

MECMP - Mirror's Edge Catalyst multiplayer (public beta)
=======================================================

INSTALL
1. Unzip this folder anywhere (not inside the game folder is fine).
2. Run mecmp_inject.exe, before or after starting Mirror's Edge Catalyst. It waits out the
   activation window and loads the mod into the game itself, then says so. A log, mecmp.log, is
   written next to mecmp.dll; the first run also creates mecmp.ini there.
3. If the game runs as administrator, run mecmp_inject.exe as administrator too.
4. Load into free roam.

Without the injector (optional): copy version.dll and mecmp.dll into the game's folder, the one
with MirrorsEdgeCatalyst.exe, and start the game as usual. version.dll loads mecmp.dll with the game.
The log and mecmp.ini are then in the game's folder. Remove both files to go back to normal.

PLAY
- Press INSERT (or click both sticks on a gamepad) for the MECMP menu.
  No Insert key? Open mecmp.ini next to the game and set menu_key to another key
  (e.g. menu_key=F8 or menu_key=M). Controls tab: any key or mouse button for anything.
- Session tab:
  * Host a session: you get a join code (e.g. 2HMAS-W9ENR). Send it to your friends.
  * Join: paste a friend's join code, or a server's address, and press Join.
  * Servers: add a server's address to see its name, players and ping, and join it.
  * Leave: go offline again. The mod starts offline; nothing is sent until you host or join.
- Enter opens the chat. Markers: tap V to place one, hold V for the marker wheel.
- Double tap X removes the marker you look at, hold X removes all of yours. C answers another
  player's marker (hold for the answers wheel). B places a marker the other way, hold Y to hide or
  show the overlay. Q and E switch wheel while the marker wheel is open.
- Hold T for the players panel: right click a name to go to that player; click names to pick them
  and press Summon picked, or Summon everyone. Those summoned get a marker and a panel: hold 1
  to go, hold 2 to say no. The host can also pull in players who allowed it (You tab: Allow being
  pulled in). After a summon took you somewhere, hold 2 for 3 seconds within a minute to go back, or
  hold 1 to hide that.
- Other tabs: Players (list, Go to, summon, Mumble voice), You (your look, privacy), Markers, Display
  (sizes, what is shown).
- Keys and gamepad buttons can be changed on the Controls tab (the middle button and Mouse 4 and 5 can be bound too).

HOSTING
The mod asks your router to open UDP port 47800 (UPnP), and also registers with the community server
for hole punching: when a friend joins with your code, the server introduces you to each other and the
game connects directly, which works on most home routers without opening anything. If neither works
(some mobile and carrier networks), forward UDP 47800 to your PC by hand, or let a friend host, or use
a dedicated server. ([net] rendezvous in mecmp.ini; empty turns hole punching off.)

DEDICATED SERVER
mecmp_server.exe runs a session without the game (Windows; a Linux build is in the release too).
  mecmp_server.exe --name "My server" --port 47800
See docs/SERVER.md on the project page for options, bans and running it on a VPS.

VOICE
Positional voice works through Mumble (www.mumble.info) with its Link plugin and Positional
Audio turned on. Everyone joins the same Mumble server. The menu shows whether it is working.

GOOD TO KNOW
- Everyone needs the same MECMP version.
- The mod does not touch the game's online services, Denuvo or the EA app. The one exception is the
  opt-in share_profile setting (off by default): then your EA online id and profile name go to the other
  players in your session, in the clear, so their maps can show your Runner Tag.
- Traffic is not encrypted: only play with people and servers you trust.
- Problems? Send mecmp.log (and mecmp.prev.log after a crash) with your report.

Project page, source and issues: https://github.com/CodeNameMeteor/mecmp
MIT licence (see LICENSE). Uses Dear ImGui (see THIRD_PARTY_NOTICES.md).
