Repository navigation
MafiaCoop 0.14.0 (pre-release, fixes untested)
Pre-releasePre-release. The fixes are not yet tested in game. These are fixes from the first test of 0.13.0 on two PCs. Every session now also writes a detailed sync record, so the next test can be measured. Read the known issues before you play.
Download MafiaCoop-0.14.0.zip, extract it anywhere (not into the game folder) and run MafiaCoop.exe. The zip's README.txt covers requirements, hosting and joining, settings, the optional start-from-Steam mode and uninstalling. MafiaCoop-0.14.0-symbols.zip holds the PDBs and is only needed to read crash dumps. Both players should use 0.14.0. The messages are the same as 0.13.0, so a 0.13.0 player can still connect, but only 0.14.0 has the fixes and writes the records.
Requirements
- Windows 10/11, 64-bit
- Mafia: Definitive Edition that you own on Steam, Steam build 16502642 (the current one); Steam running
- Everyone in a session on the same mod version; joining by IP needs UDP port 27960 open on the host
Fixed (from the 0.13.0 test)
- Cars didn't roll on the other screen. Every car the other player drove stopped using its own physics within seconds and went back to being moved every frame.
- The copy's engine is now started and kept running.
- The copy is given its speed back after every correction.
- If it still gets stuck, its physics is tried again after 5 to 40 s instead of never.
- The log checks three times per car whether moving a car stops it.
- Running and sprinting players were up to 3 m ahead of their character. The game's AI sprint is slower than a player's.
- The character now runs up to 1.8x its normal speed and learns a slow gait faster.
- When even that isn't enough, the missing speed is made up with small steps, so it keeps up instead of being put back every few seconds.
- The car door animation was cut short after 1 s. A setting was read before it was set; the character now gets the full 4 s.
- Characters thrown out of seats still happens, but every time it does the log now says how.
New: sync records
- Every co-op session writes
logs\trace\mafiacoop-<date>-<time>.trace. It records:- every position sent and received
- what the mod decided for every character and car
- what the game really did, such as the car controls, engine, gear and front wheel angle
- NPC positions
- That's about 250 MB an hour; only the newest 20 files are kept.
- The last five logs are kept instead of one.
- After a test, zip the whole
logsfolder on both PCs and send both.
Known issues
- None of these fixes have been tried in game yet.
- Lights, horn, siren and indicators aren't synced.
- Enemies only a friend's game spawned (he got somewhere first) are his alone. The host doesn't see them.
- Mission cars partly done: handing the car back when the host gets out wasn't checked. Ambient traffic, pedestrians and police are each player's own.
- Failed missions still take two loads. A mission timer running out wasn't tested.
- Story co-op tested in a few chapters only (Omerta, Taxi, Bon Appetit and a few chapter starts)
- The co-op panels weren't tried with a physical gamepad.
- No automatic reconnect after a disconnect
- Punches are disabled by the game near Salieri's bar and at some checkpoints
Steam invites between two PCs work (checked in the 0.13.0 test).
Unofficial fan-made mod, not affiliated with 2K, Hangar 13 or Valve. Changes: CHANGELOG.md.