Built on the Code · by Zhuagenborn

Plants vs. Zombies Online Battle

Plants vs. Zombies

A mod that adds two-player online battle to Plants vs. Zombies, one side as plants and the other as zombies, via DLL injection.

Origin
PC (classic)
Runs on
WindowsLinux
Tags
c++multiplayerneeds-original-game
627stars · GitHub 56 forks
Zhuagenborn/Plants-vs.-Zombies-Online-Battle ↗

Sign in to vote

This project adds online multiplayer to Plants vs. Zombies using reverse engineering, inline hooks and DLL injection. Two players compete over the network, one defending as the plants and the other attacking as the zombies.

It only works with the Chinese 1.0.0.1051 version of the game, identified by the executable's MD5. You build two DLLs, plant.dll and zombie.dll, with Visual Studio 2022 and CMake, copy them to the game folder and inject them at startup. It targets Windows.

Highlights

  • Plant side starts as the server and the zombie side as the client
  • Online play happens in the I, Zombie Endless level, converted into a networked mode
  • PowerShell script provided to start an online game
  • IPv4 by default, with an optional IPv6 build
  • Includes a suggested DLL injector tool

If you like this

Decomp · PC (classic) Plants vs. Zombies Decompilation Plants vs. Zombies Decompilation of the PC game Plants vs. Zombies, continuing an earlier project by kopie with fixes checked against a retail binary. 🔥 0🧊 0 117
Built on the Code · N64 sm64coopdx Super Mario 64 Online multiplayer for the Super Mario 64 PC port that synchronizes enemies and events, with a Lua modding API. 🔥 0🧊 0 1.4k
Built on the Code · GBA pokeemerald-expansion Pokémon Emerald GBA ROM hack base built on pret's pokeemerald that adds hundreds of features from the core Pokémon games; not playable by itself. 🔥 0🧊 0 881
Built on the Code · Mega Drive Sonic 3 A.I.R. Sonic 3 & Knuckles Source code for Sonic 3 - Angel Island Revisited, a fan remaster of Sonic 3 & Knuckles, and the Oxygen Engine behind it. 🔥 0🧊 0 653