Hacking guide

From Plants vs. Zombies Wiki
Jump to navigation Jump to search

This guide will assist you in hacking Plants vs. Zombies.

Disclaimer

Plants vs. Zombies Wiki cannot be held responsible for a hack or change to one's copy of Plants vs. Zombies which results in the corruption of the game or its save files. By using this guide, you agree to hold Plants vs. Zombies Wiki harmless in the event that damage is done to your copy of the game, your device(s), or anything else that is pertinent.

Please note, hacking on iOS or Android by jailbreaking or rooting the device will make your device void from any support from Apple or Google. Such actions cannot usually be undone. Jailbreak or root at your own risk.

Plants vs. Zombies Wiki cannot and will not support hacks that unlock paid content (such as premium plants, bundles, premium packs, or gems) for free in Plants vs. Zombies 2, its Chinese version, Plants vs. Zombies Heroes, or any other game not mentioned. This moratorium also applies to hacks that attempt to cheat in Multiplayer in Plants vs. Zombies Heroes (like unlimited sun/brains/health, hacking to level up, or using a hacked deck). Any hacks present for these games on Wiki grounds will not be tolerated, are punished by an indefinite block of the user who published it, and are to be removed immediately.

Hacking Plants vs. Zombies Heroes can lead to an account ban to your Facebook or EA account. Plants vs. Zombies Wiki cannot be held responsible for one hacking Plants vs. Zombies Heroes and getting banned for following a hack for the game present on Wiki space.

Before you start

  • Create backup files, in case your hacks go wrong and crash Plants vs. Zombies. See how by going to the Backup guide.
  • Download Cheat Engine, or PvZ Toolkit
  • Open both Cheat Engine/PvZ Toolkit and Plants vs. Zombies.
  • Choose any game mode with Choose Your Seed and start the game.
  • Go to Cheat Engine, click at the blinking computer icon.
  • Choose "popcapgame1.exe" or "PlantsVsZombies.exe", depending on what your file is called.
  • Start your hacking type below.

Please note that some of these hacks will not work on the Steam or Origin version of Plants vs. Zombies. This may not also work for modified Plants vs. Zombies that affect gameplay or more features. Examples include PvZ: Plus or etc,.

Plants vs. Zombies

Unlimited Sun

Requirements:

HackedLastStand.PNG

Steps:

Method 1

  1. Type the number of sun you have in the value box.
  2. Click "First Scan".
  3. Go to Plants vs. Zombies and increase or decrease your sun (Example: Get some sun from your Sunflowers).
  4. Go back to Cheat Engine, type the number of sun you have left in the value box.
  5. Click "Next Scan"
  6. Double-click at the address found at the left table.
  7. Double-click at the number in the Value row in below table.
  8. Type the amount of sun you want.
  9. Click at the box in Active row.
  10. COMPLETE.

Warning:

  • Please delete the address at the below table after finishing your game or Plants vs. Zombies will not open for a certain time. Restart your computer if you forgot to do this.
  • If there are two or more addresses, repeat step 3-5.

Method 2

  1. Click "Memory View".
  2. Right-click at the address and choose "Go to Address".
  3. Type "00494445". Then click OK.
  4. Make the Assembler Code "mov [edi+00005578],0001869F". And click OK.
  5. There is a message. Click Yes.
  6. DONE.

Your sun amount says 0 but it's actually unlimited.

Method 3

  1. Go to the Resources Tab in PvZ Toolkit
  2. Insert how many sun you want in the textbox on the right of the word "Sunny"
  3. Click "Sun"
  4. DONE.

Growing Sun/Money

Requirements:

  • Cheat Engine
  • Plants vs. Zombies

The steps:

  1. Open any level and plant a Snow Pea (or any other plant, you just need to know its number) on land.
  2. Open Cheat Engine, click the glowing computer, and click popcapgame1 or PlantsVsZombies.exe. #Type 5 (a different value for other plants) in the value bar then click First Scan.
  3. Dig up the Snow Pea (or the plant you planted) and plant a Wall-nut in the same square you planted the Snow Pea.
  4. Write 3 in the value bar and click Next Scan.
  5. Double click all the results.
  6. Change the value of every address with 1 for the sun. Replace with 38 for growing money.

Unlimited Coins

This hack is for those players who lack coins.

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Steps:

  1. Divide your coins amount by ten and enter it in the value box. (Example: if you have 38,960 coins, you should enter 3896 in the value bar.)
  2. Click "First Scan".
  3. Spend some of your coins on something in the shop. (Example: Buy Fertilizer.)
  4. Divide the number of coins you left by ten and enter it in the value box. (Example: After buying fertilizer, you have 38,210 coins, so you should type 3821 in the value box.)
  5. Click "Next Scan".
  6. Click on the address shown on the left.
  7. Double-click at the number in the value row in the below table.
  8. Type how many coins do you want when the dialogue comes up.
  9. DONE.

Method 2

  1. Go to the Resources Tab in PvZ Toolkit
  2. Insert how many coins you want in the textbox on the right of the word "Wallet"
  3. Click "Coins".
  4. DONE.

Warning: 

  • Please delete the address at the below table after finishing game or Plants vs. Zombies will not open for a certain time. Restart your computer if you forgot to do this.
  • If there are two or more addresses, repeat step one to five.

Zero Recharge

This hack is for the impatient hacker. This hack removes the recharge time for your seed packets, allowing you to plant them as often as you want.

Old PC version

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Steps:

  1. Click "Memory View".
  2. Right-click at the address and choose "Go to Address".
  3. Type "0048728C".
  4. Double-click at the colored text.
  5. Change "01" to "200" behind the comma.
  6. Click OK.
  7. There is a message says the generated code is 7 byte long and the opcode is 4 bytes long, click yes to remove "nop" from "00487290", and "00487292".
  8. Done.

Special: This hack will stay even after closing the Cheat Engine.

Game of the Year (GOTY) Edition

Method 1

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Steps:

  1. Click "Memory View".
  2. Right-click at the address and choose "Go to Address".
  3. Type "00491E4C". If colored text isn't [edi+24], go to address 004958BC".
  4. Double-click at the colored text.
  5. Change "24" to "48". (Or change inc to add, add comma and 200 at the end of the code also works.)
  6. Click OK.
  7. DONE.

If typing in [edi+64], this will stop your plants to recharge.

Method 2
  1. Click "Memory View".
  2. Right click at the address and choose "Go to address".
  3. Type "00491E55".
  4. Double click on the colored text.
  5. Change the address code to "nop". (Original text is "jle 00491E6B")
  6. There is a message says "The generated code is 1 byte(s) long,but the selected opcode is 2 bytes long! Do you want to replace the incomplete opcode(s) with NOP's?"; click "Yes" to replace "00491E56" with "nop".
  7. DONE.

Free Plants

Plants do not cost any sun. Take note that method only works on the GOTY Edition.

Requirements:

  • Cheat Engine
  • Plants vs. Zombies

Steps:

  1. Click "Memory View".
  2. Right click at the address and choose "Go to address".
  3. Type "0041E846".
  4. Double click on the colored text.
  5. Change the address code to "nop".
  6. There is a message says the generated code is one byte long and the opcode is two bytes long, click yes to replace " 0041E846 " to "nop".
  7. DONE.

Automatic One-hit KO's

When a Projectile hits a Zombie, that Zombie dies instantly.

Click Yes if there is a message after changing an Assembly Code.

Requirements:

  • Cheat Engine
  • Plants vs. Zombies

Old PC version

Steps:

  1. Click "Memory View".
  2. Right-click at the address and choose "Go to Address".
  3. Type "0053130F". Then click OK.
  4. Double-click the selected Address
  5. Change the selected Address' Assembler Code to "sub edi,[esp]".
  6. Click OK.
  7. Right-click at the address and choose "Go to Address".
  8. Type "00531053". Then click OK.
  9. Double-click the selected Address.
  10. Change the selected Address' Assembler Code to "jmp 0053105e".
  11. Click OK.
  12. Right-click at the address and choose "Go to Address".
  13. Type "0053105E". Then click OK.
  14. Double-click the selected Address.
  15. Change the selected Address' Assembler Code to "sub ecx,[ebp+000000d0]".
  16. Click OK.
  17. Right-click at the address and choose "Go to Address".
  18. Type "00530CA1". Then click OK.
  19. Double-click the selected Address.
  20. Change the selected Address' Assembler Code to "mov [esi+000000dc],eax".
  21. Click OK.
  22. DONE.

NOTE: Shields or Headwear will require an extra hit in:

Wall-nut Bowling, if a Newspaper Zombie is hit with a Wall-nut, the newspaper will not disappear but if you use an Explode-o-nut or a Giant Wall-nut, it will die.

GOTY version

Steps:

  1. Click "Memory View".
  2. Right-click at the address and choose "Go to Address".
  3. Type "00541CDA". Then click OK.
  4. Double-click the selected Address.
  5. Change the selected Address' Assembler Code to "sub ebp,ebp".
  6. Click OK. (When given a prompt box "The generated code is 2 byte(s) long, but the selected opcode is 4 byte(s) long! Do you want to replace the incomplete opcode(s) with NOP's?", select "Yes".)
  7. Right-click at the address and choose "Go to Address".
  8. Type "00542223". Then click OK.
  9. Double-click the selected Address.
  10. Change the selected Address' Assembler Code to "jmp 0054222d".
  11. Click OK.
  12. Right-click at the address and choose "Go to Address".
  13. Type "00542214". Then click OK.
  14. Double-click the selected Address.
  15. Change the selected Address' Assembler Code to "nop".
  16. Click OK. (When prompted with "The generated code is 1 byte(s) long, but the selected opcode is 2 byte(s) long! Do you want to replace the incomplete opcode(s) with NOP's?", select "Yes".)
  17. Right-click at the address and choose "Go to Address".
  18. Type "0047169B". Then click OK.
  19. Double-click the selected Address.
  20. Change the selected Address' Assembler Code to "add [eax+40],edx".
  21. Click OK.
  22. DONE.

NOTES:

Free Zombies

  1. Click "Memory View".
  2. Right-click at the address and choose "Go to Address".
  3. Type "0041E844". Then click OK.
  4. Double-click the selected Address.
  5. Change the selected Address' Assembler Code to "add esi,ebx".
  6. Click OK.
  7. DONE.

Plants die instantly

This makes the plants so weak, one bite is enough to kill them, making it good for a challenge or as a cheat for all the I, Zombie levels.

Click Yes if there is a message after changing an Assembly Code.

Old PC Version

  1. Right-click at the address and choose "Go to Address".
  2. Type "0052FCF0". Then click OK.
  3. Double-click the selected Address.
  4. Change the selected Address' Assembler Code to "mov [esi+40],00000000".
  5. Click OK.
  6. DONE.

GOTY Version

  1. Right-click at the address and choose "Go to Address".
  2. Type "00540680". Then click OK.
  3. Double-click the selected Address.
  4. Change the selected Address' Assembler Code to "mov [esi+40],00000000".
  5. Click OK.
  6. DONE.

Invincible zombies

This can make zombies unkillable. However, Chompers can kill them. This is a good cheat for I, Zombie levels.

  1. Right-click at the address and choose "Go to Address".
  2. Type "00541CDA". Then click OK.
  3. Double-click the selected Address.
  4. Change the selected Address' Assembler Code to "add ebp,[esp+20]".
  5. Click OK.
  6. Right-click at the address and choose "Go to Address".
  7. Go to 00542223
  8. Change the Assembler Code to jmp 0054222d
  9. Click OK.
  10. Right-click at the address and choose "Go to Address".
  11. Go to 00542214
  12. Change the Assembler Code to nop
  13. Click OK.
  14. DONE.

NOTE: This cheat is not recommended outside of the I, Zombie levels, as this cheat can make the other levels unbeatable (unless you have Chompers).

Invincible Plants

This hack makes your plants invulnerable to damage.

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Old PC Version

Steps:

  1. Click "Memory View"
  2. Right-click at the address and choose "Go to Address".
  3. Type: "0052FCF0"
  4. Right-click at the address.
  5. Change the selected Address' Assembler Code to "nop".
  6. Click OK.
  7. DONE.

GOTY Verison

Steps:

  1. Click "Memory View"
  2. Right-click at the address and choose "Go to Address".
  3. Type: "00540680"
  4. Click OK.
  5. Double-click the Opcode for the address highlighted. Change the selected Address' Assembler Code from "add dword ptr [esi+40], -04" to "nop".
  6. Click OK. When prompted with a warning message, proceed.
  7. DONE.

Special: This hack will remain even after closing the Cheat Engine.

WARNING: This only prevents damage from zombies eating plants. It provides no protection against other ways of damaging or destroying plants, such as from Zombonis, Catapult Zombies, Gargantuars and Dr. Zomboss. Also, Plants will still be vulnerable to Peashooter Zombie and Gatling Pea Zombie's peas. To make plants invulnerable to their peas, see below.

Note: This cheat will make most I, Zombie levels impossible.

Unhittable Plants in ZomBotany

Plants cannot be hit by Peashooter Zombie and Gatling Pea Zombie's peas regardless of the plant's height. This applies to both mini-games ZomBotany 1 and 2.

NOTE: This was done in the GOTY Version.

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Steps:

  1. Click "Memory View"
  2. Right-click at the address and choose "Go to Address".
  3. Type "00471686"
  4. Right-click at the address.
  5. Change the selected Address' Assembler Code to "jmp 004716fd".
  6. Click OK.
  7. DONE.

Instant Win in Beghouled

Your first match will make the trophy appear. This applies to both mini-games Beghouled and Twist.

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

All versions

Steps:

  1. Take the value 0.
  2. Click first scan.
  3. Make a few matches.
  4. Take the new value after the matching is complete then click next scan.
    1. If there is more than one address, repeat step 4 until there is only 1 address.
  5. Extract the address
  6. Change the value to 75 then make a match.
  7. DONE!

NOTE: If you do not want to repeat the procedure, fix the value before making a match.

GOTY Version

Steps:

  1. Click "Memory View"
  2. Right-click at the address and choose "Go to Address".
  3. Type "00423E40".
  4. Right-click at the address.
  5. Change the selected Address' Assembler Code to "nop".
  6. Click OK.
  7. On the message, click yes.
  8. COMPLETE.

Instant Zen Garden Plant Growth

This is a hack for those who don't want to wait for their Zen Garden plants to grow.

Requirement: Plants vs. Zombies only.

Steps:

  1. Open Plants vs. Zombies.
  2. Double-click at the time on your computer (located at the taskbar, below-right)
  3. Choose the next day from the current day. (E.g., today is 15 so choose 16)
  4. COMPLETE.

WARNING: If you change your computer's time too often, your computer's time will not change while it is off.

Special: If your plants grow in mature levels, if you choose the previous day, its level is still the same.

New Zen Garden Plants

This hack is also popular with people who are bored with their Zen Garden Plants.

Requirement:

  • Zen Garden Editor (can be found at mediafire.com)
  • Plants vs. Zombies

Steps:

  1. Buy Marigold Sprout or obtain it from games.
  2. Close Plants vs. Zombies
  3. Go to Plants vs. Zombies file.
  4. Go to userdata file.
  5. Right click at the user1 or other name. (E.g.: If you're the second user, choose user2.)
  6. Go to Open with and go to Browse...
  7. Find ZGH.
  8. Use ZGH by typing the alphabet based on the option above.
  9. Press Enter.
  10. Close the ZGH After using it.
  11. Open Plants vs. Zombies back.
  12. Go to Zen Garden
  13. DONE.

NOTE:

  • The color will not affect all plants (expect Imitated). Only Tall-nuts, Lily Pads and Peashooters will be affected.
  • For plants option, There is no Peashooter. If you want to choose Peashooter, type 0

Unlock Canceled mini-games

Main article: Limbo Page.

Squirrel

Main article: Squirrel.

In this mini-game, the player must dig up Wall-nuts to find seven squirrels. However, there is a Zombie also in one of the Wall-nuts.

Art Challenge Wall-nut

Main article: Art Challenge Wall-nut.

Fill outlined space with Wall-nuts.

Sunny Day

Main article: Sunny Day.

Usual play, but huge sun (giving you 50 sun units) is falling instead of normal sun.

Unsodded

Main article: Unsodded.

Usual play, but the top and bottom lanes cannot be planted on (but zombies will still enter those lanes)

Big Time

Main article: Big Time.

Usual play, Sunflower, Wall-nut, and Marigold will become bigger.

Art Challenge Sunflower

Main article: Art Challenge Sunflower.

Fill outlined space with Starfruits, Wall-nuts, and Umbrella Leafs to create Sunflower's pattern.

Air Raid

Main article: Air Raid.

Destroy all Balloon Zombies in Fog stage.

Ice Level

Main article: Ice Level.

A game that is supposed to take place in the snow and Zombie Yeti would appear. Unfortunately, it is unplayable.

High Gravity

Main article: High Gravity.

Usual play, become harder to attack because of too much gravity.

Grave Danger

Main article: Grave Danger.

Usual play, graves will appear at any time.

Can You Dig It?

Main article: Can You Dig It?.

Dig up Wall-nuts and replace them with Peashooters.

Dark Stormy Night

Main article: Dark Stormy Night.

Usual play, unable to see in stormy weather (Same as Level 4-10, but the plants and zombies are different).

Bungee Blitz

Main article: Bungee Blitz.

Usual play (Like in Level 5-5).

Survival: Day (Endless)

Main article: Survival: Day (Endless).

Usual play (Same as in Survival: Pool (Endless))

Survival: Night (Endless)

Main article: Survival: Night (Endless).

Usual play (Same as in Survival: Pool (Endless))

Survival: Fog (Endless)

Main article: Survival: Fog (Endless).

Usual play (Same as in Survival: Pool (Endless))

Survival: Roof (Endless)

Main article: Survival: Roof (Endless).

Usual play (Same as in Survival: Pool (Endless))

Some of them are not Mini-games. There are:

Name Description
Upsell Show the advertisement to buy the full version.
Zen Garden To Zen Garden
Tree of Wisdom To Tree of Wisdom

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Make sure first that you're in the main menu.

For version 1.0.0.1051

Steps:

  1. Go to Cheat Engine, click "Add Address Manually".
  2. Type "42DF5D" in Address box.
  3. Change type "4 Bytes" to "Byte".
  4. Click OK.
  5. Repeat the same step, but use "42DF5E" and "42DF5F". You don't need to change the type.
  6. After three of them are entered into the table at the bottom of the cheat engine window, change all of their values into "144"
  7. DONE.
GOTY version 1

Steps:

  1. Go to Cheat Engine, click "Add Address Manually".
  2. Type "430C80" in the Address box.
  3. Change "4 Bytes" to "Byte"
  4. Repeat the same step, but increase the last digit of "430C80" by one.
  5. After three of them are entered into the table at the bottom of the cheat engine window, change all of their values into "144"
  6. DONE.
GOTY version 2

Steps:

  1. Open Cheat Engine, click "Access Memory."
  2. Right-click anywhere, then say "Search For Address"
  3. Type in the box "430C80 (42SF5D For non-GOTY)" and press Enter.
  4. Select the topmost address, and select "replace with Address that does nothing"
  5. Press OK.
  6. DONE.

Special: This hack will remain after closing the Cheat Engine.

After that, click Mini-games, then click Limbo Page.

Note that sometimes with changed data it will crash so be sure you do this right.

Speed Hack

This speed hack will help to make games faster.

Requirement:

  • Plants vs. Zombies
  • Cheat Engine

Steps:

  1. Click "Enable Speedhack"
  2. Type 5 in the blank. (You may also move the slider all the way to the right so it says '5.00'.)
  3. Click Apply. Note: An easy speed to still be able to operate the game is 1.5-4.
  4. DONE.

Alternative Method:

  • Use "Speed Gear" instead of Cheat Engine Speedhack.

Fertilizer, Bug Spray or Tree Food Hack

This will control the amount of Fertilizer, Bug Spray, Chocolate or Tree Food you have.

Requirement:

  • Plants vs. Zombies
  • Cheat Engine

Steps

  • Find out how many Fertilizer/Bug Spray/Chocolate/Tree Food(+1000).
  • Type the value on the value bar.
  • Click First Scan.
  • Go back to game, use/buy Fertilizer/Bug Spray/Chocolate/Tree Food. Just make sure to change the number.
  • Type the number of Fertilizer/Bug Spray/Chocolate/Tree Food(+1000) you have now on the value bar.
  • Double click on the result (if more than one result, repeat the last two steps).
  • Change the value to the number of Fertilizer/Bug Spray/Chocolate/Tree Food(+1000) you want.
  • Check the X in the Frozen row.
  • Go back to your Zen Garden to check it out.
  • COMPLETE.

Alternate Way (Memory View):

Note: This was done in the GOTY Version.

Requirement:

  • Cheat Engine
  • Plants vs. Zombies

Steps (Fertilizer):

  • Click "Memory View".
  • Right-click at the address and choose "Go to Address".
  • Type "0052992B".
  • Right-click at the address.
  • Change the selected Address' Assembler Code to "nop".
  • Click OK.
  • On the message, click yes.
  • COMPLETE.

Steps (Tree Food):

  • Click "Memory View".
  • Right-click at the address and choose "Go to Address".
  • Type "0043018D".
  • Right-click at the address.
  • Change the selected Address' Assembler Code to "nop".
  • Click OK.
  • On the message, click yes.
  • COMPLETE.

Steps (Bug Spray):

  • Click "Memory View".
  • Right-click at the address and choose "Go to Address".
  • Type "00529A23".
  • Right-click at the address.
  • Change the selected Address' Assembler Code to "nop".
  • Click OK.
  • On the message, click yes.
  • COMPLETE.

Tree of Wisdom Height Hack

  • Buy Tree Food.
  • Go to the Tree of Wisdom.
  • Find the current height and click "First Scan".
  • Give the Tree of Wisdom Food.
  • Enter the new height in the Value Bar and click "Next Scan"
  • Repeat last two steps until there is only one value in the list.
  • Change size to whatever you want.
  • COMPLETE.

I, Zombie hack

Please visit I, Zombie hack or I, Zombie hack/Mac.

How to plant Cattail on the Ground and others

More cattails

Requirements:

  • Cheat Engine
  • Plants vs. Zombies

Steps:

  • Open Plants vs. Zombies and Cheat Engine
  • Put a Wall-nut in the ground
  • Type "3" in Hex Box
  • Click "First Scan"
  • Dig the Wall-nut, put the Cherry Bomb on that place
  • Type "2" in Hex Box
  • Click "Next Scan"
  • Repeat Step 2-7 until you get 1 address
  • Add the address and change the value into "16"
  • Then put the Cattail Seed on it.

Modify Art

Please visit Modify Plants vs. Zombies.

First Way

Requirements:

  • Plants vs. Zombies
  • Cheat Engine

Steps:

  • Open both Programs in the Requirements list.
  • Choose your seeds.
  • Go to Plants vs. Zombies Cheats (if you wanted to change seed packets).
  • Double-click on the plant's name in the top right dialog and change it to the plant you want.
  • DONE!

Second Way

Requirements:

  • Plants vs. Zombies
  • Cheat Engine

Steps:

  • Open both Programs in the Requirements list.
  • Choose your Seeds
  • Go to Plants vs Zombies Cheats
  • Click on "Random Seeds" and click V2
  • Go back to the game
  • Use arrow Keys to shift the seeds.

Warning: If Plants vs. Zombies Cheats program is open, the arrow keys will not work on any other things. Close the program to allow arrow keys to work for other programs.

Modding Plants using Cheat Engine

Please visit the plant transformations.

Imitater of Upgrade Plants

This will hack all upgrade plants into Imitater of them.

Note: This hack requires a hex editor.

Requirements:

  • Plants vs. Zombies
  • Hex Editor

Steps:

  • Open the game
  • Choose any level
  • Plant the upgrade plants as many as you want
  • Pause then go to Main Menu
  • Open Hex Editor
  • Choose your save data level (e.g. if your level Survival: Endless, choose "game1_13.dat", but if you user 2, you should choose "game2_13")
  • Find the code that looks like in the green area of this picture:
You should only change the green area of the code
  • Replace the code FF FF FF FF by 00 00 00 00
  • Then, click Save
  • Open the game again
  • Enjoy your plants!

NOTE: Sometimes this hack make the color of zombies change into Imitater color, but only the first time.

User File file format and edit

Please visit User File Format.

Whack-a-Zombie Pool and Roof

Requirement:

  • Plants vs. Zombies

Steps

  1. Play any pool/fog/roof mini-game. If you chose Last Stand, make the build and select "Start onslaught"
  2. Save and exit.
  3. Choose that file and rename it to game1_30
  4. Choose Whack-a-Zombie
  5. DONE!

Zen Garden Survival

Requirements:

  • Plants Vs. Zombies
  • Cheat Engine
  1. Open Cheat Engine, and click on ZomBotany.
  2. Type 16 in the value bar.
  3. Go to Wall-nut Bowling.
  4. Type 17 in it.
  5. Keep going back to ZomBotany and Wall-nut Bowling, typing in 16 and 17 respectively until you have one value.
  6. Go to Zen Garden. It should automatically change to 43.
  7. Change the value in the bar to 13.
  8. Your Zen Garden plants will act like they are actually in battle. Unfortunately, you can't plant any other plants.

Not very zen-like anymore, eh? 

Survival: Endless in different areas by renaming saved file

Survival: Endless can be played in different areas by renaming saved file. No need to use Cheat Engine.

  1. Pick plants in a Survival: Hard game and leave after starting it.
  2. Go to the userdata folder (C:\ProgramData\PopCap Games\PlantsVsZombies\userdata) and rename the saved file of a Survival: Hard game to Survival: Endless (game#_13).
    Survival: Day (Hard) - game#_6 (# is the user number so look for game1_6 if user 1)
    Survival: Night (Hard) - game#_7
    Survival: Pool (Hard) - game#_8 (not needed because Survival: Endless is in a pool setting)
    Survival: Fog (Hard) - game#_9
    Survival: Roof (Hard) - game#_10
    Survival: Endless - game#_13
  3. Go to Survival: Endless and play it.

Survival: Night Roof (Endless)

This cheat allows you to play Survival: Endless on the Roof during nighttime. There are two known methods of doing so.

Without external programs

This method can be achieved with just your computer's file directory.

  1. Play Dr. Zomboss's Revenge until you have 10 seed slots filled. This reduces the chance of your game crashing, though it is possible to have fewer seed slots filled.
  2. Exit the level. The data should be saved.
  3. Find where your game data is located. By default, it should be found in this order:
    1. Your hard drive.
    2. ProgramData
    3. Publisher File (for instances, I downloaded the game via a Safari Games disc so my folder would be named "Safari Games". Your file may be named differently.)
    4. PlantsVsZombies
    5. userdata
  4. Rename data game#_35 to game#_30. (# is your user number. If you did this under the first account created, it would be 1.)
  5. Access Whack a Zombie and attack Dr. Zomboss right away. Hit zombies until you have at least 350 sun.
  6. Now leave the level and go back to your userdata. Rename data game#_30 to game#_10. (or any number from 6 to 10)
  7. Head to the Survival: Roof (Hard) (or the Survival Hard mode that you picked) and play it until flag 8.
  8. Leave the level and rename your save data from game#_10 (or game#_6 to game#10) to game#_13.
  9. Enter Survival: Endless and continue your game from there.

With Cheat Engine

This method will make it a lot faster to play Survival: Endless on the Roof while it is nighttime. However, you need Cheat Engine.

Preparations
  1. Open up Cheat Engine and the game.
  2. Make sure in the select process window (popup when you click the flashing computer button) you select either popcapgame1.exe or PlantsVsZombies.exe depending on the game version.
  3. Go to Zombotany (or any level. You just need its ID number.) and type 16 in the search bar. Click "New Scan" or "First scan" (depending on Cheat Engine version)
  4. Go to another level. In this case, we choose Last Stand.
  5. Type 31 (or the ID of the level you chose) in the search bar and click "Next Scan".
  6. If there is one address, select it. If not, go back to the first level you chose and scan its ID number. If there is still more than one address, go back and forth between the two levels you chose until you get only one address.
The actual cheating
  1. Head to Dr. Zomboss's Revenge but before the screen fully scrolls to the right, quickly change the value from 35 to 16 (or any Choose your Seeds level).
  2. Select the plants you want to bring for Survival: Endless.
  3. Start the level but before the screen scrolls back to the left, change the value to 35 (or any conveyor-belt levels like Column Like You See 'Em).
  4. Wait for all your seed slots to be filled first.
  5. Change the value from 35 (or the conveyor belt level's ID) to 30. Defeat all the zombies on the screen and Dr. Zomboss until you get some sun.
  6. Change the value to 13 and continue your game from there.

If you want to see the guide in video, watch this video.

Last Stand Endless on PC

Last Stand Endless can be played on the PC version by modifying a saved file of Survival: Endless to Last Stand after flag 11 but only the zombies in the Last Stand mini-game will appear and the same choice of plants will be used in every round.

  1. Play Survival: Endless until flag 11.
  2. Go to userdata folder and rename game#_13 to game#_31.
  3. Go to Last Stand and the game will be endless.

Alternatively, you can use Cheat Engine. Do what you would do above but change the value 13 to 31. You will be in Last Stand automatically.

You can also use this hack to play Last Stand in different areas (Day, Night, Fog, Roof). Just rename the save files of the respective survival levels to game#_31 (See I, Zombie hack for the names of the save files).

Zombie Nimble Zombie Quick in normal speed

Play Zombie Nimble Zombie Quick. Open Cheat Engine, enable speed hack, and adjust it to 0.5. Play the game at normal speed.

Zombie Nimble Zombie Quick in any level

Play any level, and open Cheat Engine and make sure "Enable Speedhack" is checked. Set the speed to 2. And you can play Zombie Nimble Zombie Quick anywhere! (do this on ZomBotany for Plant Nimble Plant Quick)

Win Slot Machine instantly

Note: If you are trying for the Lucky Spin achievement, it is not advised to use this hack.

Requirement:

  • Plants vs Zombies
  • Cheat Engine

Steps:

  1. Open both requirements.
  2. Open Slot Machine.
  3. Scan the current amount of sun.
  4. Spend or gain some sun.
  5. Double-click the address (if there's 2 or more address,Repeat step 3 and 4)
  6. Replace value with the goal (2000 sun).
  7. DONE

Spawn any zombies

This allows you to spawn zombies anytime and anywhere you want.

To do this, you'll need:

Tree of Wisdom with some zombies spawned
Zen Garden with Dr. Zomboss, a Giga-gargantuar, and some zombies
  • Original version of Plants vs. Zombies (not the GOTY one)
  • PvZ Tools

Steps:

  1. Open Plants vs. Zombies and PvZ Tools.
  2. Go to any level.
  3. Switch to PvZ Tools. Uncheck "Pool Level," even when you're on it, and select lanes 1, 2, 3, 4, and 5 (and 6 if you're playing on a pool/fog level).
  4. For the zombie selection, pick the second radio button (which says "Zombie") and change the zombie to anything you want, then click "Spawn Zombie".
  5. You should see that there's a zombie spawned.
  6. Repeat steps 4 and 5 to spawn more zombies. It makes for some bizarre screenshots.

Notes:

  • Using the "Edit probabilities" option allows you to randomize the zombies to be spawned, with adjustable sliders for each zombies' spawn rates.
  • The timed loop mode allows for an automatic spawn of zombies at set intervals (defined in milliseconds) when active.
    • This allows for an AFK gameplay of I, Zombie Endless; just set the zombies to spawn, activate the timed loop mode and you're all set.
  • In Zen Garden, the zombies will eat or crush your plants, but they'll be restored if you leave and reenter it.
  • In Zen Garden or Tree of Wisdom, if one of the zombies reaches the leftmost side of the screen, the game still displays "THE ZOMBIES ATE YOUR BRAINS!" game over cutscene, and if you click the "Try Again" button on the "GAME OVER" dialog box or "Main Menu" at the upper-right of the screen, you'll start at the Zen Garden with all your plants restored or the Tree of Wisdom.
  • This can be used to make some minigames a lot harder

See the Almanac entries of "hidden" plants and zombies

This allows you to see the Almanac entries of Explode-o-nut, Giant Wall-nut, Sprout, all ZomBotany zombies, and Giga-gargantuar.

You'll need:

  • Plants vs. Zombies (any versions)
  • Cheat Engine

Steps:

  1. Open Plants vs. Zombies and Cheat Engine, then select popcapgame1.exe (if present), or PlantsVsZombies.exe (if popcapgame1.exe isn't present).
  2. Go to Suburban Almanac, and select "View plants" (if you want to see hidden plants Almanac entries) or "View zombies" (if you want to see hidden zombies Almanac entries).
  3. Select Repeater (for plant), or Buckethead Zombie (for zombie).
  4. Go to Cheat Engine, then scan for 7 (for Repeater) or 4 (for Buckethead Zombie).
  5. Go back to Plants vs. Zombies and select Chomper (for plant) or Pole Vaulting Zombie (for zombie).
  6. Go to Cheat Engine, and this time, scan for 6 (for Chomper) or 3 (for Pole Vaulting Zombie).
  7. If you found one address, select it. If you found two, select the second address. If you found more than two, then repeat steps 3-6 until there are only one or two results.
  8. Right-click on the added address, then select "Find out what writes to this address."
  9. Go back to Plants vs. Zombies, then select any plant or zombie. Cheat Engine should now show an opcode. Click it, then click "Replace," after that, click OK.
  10. Go back to Cheat Engine main window, then change the value of the address you added to 49 (Explode-o-nut), 50 (Giant Wall-nut), or 51 (Sprout), 52, (Reverse Repeater), 55, (null) if you choose to see hidden zombies entries, or change it to 26 (Peashooter Zombie), 27 (Wall-nut Zombie), 28 (Jalapeno Zombie), 29 (Gatling Pea Zombie), 30 (Squash Zombie), 31 (Tall-nut Zombie), or 32 (Giga-gargantuar), 33 (Zombatar Flag Zombie), 35 (Weird Puff-Shroom Zombie), 36, (Hair-00) if you choose to see hidden zombies entries.
  11. Finally, click on any plant or zombie, and you should see the Almanac entry of the hidden plant/zombie now.
  12. Repeat step 10 and 11 if you want to see another plant/zombie's Almanac entry, or repeat steps 2-11 if you want to switch from plant to zombie, or vice versa.

Notes:

  • Explode-o-nut, Giant Wall-nut, Sprout, and Giga-gargantuar don't have any Almanac entry descriptions, but it might be possible to add them by editing the LawnStrings.txt.
  • All ZomBotany zombies use the same entry as the normal zombie, and therefore, it might be the reason why all ZomBotany zombies' names don't show up when you hover over them in ZomBotany or ZomBotany 2.
  • Attempting to go past those plant/zombie IDs will probably crash the game, but some IDs might not cause the game to crash.

Endless Minigames

This allows for any minigame to be endless, albeit with frequent crashing.

Needed:

  • Plants vs. Zombies (any versions)
  • Cheat Engine

Steps:

  1. Find the minigame ID using the cheat engine and going between any two minigames and searching for their ID's (say, Zen Garden, 43 and Wall-nut Bowling, 17).
  2. Find the ideal area type and starting conditions (pool, roof, night, etc.) in any minigame or Adventure mode level.
  3. Before the screen pans to the right, replace the minigame ID number with 13.
  4. Choose your seeds and begin.
  5. Preferably before the screen pans to the left, replace the minigame ID with whatever minigame ID you want to make endless. A full list of ID's can be found at Hybrid mini-games.
  6. Preferably before the minigame's end, replace the minigame ID number with 13.
  7. Repeat steps 4-6 as needed or allowed (remember that you can crash at any time for any reason).

Instant-use plants explode instantly

This will make instant-use plants (e.g. Cherry Bomb or Ice-shroom) explode immediately after planted or woken up with Coffee Bean.

  1. In Cheat Engine, click on "Memory View."
  2. Press Ctrl+G and type either 00463408 if you're using the old version of the game, or 00466E22 if you're using the GOTY version, then hit Enter.
  3. Double-click on the highlighted address and replace "jne" with "je" without changing anything else, then hit Enter.
  4. Try using an instant-use plant. It should explode immediately after being planted or woken up with Coffee Bean (in the case of sleeping Ice-shroom or Doom-shroom).

Plant any plants

You will be able to choose any seed packs, even exclusive ones for mini-games (the landing result in a normal game and in a I zombie may differ).

Any plants

Requirements:

Steps:

  1. Go to Column Like You See 'Em
  2. Your first plant should have been a potato mine
  3. Write 4 in the input field and click First Scan
  4. Plant a potato mine. Your second plant should be a tall nut
  5. Enter 23 in the input field and click Next scan
  6. You must have one address, if you have one address, you are good and you can enter numbers from 1 to 75 (except 53) there, but some of them will cause the game to crash when planting

In I zombie

I zombie more stable in the quality of planting, so I advise you to test the numbers here

  • Go to I zombie or any level where the seed pack is a normal zombie
  • Write 60 in the input field and click First Scan
  • Go to the level where the first seed pack is an imp (or other zombie if you know its ID)
  • Enter 74 in the input field and click Next scan
  • You must have one address, if you have one address, you are good and you can enter numbers from 1 to 75 (except 53) there, but some of them will cause the game to crash when landing.

Easy win hack

This cheat will let you win any level you want.

You need:

Steps:

  1. Get the level ID of the level you're in (for this instance, ZomBotany so 16)
  2. Go to Seeing Stars (or any other level. Seeing Stars is 22)
  3. Go back and forth between the two levels until there's only 1 value left. If there's still at least 2, the one that changes to the IDs you have chosen is the one.
  4. Open up at the level you're stuck at (or want to easily clear)
  5. Now before the level starts, change the ID to 33.
  6. Wait a while until two Giant Wall-Nuts appear.
  7. Change the ID to 27
  8. Plant those two columns of Giant Wall-Nuts.
  9. Change the ID to either 33 or 17.
  10. Now wait until all the zombies are dead and you have the level prize.
  11. Change the ID to the level you're stuck at.
  12. DONE!

Note: It's recommended you do not choose any level that starts you in Pool, Fog, or Roof due to the game not letting you plant on the tiles.

PvZ Toolkit (WIP)

PvZ Toolkit is an alternative way to hack the GOTY version of PvZ.It is relatively easier than Cheat Engine. It can do most of the hacks above.

Tab1
The Resources tab of PvZ Toolkit

Downloads

Structure/Notes

The bottom of the app displays what version of PvZ that you have running. The middle is the contents of a tab. The top has the 5 tabs.

  • The app is available in Chinese(?). Simply click the .exe that doesn't have "(English)" in the name.
  • Using the "Stay in Place" cheat in Endless can cause new zombies to stay at the right of the screen, even after repicking plants. This also starts a flag after a long time.
  • It isn't flagged for malware by antivirus, unlike cheat engine.

Tabs

There are 5 tabs.

Resource Tab

The Resource Tab contains these hacks.

  • Infinite/Changeable Sun, Money, Wisdom Tree Height, Zen Garden Items
  • Automatic Sun/Coin collection
  • Instant Level Completion
  • Instant Sunflower Trophy