User:Ballistic Planet/PVZ2 CTG Hacking Guide/Archive

Originally, most of this guide was from, so I dedicate this to him. I've added in some hacks of my own, and will continue to do so.

Important notes
Before hacking, make a backup of your .obb file in case you end up doing the hack wrong and subsequently crashing the game, or else, you'll have to re-download the game. You may need to keep five copies, just in case.

It is should be noted that you should always open HxD Hex Editor and open the .obb file with it, so it isn't included in the instructions.

As of version 3.4.4, the obb is now uneditable. However with version 3.6.1, an awesome user by the name of has released a tool to that patches the obb. To download, visit here.

Credit to and  for making all of this possible!

Editing the Game's text
Edit the game text, that includes, almanac entries, plant names, zombie names, trophy names, but  not  achievement names.
 * 1) Search for the  exact  name of the game text. That means, "Ctrl + F", and remember to  check the Unicode box in the search box before searching. Editing game text is different than editing others, this time, you don't search code names. Example: Don't search "holonut", search "Infi-nut" instead.
 * 2) Now edit it, but  keep the dots. One small mistake and all game text goes ""
 * 3) Now this is the hard-to-explain part: If your edited text is shorter than the original,  nullify  the remaining, but in nullifying, the other hex codes are  not  00, but is  0A . Try to find the pattern starting from the end of the originally nullified code. For example, the original nullifying pattern is (starting backwards) is 00 0A 00 0A, just keep that pattern going until you get to the edited text. For almanac entries, for the ending letter, the code next to the nullified "00", next to the letter,  must be 2E .

Zombot spawning
Edit what the Zombots summon. Note: There is currently no way to edit what Zombot Dark Dragon summons, this only works for the four-legged cyclop zombots.
 * 1) Search for "ZombossSpawnJump" until you find something about future zombies. (for example: future, future_armor1) Just press  F3  to continously search for it.
 * 2) Once you find it, go here. That is where the code names of all zombies are.
 * 3) Now replace. Remember to  nullify  extra space if you want to replace something that has less number of letters than the original one.

Sun costs
This method is for plants costing 150-600 sun.


 * 1) Search for {PlantName}Default.
 * 2) Make sure there isn't POPANIM_PLANT_{PLANTNAME} right after it. If there is, press F3 or next.
 * 3) Find the nearest $ sign after {PlantName}Default.
 * 4) Change the next two bytes to the hex values above.

For example, to make Banana Launcher cost 150 sun, change "24 F4 03"  to " 24 96 01" (in hex) after BananaDefault.

For plants that cost 125 and below, use this table:

The hex values should be followed up with a 91.

Different recharge speeds
Search for {PlantName}Default and change the two selected bytes on this picture (it's not always " @", it can be " A", " B", "pA" or "pB") to the hex values above.

Zombot battles with new plants
Edit plants in conveyor belts.
 * 1) Search for "zombossmech_{choose either "egypt", "pirate", "cowboy", "future", "dark", or "beach"}
 * 2) When you find it, scroll up and down until you see some list of plants.
 * 3) Edit them. Remember to nullify if the new plant has less letters than the original.

Note: This is for Zomboss Battles only, editing plants on other conveyor-belt levels is still possible, but i still don't know what to search to find your desired conveyor-belt level, aside from boss battles.

Insta-chomp
Remove Chomper's chewing time.
 * 1) Search for "ChewTimeSeconds".
 * 2) There you see dots, then 2 crazy symbols, then dots again.
 * 3) Nullify the 2 crazy symbols.

Seed-Choosing Zombots
Make zomboss battles seed selection levels.

To do this mod, go here: http://hacking-video-games.wikia.com/wiki/Thread:2155

Switcheroo
Switch the places of plants or zombies in the almanac and the seed selection screen. Not really a beneficial hack, but you can do it anyway.
 * 1) Search for "TypeOrder."
 * 2) You should see a list of plants first. (zombies are in the bottom)
 * 3) Edit the names. You can only edit plants or zombies with the same number of letters. So for example, switch Torchwood with Chili Bean.

Note:  Never in under any circumstances  edit a plant to be a plant that is already there. For example, there's already a Chili Bean, and you replace Torchwood with Chili Bean, there cannot be 2 same plants, or else it crashes.

New credits
Edit the credits.
 * 1) Search for names or stuff in the credits. No need to "codify" it. Just for the pure word, it means it has spaces with the right capital letters if needed.
 * 2) Press the case sensitive option (only if you type the  exact thing in the credits.)
 * 3) Replace the names with yours, no need to type in code, just type normal. (it means with space)

Restore Power Pinch

 * 1) Search for "Make new powerups"
 * 2) Scroll down a bit until you find the  exact  words "PowerupFlickzombie" (must include the capital F and P)
 * 3) Replace the "Flick" part with "Pinch"

Jester hacks
Edit what Jester Zombie deflects.
 * 1) Search for "JuggleableProjectiles"
 * 2) Below there you should see projectile names.
 * 3) Now replace one of the projectiles with the one you want.

Note: You can only replace and remove, not add, so you have to make him vulnerable to a projectile he originally can deflect and make him immune to projectiles he can't deflect.

Spring Bouncing

 * 1) Search for "SpringBeanDefault"
 * 2) Press F3.
 * 3) Below, you should see "KnockbackOffset"
 * 4) In the "B" part of the KnockbackOffset, turn the "B" into a capital "C".

Sleepproof Bean

 * 1) Search for "SpringBeanDefault"
 * 2) Press F3.
 * 3) Below you should see "AttackRecoveryTime"
 * 4) In "AttackRecoveryTime".. A..", nullify "A" and the space before "A"

Zeus reed
Make Lightning Reed's PF cloud deal  insanely big  amounts of damage, make it fly faster, make Lightning Reed's chain lightning have more bounces. Basically, this mod makes Lightning Reed one powerful zeus-like plant.

More bounces

 * 1) Search "lightningreeddefault".
 * 2) Press F3.
 * 3) Below you should find "NumShotBounces$".
 * 4) The dot next to the dollar sign's hex code is "03", now change it to "0A".

Gotta go fast

 * 1) Search "lightningreeddefault".
 * 2) Press F3.
 * 3) Below you should find "PlantFoodCloudSpeed"..úC.."
 * 4) Now change "C" to "D".

More damage

 * 1) Search for "lightningreeddefault".
 * 2) Press F3
 * 3) Below you should find "PlantFoodLightningBoltDamage".. A.."
 * 4) Now change "A" to "B".

Note: When changing the letters, it is important for it to be  capital letter , using small letters makes a  huge  difference.

Unlock Marigold
Search for "IsZenGardenTreasurePlant" and nullify it.

Always free Tile Turnips

 * 1) Search for "PowerPlant" until you will see "SecondTileCost" and "$" after that.
 * 2) Change the numbers after "$" to "80 00" and your turnips will be free.

Infinite Duration Puff-shrooms

 * 1) Search for "ExpirationDurationSecond$<"
 * 2) Delete the "<"

Extra Endless Zone Card costs nothing

 * 1) Search for "ExtraCardCost$"
 * 2) Delete the "$"

Infinite Chard Guard Leafs

 * 1) Search for "PushesPerLeft$"
 * 2) Change the "." next to the "$" from 01 to 7F.

Surfboard Zombies don't plant there Surfboards

 * 1) Go to this address: "046fae82"
 * 2) Nullify the word "Surfboard"

No more Sheep or Octos

 * 1) Go to this address: "046f9f6f"
 * 2) Delete Zombie Actions

''Note: if the Octo or Wizards zombies attempt to eat a plant, the game will crash, as they have no eating animation. Use with caution.''

Sun-shroom grows from Stage 1-3 instantly
Note: Everything in this hack was found by me


 * 1) Search for "TimeToGrowInSeconds"
 * 2) There should be a "$" afterwards, followed by a ".". Nullify the ".". This'll get it to grow to stage 2 instantly.
 * 3) Afterwards, find the next "$". Nullify the character right after the "$". This'll get it from stage 2-3 instantly. If you did the previous step, Sun-shroom should be stage 3 right when you plant it!

Useless hacks
There's no point to these, but they're possible!


 * To remove all costumes, search "CostumeList" and nullify it. This method removes all costumes, there's no way to choose which costumes to keep or to remove. Also, since the 2.9 update, you may not want to do this.