We just released a prototype of the cancelled SNES port of Puggsy! Take a look!
As always, thank you for supporting The Cutting Room Floor on Patreon!

Proto:Plants vs. Zombies (Windows, Mac OS X)/Debug Content

From The Cutting Room Floor
Jump to navigation Jump to search

This is a sub-page of Proto:Plants vs. Zombies (Windows, Mac OS X).

Debug builds and other current prototype builds of the game have unique functions that are not present in other final versions of the game. The first known debug build was the Japanese distribution, being the first ever Game of the Year release. The build was considered a RELEASE version, according to the title of the executable window. Despite the name, running the game makes it act like its the original product, suggesting it's an oversight, but the functions below, prove otherwise.

Debugging Material

Cheat Keys

Hmmm...
To do:
Word Credits a little better if possible.

The following developer cheat keys can be used nearly everywhere after enabling framework debug keys. Most are the exact same as Journey to the West. Zombie spawns effect random lane targets. These would make it a little tough to activate Tree of Wisdom commands.

Key In-game Main Menu Money display/Award Zen Garden Music Video/Credits Shop Minigames
a Spawns a Flag Zombie. No effect. No effect. Plants a random Plant fully grown in a random location, only effects the main garden. . No effect. No effect.
A No effect. No effect. No effect. No effect. No effect. No effect. No effect.
b Spawns a Bungee Zombie.

On Dr. Zomboss, sets Bungee to 0, making Dr. Zomboss use Bungee Zombies or an RV as this is randomized. Has no effect in Beghouled and Beghouled Twist.

No effect. No effect. No effect. On Tree of Wisdom, plays the next dialog. No effect. No effect. No effect.
B Temporarily clears Fog for 22 seconds (2200 frames). No effect. No effect. No effect. No effect. No effect. No effect.
c Spawns a Conehead Zombie. Completes the game with minimal unlocks temporarily, your save will look like this:
Unlocked Minigames: True
Unlocked Puzzle: True
Unlocked Survival: True
Unlocked Almanac: True
Unlocked Zen Garden: True
No effect. Adds 1 Chocolate to your balance. No effect. Unlocks all pages of the shop, also showing the page buttons. Temporarily unlocks all Minigames in the specific section.
C Spawns a Catapult Zombie. No effect. No effect. Does the exact same as "c". No effect. No effect. Does the exact same as "c".
d Spawns a Dog Walker Zombie in the 0.1.1.1014 build. In Dr. Zomboss's Revenge, 10000 damage to him, even when not vulnerable. No effect. No effect. No effect. No effect. No effect. No effect.
D Spawns a Digger Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
e No effect. No effect. No effect. No effect. No effect. No effect. No effect.
E No effect. No effect. No effect. No effect. No effect. No effect. No effect.
f Spawns a Propeller Zombie in the 0.1.1.1014 build. The 'f' most likely stands for flying No effect. No effect. Does proper actions to a random plant that needs it, no effects if no plants exist nor need fertilizing, ignoresm resources limits, on the Tree of Wisdom, the Wisdom Food also applies. ? No effect. No effect.
F Spawns a Balloon Zombie. The 'F' most likely stands for flying No effect. No effect. No effect. No effect. No effect. No effect.
g Spawns a Garguantuar. In Zombotany 1/2, spawns a Gatling Pea Zombie. No effect. No effect. No effect. On Tree of Wisdom, grows the tree one feet without spending Plant Food. ? No effect. No effect.
G Spawns a Giga Garguantuar. No effect. No effect. No effect. No effect. No effect. No effect.
h Spawns a Buckethead Zombie.

On Dr. Zomboss, sets Head to 0, making him vulnerable.

No effect. No effect. No effect. No effect. No effect. No effect.
H No effect. No effect. No effect. No effect. No effect. No effect. No effect.
i Spawns a Zomboni. No effect. No effect. No effect. No effect. No effect. No effect.
I No effect. No effect. No effect. No effect. No effect. No effect. No effect.
j Spawns a Jack-In-The-Box Zombie. In Zombotany 1/2, spawns a Jalapeno Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
J No effect. No effect. No effect. No effect. No effect. No effect. No effect.
l Activates the Level Select cheat. The final release added this debug key to lock the game as a Trial. Unsets a debug flag for locking the game under a trial, you must restart the game to disable. No effect. No effect. No effect. Locks the game as a Trial. (Must restart the game to disable) No effect.
L Spawns a Ladder Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
m Spawns a Disco Zombie. "m" likely stands for music, or Michael Jackson, whom the zombie's design is based on [1]. No effect. No effect. Plants a Marigold in a random location. No effect. No effect. No effect.
M Sets the Music Burst flag to play horde versions of the music temporarily. No effect. No effect. No effect. No effect. No effect. No effect.
n Spawns a Scuba Diver Zombie, can only done on Pool or Fog. No effect. No effect. No effect. Pauses the scrolling credits. No effect. No effect.
N No effect. No effect. No effect. No effect. No effect. No effect. No effect.
o Spawns a Football Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
O Enables the Free Planting Cheat and spawns Flower Pots in this formation:
1 1 1 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0
1 1 1 0 0 0 0 0 0

No effect on I, Zombie levels.

No effect. No effect. No effect. No effect. No effect. No effect.
p Spawns a Pole Vaulting Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
P Spawns a Pogo Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
q Spawns Threepeaters on all lanes with Lily Pads and Flower Pots when needed + goes ahead 20 internal game waves (2 waves), also enables the Free Planting Cheat.

In Vasebreaker, breaks all Vases too.

In I, Zombie levels, spawns a Football Zombie on the following lanes in this formation:

0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 1 0 0

In Survival Endless, spawns a Gatling Pea, Torchwood, Split Pea, and Gloom Shrooms, automatically awaken, all protected by Pumpkins, on the following lanes in this formation:

	
1 1 1 1 1 2 3 0 0
1 1 1 1 1 2 3 0 0
1 1 1 1 1 2 3 4 4
1 1 1 1 1 2 3 4 4
1 1 1 1 1 2 3 0 0
1 1 1 1 1 2 3 0 0
No effect. No effect. Spawns Threepeaters in all lanes and the top left corner in the 0.1.1.1014 build, it's wise to not interact with them. In the 0.9.9.1029 build and beyond, replaces the Threepeaters with Lily Pads. ?. No effect. No effect.
Q No effect. No effect. No effect. No effect. No effect. No effect. No effect.
r Spawns ambush Zombies, only works on stages with them. "r" likely means rise. In Dr. Zomboss's Revenge, make him throw an RV, if he is exposed, immediately makes him immune before doing so. No effect. No effect. Makes Plants ready for actions. No effect. No effect. No effect.
R Spawns a Dolphin Rider Zombie, only works on Pool or Fog. "R" likely means Rider. No effect. No effect.
s Spawns a Screen Door Shield Zombie. On Dr. Zomboss, sets Stomp to 0, allowing him to Stomp nearby plants. In Zombotany 1/2, spawns a Squash Zombie. Wakes up Stinky, if unowned, unlocks him, takes effect after reloading the scene. No effect.
S No effect. No effect. No effect. No effect. No effect. No effect. No effect.
t Spawns a Bobsled Zombie Team with an Ice Trail prepared for them. In Zombotany 1/2, spawns a Tall Nut Zombie. No effect.
T No effect. No effect. No effect. No effect. No effect. No effect. No effect.
u Sets the spawn counter to 0 to force Zomboss to spawn a Zombie in Dr. Zomboss' Revenge. Unlocks nearly everything available and saves your game, your save will look like this:
Adventure Completions: 2
Coins: 50000 + Current value
Has Used Cheat Keys: True
Unlocked Minigames: True
Unlocked Puzzle: True
Unlocked Survival: True
Home Lawn Security: True
Nobel Peas Prize: True
Zombologist: True
Challenge Records: Beaten
I, Zombie Endless: 20
Survival: Endless: 20
Survival: Day Endless: 20 (Unused)
Survival: Night Endless: 20 (Unused)
Survival: Fog Endless: 20 (Unused)
Survival: Roof Endless: 20 (Unused)
All Shop Pages Unlocked: True
Plant Almanac Completed: True
Zombie Almanac Completed: True
Unlocked Zen Garden: True
No effect.
U No effect. No effect. No effect. No effect. No effect. No effect. No effect.
v No effect. No effect. No effect. No effect. No effect. No effect. No effect.
V No effect. No effect. No effect. No effect. No effect. No effect. No effect.
w Spawns a Newspaper Zombie. In Zombotany 1/2, spawns a Wall Nut Zombie. No effect. No effect. No effect. No effect. No effect. No effect.
W No effect. No effect. No effect. No effect. No effect. No effect. No effect.
x No effect. No effect. No effect. No effect. No effect. No effect. No effect.
X No effect. No effect. No effect. No effect. No effect. No effect. No effect.
y Spawns a Zombie Yeti. No effect. No effect. No effect. No effect. No effect.
Y No effect. No effect. No effect. No effect. No effect. No effect. No effect.
z Toggles Debug Displays. No effect. No effect. No effect. No effect. No effect. No effect.
Z No effect. No effect. No effect. No effect. No effect. No effect. No effect.
< Loads the options dialog, you really can't pause the game? No effect. No effect. No effect. No effect. No effect. No effect.
Shift Shows what is inside all Vases. No effect. No effect. No effect. No effect. No effect. No effect.
Space No effect. No effect. No effect. No effect. No effect. No effect. No effect.
/ Goes ahead one internal game wave. No effect. No effect. No effect. No effect. No effect. No effect.
? Goes ahead one internal game wave. No effect. No effect. No effect. No effect. No effect. No effect.
! Wins two flags. On Last Stand or modes with only one flag, this does the exact same thing as "+". No effect. No effect. No effect. No effect. No effect. No effect.
@ No effect. No effect. No effect. No effect. No effect. No effect. No effect.
# No effect. On Survival, removes all Zombies, adds 5 flags and sets the win flag. On Survival Endless, adds 12 flags. No effect. No effect. No effect. No effect. No effect. No effect.
$ Adds $1000 to your current balance (100 internally) and shows your currency count if in-game. Plays the checkbox click sound. No effect. Same as In-game. Same as In-game. No effect. Same as In-game. No effect.
% Toggles 3D-Acceleration. What's wrong? You can't use the framework debug key? No effect. Same as In-game. Same as In-game. No effect. No effect. No effect.
] No effect. Allows you to change the Plant in the wheelbarrow. No effect.
^ No effect. No effect. No effect. No effect. No effect. No effect. No effect.
& No effect. No effect. No effect. No effect. No effect. No effect. No effect.
* No effect. No effect. No effect. No effect. No effect. No effect. No effect.
( No effect. No effect. No effect. No effect. No effect. No effect. No effect.
) No effect. No effect. No effect. No effect. No effect. No effect. No effect.
Escape See Tod Mode. No effect. No effect. No effect. No effect. No effect. No effect.
0 Adds 100 Sun to your current balance. No effect. Adds 500000 coins (50,000 in game logic). Sets the Tree of Wisdom height value to 1, when on the Tree of Wisdom tab. No effect. Adds 50,000 coins (500,000 in game logic). No effect.
1 "Squashes" all Plants in all lanes. Versions 0.9.9.1029 and beyond changed it to delete the plant on the first spot on the first lane. No effect. No effect. Sets the Tree of Wisdom height value to 10, when on the Tree of Wisdom tab. Jumps to the beginning of the first phase (frame 0 internally). No effect. No effect.
2 No effect. No effect. No effect. Sets the Tree of Wisdom height value to 20, when on the Tree of Wisdom tab. Jumps to the 21 seconds of the first phase (frame 105 internally) No effect. No effect.
3 No effect. No effect. No effect. Sets the Tree of Wisdom height value to 30, when on the Tree of Wisdom tab. Jumps to the 25 seconds of the first phase (frame 125 internally) No effect. No effect.
4 No effect. No effect. No effect. Sets the Tree of Wisdom height value to 40, when on the Tree of Wisdom tab. ? No effect. No effect.
5 No effect. No effect. No effect. Sets the Tree of Wisdom height value to 50, when on the Tree of Wisdom tab. ? No effect. No effect.
6 Speeds up game logic, another use sets proper logic speed. No effect. No effect. Sets the Tree of Wisdom height value to 99, when on the Tree of Wisdom tab. ? No effect. No effect.
7 Slows down game logic, another use sets proper logic speed. No effect. No effect. Sets the Tree of Wisdom height value to 499, when on the Tree of Wisdom tab. No effect. No effect. No effect.
8 Activates the Free Planting Cheat, allowing you to place any Plant, even upgraded variants, nearly everywhere without spending sun nor having cooldown. No effect. No effect. Sets the Tree of Wisdom height value to 999, when on the Tree of Wisdom tab. No effect. No effect. No effect.
9 Maximizes your sun count at 9990. No effect. No effect. No effect. No effect. No effect. No effect.
- Removes 100 Sun from your current balance. No effect. No effect. No effect. No effect. No effect. No effect.
+ Same as "!". No effect. No effect. Adds one random plant sprout, only effects the main garden. No effect No effect. No effect.

Tod Mode

Likely named after Tod Semple, one of the key programmers of the game. When booted with -tod, the following are triggered and applied:

  • Asks to start SexyCache.exe, likely an internal tool.
  • Enables debug keys for the framework, which are also enabled for the base game.
  • Seed selection includes a new option called Debug Play, choosing random plants then immediately starting.
  • CTRL-C can be pressed in game with debug keys, crashing the game with a Noncountable Exception, sending this message as the reason:
Crash!!!!
  • The majority of cutscenes can be skipped by clicking or pressing Escape, Enter or Space when they are played.
  • Limbo Page is enabled on bootup.
  • The game immediately loads to the current level of Adventure Mode after the loading screen, you can override it with s for Survival, p for Puzzle, z for Zen Garden, c for Minigames.

Elsewhere

  • Crash dumps are triggered after a crash happens, having a minidump file titled GameMiniDump, as a MDMP, as well as saves the frame the game crashes and with an image of the frame the game crashed called CrashScreenShot as a JPEG.
  • Various logs are outputted to a log.txt file, please note this is encoded in UTF-8 and characters that are Japanese like on Japanese builds won't be written correctly.