🎄 Merry Christmas, TCRF! 🎄
Plants vs. Zombies (Windows, Mac OS X)
Plants vs. Zombies |
---|
Developer: PopCap Games This game has unused areas. This game has a development article This game has a prototype article This game has a prerelease article This game has a notes page |
To do:
|
Zombies have risen from the dead, and for some reason keep invading your home, not even bothering with your neighbors. To defend yourself, you must plant a variety of zombie-fighting vegetation. As crazy as the premise sounds, it's a very fun and successful strategy game that later spawned its own franchise.
Contents
Sub-Pages
Development Info |
Prototype Info |
Prerelease Info |
Notes |
Limbo Page An entire page of unused minigames! |
Unused Graphics There's unused graphics on your lawn! |
Unused Text Do not be alarmed. Plants are not real. |
Unused Animations
Plants
Unused | Final |
---|---|
An extended version of the Gravebuster's planting animation that has an extra bounce.
Animations of Squash transitioning from its looking poses to its idle pose.
An unused non-active version of Magnet-shroom's active idle animation, named anim_nonactive_idle.
Unused | Final |
---|---|
An extended version of Magnet-shroom stealing an object from a zombie, with there being a transition going in and out of the idle animation. This version of the animation has it going back to its default pose, suggesting this and the previous animation are related. This animation is used in the mobile phone version.
Zombies
Pre-GOTY | GOTY |
---|---|
An animation of the Dancing Zombie exiting its pointing pose.
An animation of the Snorkel Zombie opening its mouth in the Zombiquarium mini-game.
The Lower half of the Catapult Zombie has some small animations that are unseen because of the catapult machine.
Unused swinging animation for the Balloon Zombie.
A leftover animation of the Football Zombie from the 0.1.1.1014 prototype.
Another leftover animation of the Jack-in-the-Box Zombie from the credits in the 0.1.1.1014 prototype--notably, the Lex from Bookworm Adventures cameo is absent, and the normal Jack-in-the-Box clown is present instead. Why they decided to update this animation to fit with the finalized design is anyone's guess.
Debug Displays
Present in the game executable are a couple of hidden debugging displays. Unfortunately, the game loses a LOT of frames when activating any of these, especially with 3D Acceleration enabled. It is wise to turn that off before attempting any of these, and even then the game could see framedrops to as low as 10FPS. To enable these, follow the steps listed here.
Zombie Spawning
Decimals are displayed in SS:MS (seconds to miliseconds).
It displays the following in this format:
ZOMBIE SPAWNING DEBUG CurrentWave: %d of %d TimeSinseLastSpawn: %d %s TimeSinseLastSpawn: %d %s (too soon) ZombieCountDown: %d/%d (%.0f%%) ZombieHealth: before first wave HugeWaveCountdown: %d ZombieHealth: CurZombieHealth %d trigger %d (%.0f%%) Spawn: %d Stomp: %d Bungee: %d Head: %d' Health: %d of %d
CurrentWave is the current internal wave the player is on; 10 is considered a game wave, and this maxes out at 40. TimeSinseLastSpawn is the time (frames) it has been since the last zombie spawn. ZombieCountDown is the time it takes before a zombie wave begins; it increases over time. ZombieHealth is the internal health of the zombies before the next wave. CurZombieHealth is the amount of internal health a wave has. HugeWaveCountdown is the amount of seconds before the huge wave starts.
The latter set only occurs on Dr. Zomboss's Revenge or the final level. Spawn is the amount of time in seconds (SS:MS) the spawn zombie action is triggered; it can be set from 221 to 0. Stomp is the time before stomping on a nearby plant if possible, defaulting to 60:00 at the beginning. Bungee is the time it takes before using Bungee Zombies to steal plants, defaulting to around 40:00; oddly enough, this also affects throwing an RV. Head is the time it takes before Dr. Zomboss is open to attacks. Health is the health of the boss; the max is 60000, and it is defeated at 1.
Music
This needs some investigation. Discuss ideas and findings on the talk page. Specifically: A message that says something along the lines of "Misaligned hihats" was able to be found, though it was not able to get a screenshot or successfully replicate it. |
- CurrentWave: Displays what wave the level is on.
- Music Burst: Displays what kind of burst the music is on. More Zombies will enable this and make the music more dramatic.
- Music order: Displays where the audio is playing based on the .mo3's audio location. If it is playing streamed audio it will say Music order 65535 row 16383.
- bpm1: Displays the BPM
Memory
To do: Add descriptions of each. |
Shows how many objects are stored in memory. Most are pretty self-explanatory.
Collision
This does not draw any text aside from what's above, but displays the hitboxes and hurtboxes of all Plants and Zombies. Green is the hurtbox while red is the hitbox. Projectiles do not have hitboxes displayed. On plants that attack both in front of and behind them, the hitbox of the rear-facing attacks will be in pink.
Unused Plant Types
Large Sunflower, Large Marigold, and Large Wall-nut, used in the unused mini-game "Big Time". Note that Large Wall-nuts ARE normally seen in Wall-Nut Bowling 2, but never as regular plants.
Unused Zombies
The decompilation of the game contains two commented out Zombies in the Zombies code, those being for a Ghost Zombie and a Dog Walker Zombie. The Dog Walker Zombie has more data and graphics in the leaked prototype builds of the game.
Unused Music
Unused Watery Graves Section
Offsets 117 to 120 of mainmusic.mo3 contain an extra part of Watery Graves which goes unused, due to the song looping at Offset 116. These offsets contain the patterns (in this order) 99, 100, 101, and 102, as compared to the used final part of the song (offsets 113 to 116) which contain 99, 100, 101 and 103. 102 is the unused pattern here, which sounds similar to 103 except for a few different notes and the lack of "closing drums".
Offsets 117 to 120. Normal version.
Offsets 117 to 120. Horde version.
Here is a restoration of how the song should sound with these unused parts of the sequence:
Unused Rigor Mormist Volume Commands
To do:
|
In Pattern 79 (Sequence 125), which is used for the intro for Rigor Mormist, there is unused data to reduce note volume in channels 14 and 15. These match up with the same data on the same channels found on Pattern 110 (Sequence 126). These volume commands are used to decrease the volume of the Sine Wave used in the ending of the song after it loops. The reason this is unusual is because the Sine Wave only plays when the song loops and the song loops at Pattern 110 (Sequence 126), making this behavior go unseen.
Pattern 79 | Pattern 110 |
---|---|
Earlier Zombies on Your Lawn Segment
Within the animation files for all the segments relating to the Zombies on Your Lawn credits sequence, there exists an earlier animation during the lyrics "You're Dead so it doesn't matter".
This is a screenshot of the scene. It is unknown what would have happened during this scene due to there being no actual animation to go along with the segment. This is because the original animation file was overwritten by the current animation of the zombies being hit by a melon.
Script File
#!/bin/sh verbose=1 convert_if_candidate() { if [ $verbose -eq 1 ]; then echo "checking $1 ..." fi [ -d "$1" ] && return; [ ! -f "$1" ] && return; echo "$1" | egrep -q ".*\.jpg$" # change gamma for jpg files if [ $? -eq 0 ]; then convert "$1" continue; fi echo "$1" | egrep -q ".*\.png$" if [ $? -eq 0 ]; then convert "$1" continue; fi echo "$1" | egrep -q ".*\.gif$" if [ $? -eq 0 ]; then convert "$1" continue; fi if [ $verbose -eq 1 ]; then echo "skipping $1" fi } convert() { # chmod u+w $1 [ ! -f "$1" ] && return if [ $verbose -eq 1 ]; then echo "converting gamma of $1" fi /opt/local/bin/convert -gamma .8 "$1" "$1" [ $? -ne 0 ] && echo "error converting $1" } # will fail if file or path has a space in it. Probably need to do the while read thing... for f in `find .`; do convert_if_candidate $f done # this will handle those paths with a space in them but skip everything else find . -name '* *' | while read f; do # only reads those containing a space convert_if_candidate "$f" done
Present in images on older or Mac releases is this shell script called gamma_correct_image_files.sh.
Unused Code
SexyCache
The game executable on Windows mentions working code for loading SexyCache.exe before bootup if the debugging flag is set. In the retail version, this function has no references, but in special versions, the launch command -tod can load it; otherwise, forcing the game to load it by changing a function to one that does nothing on the following address based off the build displays this message. Yes attempts to load SexyCache.exe and the game while No just loads the game. It is unknown what exactly SexyCache.exe does, as it doesn't exist in the installation root in all builds of the game. PopCap's original name was "Sexy Action Cool" when it was founded, so SexyCache.exe was likely an internal program that was used for games since.
Build | Address |
---|---|
v1.20.1073 (PopCap.com, Windows) | 00454CC5 |
v1.20.1073 RELEASE (JA, Windows) | 00454CB7 |
v1.20.1096 (Steam GOTY, Windows) | 004569AD |
MP3 music support
Plants vs. Zombies has unused MP3 support, due to the final game using sequenced tracker music. However, the game also has functions to play MP3 music during menus and levels, and even to loop/pause streamed audio. In the 0.1.1.1014 prototype, these functions are used, as the switch from streamed audio to tracker music was only just starting to be made.
Command-line Parameters
The game's executable mentions developer command lines for starting the game. Most are related to the framework and it's not friendly with commands using spaces, so use = instead. None of these work on Mac OS. These are:
- -tod: Loads the game in "cheat mode", allowing MANY cheat keys to be pressed, most cutscenes to become skippable, and more. Only works on specific builds.
- -play: Plays popcap.dmo if its present; if not present, an error is shown. -demofile can also be used to choose the name and location of the file.
- -recnum: Records demos with Popcap.dmo and Popcap#.dmo if that's taken on every boot.
- -playnum: Plays demos with Popcap.dmo and Popcap#.dmo from -recnum if that's taken on every boot.
- -record: Records a demo named Popcap.dmo and saves after shutdown of the game.
- -demofile: Specifies filename for recorded demos.
- -crash: Crashes the game immediately with an Access Violation error.
- -screensaver: Makes the game act like it's a screensaver; any movement or key presses will immediately force close the game. This is a leftover from Insaniquarium Deluxe, which came with a "virtual aquarium" screensaver that showed the player's progress in that game.
- -changedir: Changes game installation directory, for the current boot.
- -version: Shows the product name, version, build number, and build date with a popup instead of starting the game.
Unused I, Zombie Zombies
In the I, Zombie game mode, two unused Zombies exist which cannot be used in-game: the Zomboni and Pogo Zombie. Despite this, they have their own seed packet graphics, and via hacking, can be re-implemented in the game and are fully functional. Strangely, the Pogo Zombie will completely ignore the brain at the end of a lane, jumping right over it. Additionally, when 'planting' a Zomboni, its front end will appear cut-off.
Level 6
An unused 6th level is present in the game, although not much of it is left. The only actual sublevel present is 6-1, which is simply a duplicate of level 5-9 but with the Day theme (as the theme this level tries to use is not present in the final game). All other sublevels in level 6 are simply duplicates of 6-1 read from garbage data. In the December, 2nd, 2008 prototype, this level is present with more content left; however, it uses an "elevated backyard" theme from even earlier in development (as indicated by the crude background graphics). This background is actually a leftover of what was going to be level 4 according to George Fan's Twitter.
Of interest: the night roof background graphic used exclusively for level 5-10 is named background6boss.png. The rest of level 5 uses background5.png, the day roof. It thus is possible that a night roof background6.png once existed which did not feature the Zomboss. Alternatively, the crude background6.gif graphic that is accessed when level 6 is loaded in-game could indicate a completely different layout would have been featured in this level.
Revisional Differences
Game of the Year Edition
On July 11th, 2010, a "Game of the Year" edition of the game was released (according to the readme, this edition is version 1.2.0.1073). Aside from adding new content, a few changes were made.
Michael Jackson Zombie
When the game was originally released, the Dancing Zombie and Backup Dancer Zombie looked different from how they do today. The Dancing Zombie originally resembled Michael Jackson dressed in his classic "Thriller" outfit, and the Backup Dancer Zombie resembled the backup dancers from the music video of the aforementioned song. The description of the Dancing Zombie even mentions "any resemblance between Dancing Zombie and persons living or dead is purely coincidental."
Coincidentally, Michael Jackson actually did die a little over a month after this game's release. About a year afterwards, Michael Jackson's estate objected to its inclusion. PopCap subsequently changed the designs of the Dancing Zombie and Backup Dancer Zombie out of respect to Jackson. The new Dancing Zombie was based off of Disco Stu from The Simpsons and the Backup Dancers have pink shirts with mustaches. The redesign has been included in all other versions since. Despite being removed, the textures of the original Dancing Zombie and Backup Dancer Zombie can still be found in the game's files.
Pre-GOTY | GOTY |
---|---|
Pre-GOTY | GOTY |
---|---|
Zomboni Description
In the original version of the game, the Zomboni enemy had a different description in the Suburban Almanac than it does in the GOTY edition. Judging from the current description, it was most likely changed for trademark reasons.
Original description | GOTY description |
---|---|
Often mistaken for a zombie driving an ice machine, the Zomboni is a totally different life-form more closely related to a space ogre than a zombie. | Not to be mistaken for a Zamboni® brand ice resurfacing machine. Zamboni® and the image of the ice-resurfacing machine are registered trademarks of Frank J. Zamboni & Co., Inc., and "Zomboni" is used with permission. For all your non-zombie related ice resurfacing needs, visit www.zamboni.com! |
Adventure button
Adventure button was changed in GOTY to better match the Start Adventure button shape.
Pre-GOTY | GOTY |
---|---|
Path References
To do: Specify which version the GOTY one was found in. |
In 1.0.0.1051, at 0x27F850 in the game's executable, there is a reference to a Program Database file.
c:\Popcap\Lawn\releasefinal\PlantsVsZombies.pdb
In the same executable still, in the GOTY version, there's a reference to a single directory with another Program Database file.
c:\Users\dfranzi\Desktop\Files\Perforce\dfranzi_SEA-10786\games\Lawn\goty\cpp\Lawn\ReleaseFinal\PlantsVsZombies.pdb
Unused .wav
Located at 0x270F88 is a reference for an audio file. It was most likely used for the game's engine debug mode.
c:\windows\media\Windows XP Menu Command.wav
Other Additions
- The Game of the Year version adds an achievement system, in which various awards are given for completing certain requirements. However, because of this, one of the game's messages is unable to be seen.
- The Zombatar, an avatar creator, was introduced in the GOTY edition. This allows you to create your own zombie. Additionally, the accessories chosen for your Zombatar will appear on the Flag Zombie.
Internal Project Name
The internal name of the game is Lawn.[1] This project name was probably given during when the game's name was changed to Lawn of the Dead, and its name remained that way for some time until version 0.96, where it was changed to Zom-Botany. Earlier instances of the game may have used Insaniquarium's codename WinFish[2], as seen in the present version of that game.
References
- ↑ https://youtu.be/SqSj1NC7KqM?t=193
- ↑ WinFish_Scr.exe
The Plants vs. Zombies series
| |
---|---|
Windows, Mac OS X | Plants vs. Zombies (Prototypes) |
Android | Plants vs. Zombies • Plants vs. Zombies 2 • Heroes • Plants vs. Zombies 3 (Demos) |
iOS | Plants vs. Zombies • Plants vs. Zombies 2 (Use Your Brainz EDU) • Heroes • Plants vs. Zombies 3 (Demos) |
Adobe Flash | Plants vs. Zombies |
Nintendo DS, DSiWare | Plants vs. Zombies |
Xbox 360, PlayStation 3, PlayStation Vita | Plants vs. Zombies |
China-Exclusive | |
iOS | Great Wall Edition • Plants vs. Zombies 2 • All Stars |
Android | Great Wall Edition (Dev Build) • Journey to the West • Plants vs. Zombies 2 (Dev Build) • All Stars |
Windows | Online |
Android TV | Plants vs. Zombies |
Garden Warfare | |
Windows | Garden Warfare • Garden Warfare 2 • Battle For Neighborville (Closed Alpha) |
Xbox 360, PlayStation 3 | Garden Warfare |
Xbox One, PlayStation 4 | Garden Warfare • Garden Warfare 2 • Battle For Neighborville (Closed Alpha) |
Nintendo Switch | Battle For Neighborville (Closed Alpha) |
- Pages missing developer references
- Games developed by PopCap Games
- Pages missing publisher references
- Games published by PopCap Games
- Windows games
- Mac OS X games
- Pages missing date references
- Games released in 2009
- Games released in May
- Games released on May 5
- Games with unused areas
- Games with unused code
- Games with hidden development-related text
- Games with unused game types
- Games with unused graphics
- Games with unused music
- Games with unused sounds
- Games with unused text
- Games with debugging functions
- Games with revisional differences
- To do
- To investigate
- Plants vs. Zombies series
Cleanup > Pages missing date references
Cleanup > Pages missing developer references
Cleanup > Pages missing publisher references
Cleanup > To do
Cleanup > To investigate
Games > Games by content > Games with debugging functions
Games > Games by content > Games with hidden development-related text
Games > Games by content > Games with revisional differences
Games > Games by content > Games with unused areas
Games > Games by content > Games with unused code
Games > Games by content > Games with unused game types
Games > Games by content > Games with unused graphics
Games > Games by content > Games with unused music
Games > Games by content > Games with unused sounds
Games > Games by content > Games with unused text
Games > Games by developer > Games developed by Electronic Arts > Games developed by PopCap Games
Games > Games by platform > Mac OS X games
Games > Games by platform > Windows games
Games > Games by publisher > Games published by Electronic Arts > Games published by PopCap Games
Games > Games by release date > Games released in 2009
Games > Games by release date > Games released in May
Games > Games by release date > Games released in May > Games released on May 5
Games > Games by series > Plants vs. Zombies series