Plants vs Zombies: Replanted Support for Vortex
This extension adds support for Plants vs Zombies: Replanted to Vortex Mod Manager, enabling you to easily automate installation of mods for Plants vs Zombies: Replanted without having to worry about where the files are supposed to go, etc.
This extension requires Vortex. To install, simply search the game name in Vortex and click "manage". Alternatively, within Vortex, go to the Extensions tab, click "Find More" at the bottom of the tab, search for "Plants vs Zombies: Replanted" and then click Install.
You can also manually install it by downloading the archive file from the Latest Release and dragging it into the "drop zone" labelled "Drop File(s)" in the Extensions tab at the bottom right.
Afterwards, restart Vortex and you can begin installing supported Plants vs Zombies: Replanted mods with Vortex.
This extension requires you to install MelonLoader for the game. A guide on how to do that can be found here.
To build the extension from source:
-
Install prerequisites
- Make sure you have Node.js and npm installed.
-
Clone the repository
git clone https://github.com/Der-Floh/Vortex-PvZRe-Support.git cd Vortex-PvZRe-Support -
Install dependencies You can either use the helper script:
npm run install-deps
or run the equivalent command directly:
npm install --ignore-scripts
-
Build the extension
npm run build
This compiles the TypeScript source (including
index.ts) into JavaScript and outputs it todist/index.js, which is the file Vortex uses. -
Package the extension (optional) If you want a distributable
.ziparchive (like the ones used for releases), run:npm run package
This will:
-
Build the project (if not already built),
-
Collect
dist/index.js,gameart.jpg, andinfo.jsoninto a temporary.packdirectory, -
Create a zip file at:
dist/pvzre-support-1.0.0.zip(the name is based on the
nameandversioninpackage.json).
-
You can then use that .zip file as the extension archive in Vortex, or for publishing new releases.