About this mod
All the necessary files for modding using the game's raw files rather than PAKs.
- Requirements
- Permissions and credits
- Donations
Mods that replace main.pak are easy enough to install, but present 2 major issues:
- PAK mods are incompatible with each other.
- Creating PAK mods requires a tool to unpack and repack main.pak.
However, there is another way to install mods for Plants vs. Zombies.
~ How it works
When the game is unable to locate main.pak in its root folder, it will instead search for the game's unpacked files.
Therefore, by moving main.pak elsewhere but extracting its contents into the game's root folder, the game will still be able to function perfectly fine, except now you can easily edit any of the game's raw files directly without having to repack any PAK.
~ Why you should use this method
By replacing main.pak with various folders containing the game files, it becomes much easier to replace individual files without affecting others.
Players: Essentially, this allows for much greater mod compatability, no longer restricting you to one mod at a time.
Modders: For you, this also means that you don't need to worry about repacking any PAKs, making it much quicker to test mods too.
~ How to get set up
Simply download the files from this page and extract them into your PvZ root folder. Then, either move the main.pak out of the game's root folder, or rename it to something else, like "Xmain.pak".
Your folder set-up should be looking something like this once you've installed the files.
Modders: You will need to set up your mods so that the files you upload follow the correct file structure. See this mod's files for an example.