Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Plants vs. Zombies"

From PCGamingWiki, the wiki about fixing PC games
m (moved Plants vs Zombies to Plants vs. Zombies: Official game name.)
(→‎Availability: Game added to Epic Games Store)
 
(206 intermediate revisions by 71 users not shown)
Line 1: Line 1:
{{infobox
+
{{Infobox game
|title          = Plants vs. Zombies
+
|cover        = Plants vs Zombies.png
|cover          = Plants_vs_Zombies.png ‎
+
|developers  =  
|developer      = Popcap Games
+
{{Infobox game/row/developer|PopCap Games}}
|publisher      = Popcap Games
+
|publishers  =  
|engine        = Popcap Games Framework
+
{{Infobox game/row/publisher|PopCap Games}}
|release dates = May 5, 2009
+
{{Infobox game/row/publisher|Electronic Arts}}
|steam         = 3590
+
{{Infobox game/row/publisher|Buka Entertainment|Russia}}
 +
|engines     =  
 +
{{Infobox game/row/engine|PopCap Games Framework}}
 +
|release dates=  
 +
{{Infobox game/row/date|Windows|May 5, 2009}}
 +
{{Infobox game/row/date|OS X|May 5, 2009}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic|plants-vs-zombies|87}}
 +
{{Infobox game/row/reception|OpenCritic||}}
 +
{{Infobox game/row/reception|IGDB|plants-vs-zombies|85}}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | One-time game purchase, Subscription gaming service }}
 +
{{Infobox game/row/taxonomy/microtransactions | None }}
 +
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
 +
{{Infobox game/row/taxonomy/pacing            | Real-time }}
 +
{{Infobox game/row/taxonomy/perspectives      | Bird's-eye view }}
 +
{{Infobox game/row/taxonomy/controls          | Point and select }}
 +
{{Infobox game/row/taxonomy/genres            | Tower defense, Farming }}
 +
{{Infobox game/row/taxonomy/sports            | }}
 +
{{Infobox game/row/taxonomy/vehicles          | }}
 +
{{Infobox game/row/taxonomy/art styles        | Cartoon }}
 +
{{Infobox game/row/taxonomy/themes            | Fantasy, Zombies, Contemporary }}
 +
{{Infobox game/row/taxonomy/series            | Plants vs. Zombies }}
 +
|steam appid  = 3590
 +
|steam appid side =
 +
|gogcom id    =
 +
|gogcom id side =
 +
|official site= https://www.ea.com/games/plants-vs-zombies/plants-vs-zombies
 +
|hltb        = 7106
 +
|igdb        =
 +
|strategywiki = Plants vs. Zombies
 +
|mobygames    = plants-vs-zombies
 +
|wikipedia    = Plants vs. Zombies
 +
|winehq      = 9657
 +
|license      = commercial
 +
}}
 +
 
 +
'''Key points'''
 +
{{ii}} For Windows 8 and later: [[#Enable 3D acceleration with WineD3D|use WineD3D to fix low frame rate issues]].
 +
{{--}} Lacks improvements from home console and mobile versions,<ref>{{Refurl|url=https://www.youtube.com/watch?v=d9oybX9KiGQ|title=Plants vs. Zombies XBOX 360 Longplay/Walkthrough/Playthrough|date=May 2023}}</ref> including native widescreen, improved sprite resolutions, and controller support.
 +
 
 +
'''General information'''
 +
{{mm}} [https://web.archive.org/web/20130330001642/http://www.popcap.com:80/games/plants-vs-zombies/pc Official website] (archived)
 +
{{mm}} [https://steamcommunity.com/app/3590/discussions/ Steam Community Discussions]
 +
 
 +
==Availability==
 +
{{Availability|
 +
{{Availability/row| Retail | | disc | Regular and Game of the Year Edition. Requires a disc check every once in a while. | | Windows, OS X }}
 +
{{Availability/row| Epic Games Store | plants-vs-zombies-game-of-the-year-edition-e8b166 | unknown | Game of the Year Edition. |  | Windows }}
 +
{{Availability/row| Microsoft Store | 9MTNPX4WLP10 | Microsoft Store, Origin | Game of the Year Edition. Included exclusively with {{Store feature|Xbox Game Pass}} as part of its version of EA Play. | | Windows }}
 +
{{Availability/row| Origin | plants-vs-zombies/plants-vs-zombies | Origin | Game of the Year Edition. Included with {{Store feature|EA Play}}. | | Windows, OS X }}
 +
{{Availability/row| Steam | 3590 | Steam | Game of the Year Edition. Included with {{store feature|EA Play}}. |  | Windows, OS X }}
 +
{{Availability/row| Games for Windows Marketplace | GFWL | GFWL | <ref>{{Refurl|url=https://web.archive.org/web/20110128031230mp_/http://www.gamesforwindows.com/en-US/Games/Plants-vs--Zombies/|title=Plants vs. Zombies on GFWL|date=31 March 2023}}</ref> | | Windows | unavailable }}
 +
}}
 +
 
 +
==Essential improvements==
 +
===Enable 3D acceleration with WineD3D===
 +
{{ii}} Most modern graphics cards won't be able to enable 3D acceleration in the game options.
 +
{{++}} Enabling 3D acceleration can fix low frame rate issues.
 +
{{Fixbox|description=Use WineD3D|ref=<ref>{{Refcheck|user=Tiagoquix|date=2023-07-08}}</ref>|fix=
 +
# Download WineD3D for Windows version "4.5 staging" from [https://downloads.fdossena.com/Projects/WineD3D/Builds/WineD3DForWindows_4.5-staging.zip this link] (direct download). You can also go to [https://fdossena.com/?p=wined3d/index.frag Federico Dossena's website], access "Older versions archive" and download it from there.
 +
# Open the ZIP archive and extract <code>ddraw.dll</code>, <code>libwine.dll</code>, and <code>wined3d.dll</code> to <code>C:\ProgramData\PopCap Games\PlantsVsZombies</code>.
 +
# Open the game, and open the options menu. 3D acceleration should be enabled; if it is not, enable it.
 +
{{ii}} If it is still not possible to enable 3D acceleration: try extracting the files to {{p|game}} as well.
 +
}}
 +
 
 +
==Game data==
 +
===Configuration file(s) location===
 +
{{Game data|
 +
{{Game data/config|Windows|{{P|hkcu}}\Software\PopCap\PlantsVsZombies\}}
 +
{{Game data/config|Microsoft Store|}}
 +
{{Game data/config|OS X|}}
 +
}}
 +
 
 +
===Save game data location===
 +
{{Game data|
 +
{{Game data/saves|Windows|{{p|programdata}}/PopCap Games/PlantsVsZombies/userdata/}}
 +
{{Game data/saves|Origin|{{p|programdata}}/PopCap Games/PlantsVsZombies/userdata/}}
 +
{{Game data/saves|Steam|{{p|steam}}/userdata/{{p|uid}}/3590/remote/}}
 +
{{Game data/saves|OS X|{{p|osxhome}}/Library/Application Support/PopCap/PlantsVsZombiesMac/userdata/}}
 
}}
 
}}
 +
{{ii}} Use [https://github.com/petronny/pvz_converter pvz converter] to convert saves between Windows and OS X versions.
  
Plants vs Zombies is a very mature and well developed game with few problems. Most problems are the result in unexpected conflicts with the Steam version.
+
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 +
{{Save game cloud syncing
 +
|discord                  =
 +
|discord notes            =
 +
|epic games launcher      =
 +
|epic games launcher notes =
 +
|gog galaxy                =
 +
|gog galaxy notes          =
 +
|origin                    = true
 +
|origin notes              =
 +
|steam cloud              = true
 +
|steam cloud notes        = Does not sync between Windows and Mac due to saves being incompatible across platforms.
 +
|ubisoft connect          =
 +
|ubisoft connect notes    =
 +
|xbox cloud                = unknown
 +
|xbox cloud notes          =
 +
}}
  
== Steam or Popcap version? ==
+
==Video==
Both versions of the game are identical in terms of content. However, the Steam version regularly goes on sale, and also support Steam Cloud natively for the automatic syncing of save game data.
+
{{Image|Plants vs Zombies Options.png|In-game options menu.}}
 +
{{Video
 +
|wsgf link                  = https://www.wsgf.org/dr/plants-vs-zombies
 +
|widescreen wsgf award      = limited
 +
|multimonitor wsgf award    = unsupported
 +
|ultrawidescreen wsgf award = unsupported
 +
|4k ultra hd wsgf award    = unsupported
 +
|widescreen resolution      = hackable
 +
|widescreen resolution notes= 800x600 by default.
 +
|multimonitor              = false
 +
|multimonitor notes        =
 +
|ultrawidescreen            = false
 +
|ultrawidescreen notes      =
 +
|4k ultra hd                = false
 +
|4k ultra hd notes          =
 +
|fov                        = n/a
 +
|fov notes                  =
 +
|windowed                  = true
 +
|windowed notes            = Can also be toggled with {{key|Alt|Enter}}.
 +
|borderless windowed        = hackable
 +
|borderless windowed notes  = See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]].
 +
|anisotropic                = n/a
 +
|anisotropic notes          =
 +
|antialiasing              = hackable
 +
|antialiasing notes        = See [[#Anti-aliasing (AA)|Anti-aliasing (AA)]].
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =
 +
|vsync                      = hackable
 +
|vsync notes                = Set <code>{{P|hkcu}}\Software\PopCap\PlantsVsZombies\WaitForVSync</code> to <code>1</code>
 +
|60 fps                    = true
 +
|60 fps notes              = For Windows 8 and later use the [https://community.pcgamingwiki.com/files/file/549-plants-vs-zombies-low-frame-rate-fix/ low frame rate fix].
 +
|120 fps                    = false
 +
|120 fps notes              = Frame rate is capped at 100 FPS.
 +
|hdr                        = false
 +
|hdr notes                  =
 +
|color blind                = false
 +
|color blind notes          =
 +
}}
  
== Steam problems ==
+
===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]===
=== Save Game Corruption ===
+
{{ii}} The [https://community.pcgamingwiki.com/files/file/549-plants-vs-zombies-low-frame-rate-fix/ low frame rate fix] isn't needed with dgVoodoo; if applicable, you should uninstall the low frame rate fix first.
Although the game supports [[Steam Cloud]] to sync save files the PC and Mac save files are not compatible with each other. Playing the game on one OS and then downloading it and running it on the other will cause the files to be permanently corrupted and you will lose all data. There are also reports of save data suddenly disappearing without clear reason. It is recommended that you make [[Save_Folder_Cloud_Syncing|alternative backups]] of your save data just in case.
 
  
=== Problems starting up ===
+
{{Fixbox|description=Use borderless hack|ref=<ref name="Keith">{{Refcheck|user=Keith|date=2021-02-27}}</ref>|fix=
Error message: 'Unable to load Steam.dll'.
+
# Download [https://github.com/dege-diosg/dgVoodoo2/releases dgVoodoo 2] (v2.73 or later).
 +
# Copy {{file|dgVoodoo.conf}}, {{file|dgVoodooCpl.exe}}, {{file|\MS\x86\D3DImm.dll}}, and {{file|\MS\x86\DDraw.dll}} to {{p|game}}.
 +
# Open {{file|dgVoodoo.conf}} with a text editor.
 +
# Find {{code|1=FullscreenAttributes = }} under {{code|[GeneralExt]}}.
 +
# Append {{code|fake}} to it, so it looks like {{code|1=FullscreenAttributes = fake}}.
 +
# Change {{code|1=DisableAltEnterToToggleScreenMode  = true}} to {{code|1=DisableAltEnterToToggleScreenMode  = false}} under {{code|[DirectX]}}.
 +
# Save changes. The game should run in borderless fullscreen now.
 +
# If the game doesn't run in borderless fullscreen run it in Windows XP (Service Pack 2) compatibility mode.
 +
}}
  
==== Verify cache ====
+
==Input==
Right-Click on Plants Vs. Zombies in the Steam game library, click 'Properties', select the 'Local Files' tab and click on the 'Verify Integrity of Game Cache'.
+
{{Input
 +
|key remap                = false
 +
|key remap notes          = Gameplay does not use a keyboard at all.
 +
|acceleration option      = n/a
 +
|acceleration option notes =
 +
|mouse sensitivity        = n/a
 +
|mouse sensitivity notes  =
 +
|mouse menu                = true
 +
|mouse menu notes          =
 +
|invert mouse y-axis      = n/a
 +
|invert mouse y-axis notes =
 +
|touchscreen              = false
 +
|touchscreen notes        =
 +
|controller support        = false
 +
|controller support notes  =
 +
|full controller          = false
 +
|full controller notes    =
 +
|controller remap          = false
 +
|controller remap notes    =  
 +
|controller sensitivity    = n/a
 +
|controller sensitivity notes=  
 +
|invert controller y-axis  = n/a
 +
|invert controller y-axis notes=
 +
|xinput controllers        = false
 +
|xinput controllers notes  =
 +
|xbox prompts              = false
 +
|xbox prompts notes        =
 +
|impulse triggers          = false
 +
|impulse triggers notes    =
 +
|dualshock 4              = false
 +
|dualshock 4 notes        =
 +
|dualshock prompts        = false
 +
|dualshock prompts notes  =
 +
|light bar support        = false
 +
|light bar support notes  =
 +
|dualshock 4 modes        = unknown
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= false
 +
|tracked motion controllers notes =
 +
|tracked motion prompts    = false
 +
|tracked motion prompts notes =
 +
|other controllers        = false
 +
|other controllers notes  =
 +
|other button prompts      = false
 +
|other button prompts notes=
 +
|controller hotplug        = false
 +
|controller hotplug notes  =
 +
|haptic feedback          = false
 +
|haptic feedback notes    =
 +
|simultaneous input        = false
 +
|simultaneous input notes  =
 +
|steam input api          = unknown
 +
|steam input api notes    =
 +
|steam hook input          = unknown
 +
|steam hook input notes    =
 +
|steam input presets      = unknown
 +
|steam input presets notes =
 +
|steam controller prompts  = unknown
 +
|steam controller prompts notes =
 +
|steam cursor detection    = unknown
 +
|steam cursor detection notes =
 +
}}
  
==== Run program as an administrator ====
+
==Audio==
Locate the .exe file in this location:
+
{{Audio
<pre>c:\Program Files\Steam\steamapp\common\Plants Vs. Zombies\PlantsVsZombies.exe</pre>
+
|separate volume          = true
 +
|separate volume notes    =  
 +
|surround sound          = false
 +
|surround sound notes    = Stereo only.
 +
|subtitles                = always on
 +
|subtitles notes          = All in-game dialogues are mumbling and always subtitled. The music video played at the end of the game has English voice acting and its lyrics is always displayed.
 +
|closed captions          = false
 +
|closed captions notes    =
 +
|mute on focus lost      = true
 +
|mute on focus lost notes =
 +
|eax support              = unknown
 +
|eax support notes        =
 +
|royalty free audio        = unknown
 +
|royalty free audio notes  =
 +
}}
  
*Right-Click on the PlantsVsZombies.exe file, click on the Compatibility tab, check the box next to 'Run this program as an administrator', click Apply and OK.  
+
{{L10n|content=
*Check the box next to 'Run this program in compatibility mode for:' and then select "Windows XP (Service Pack 2)".
+
{{L10n/switch
 +
|language  = English
 +
|interface = true
 +
|audio    = true
 +
|subtitles = n/a
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = false
 +
|notes    = Origin only.
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation for Steam GOTY, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = false
 +
|notes    = Origin only.
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation for Steam GOTY, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
 +
}}
 +
{{L10n/switch
 +
|language  = Hungarian
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation, [https://magyaritasok.hu/games/plants-vs-zombies download].
 +
}}
 +
{{L10n/switch
 +
|language  = Hungarian
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation for Steam GOTY, [https://magyaritasok.hu/games/plants-vs-zombies-goty-edition download].
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = false
 +
|notes    = Origin only.
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation for Steam GOTY, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
 +
}}
 +
{{L10n/switch
 +
|language  = Polish
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation, [https://web.archive.org/web/20160528202715/http://dl.ironsquad.pl/PlantsVsZombiesPL1.1.exe download].
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      =
 +
|notes    = Official localization by Buka Entertainment; local retail only.<ref>{{Refurl|url=http://www.gamer.ru/news/kompaniya-buka-stala-eksklyuzivnym-partnerom-popcap-na-territorii-rossii|title=Official announcement by the company|date=2023-07-25}}</ref>
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation for Steam GOTY, [https://www.zoneofgames.ru/games/plants_vs_zombies/files/3805.html download].
 +
}}
 +
{{L10n/switch
 +
|language  = Slovak
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation, [https://www.lokalizacie.sk/preklady/31-plants-vs-zombies/ download].
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=906344335 download].
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = false
 +
|notes    = Origin only.
 +
}}
 +
{{L10n/switch
 +
|language  = Mexican Spanish
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      =
 +
|notes    = Origin only.
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = true
 +
|notes    = Fan translation for Steam GOTY, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
 +
}}
 +
}}
  
== Save game ==
+
==Issues fixed==
=== Save game location ===
+
===BASS_ChannelSetAttributes function not found in bass.dll===
==== Steam ====
+
{{Fixbox|description=Rename bass.dll|ref=<ref>{{Refurl|url=https://steamcommunity.com/app/3590/discussions/0/630802343973290024/#c540736966035264125|title=Error with bass.dll :: Plants vs. Zombies: Game of the Year General Discussions|date=May 2023}}</ref><ref>[https://web.archive.org/web/20150424063937/http://forums.steampowered.com/forums/showthread.php?t=2345724 Bass.dll error - Steam Users' Forums] (retrieved)</ref><ref>{{Refurl|url=http://www.un4seen.com/forum/?topic=4228.0|title=Popcap framework and BASS 2.1 compatibility issue.|date=May 2023}}</ref>|fix=
Filenames are called user1.dat or user2.dat, etc.
+
# Rename any <code>bass.dll</code> file(s) found in these locations: <code>{{p|windir}}\</code>, <code>{{p|windir}}\System32\</code> and <code>{{p|windir}}\SysWow64\</code>
<pre>\Steam\userdata\[some_number]\3590\remote\</pre>
+
# If this causes issues with the program that installed <code>bass.dll</code> there, rename the file(s) back to <code>bass.dll</code>
 +
}}
 +
 
 +
{{Fixbox|description=Run the game in compatibility mode for Windows XP|ref={{cn|date=October 2016}}}}
 +
 
 +
===Unable to load Steam.dll===
 +
{{Fixbox|description=[[Steam#Verify Integrity of Game Cache|Verify integrity of game cache]]|ref={{cn|date=October 2016}}}}
 +
{{Fixbox|description=Run the game in compatibility mode for Windows XP SP2, and as an administrator|ref={{cn|date=October 2016}}}}
 +
{{Fixbox|description=Delete/rename Steam.dll|ref={{cn|date=July 2016}}|fix=
 +
# Exit the Steam client.
 +
# Go to the Steam installation folder.
 +
# Delete or rename <code>Steam.dll</code>
 +
# Launch the Steam client and let it update.
 +
}}
 +
 
 +
===Invalid Command Line Parameter: -changedir===
 +
{{Fixbox|description=Add -changedir parameter|ref={{cn|date=July 2016}}|fix=
 +
# Right-click the game in the Steam client and choose Properties.
 +
# Click Set Launch Options and add <code>-changedir</code>
 +
# Click OK to save the changes.
 +
}}
 +
 
 +
===Low frame rate in fullscreen mode===
 +
{{ii}} This game has frame rate issues in fullscreen mode on Windows 8 and later.
 +
 
 +
{{Fixbox|description=Install [[dgVoodoo 2]] |ref=<ref name="Keith"/>|fix=
 +
}}
 +
{{Fixbox|description=Apply the low-framerate fix|fix=
 +
# Download the [https://community.pcgamingwiki.com/files/file/549-plants-vs-zombies-low-frame-rate-fix/ low frame rate fix].
 +
# Extract the files from the .zip into the <code>{{p|game}}</code>.
 +
# Run the Install.bat as administrator to apply the fix.
 +
}}
 +
 
 +
===Error reading user file: Failed reading file===
 +
{{ii}} This is an error that occurs when the save game data is corrupted, likely as a result of syncing saves between Windows and OS X and launching the game.
 +
 
 +
{{Fixbox|description=Use [https://github.com/petronny/pvz_converter pvz converter] to convert saves|ref=<ref>{{Refurl|url=https://steamcommunity.com/app/3590/discussions/0/34095131905745057/|title=Fix: Crash on startup, Corrupt save (Mac) :: Plants vs. Zombies: Game of the Year General Discussions|date=May 2023}}</ref>|fix=
 +
}}
 +
 
 +
===Completing the Ice Level===
 +
{{ii}} Ice Level is one of the 17 hidden mini-games in the Limbo Page.<ref>[https://plantsvszombies.fandom.com/wiki/Canceled_mini-games Canceled mini-games | Plants vs. Zombies Wiki | Fandom]</ref> With no zombies (or nearly anything for that matter), you need to hack the game in order to win this level.
 +
 
 +
{{Fixbox|description=Hacking the game manually|ref=<ref>[https://plantsvszombies.fandom.com/wiki/Ice_Level Ice Level | Plants vs. Zombies Wiki | Fandom]</ref>|fix=
 +
# Close Plants vs. Zombies if it is open.
 +
# Open {{file|user1.dat}} (located [[#Save game data location|here]]) with a hex editor such as [https://mh-nexus.de/en/hxd/ HxD].
 +
# Go to offset {{code|0B4}}, change the data from {{code|00}} to {{code|01}}, and save. The next time when you open the Limbo Page, there should be a trophy mark on the Ice Level button.
 +
}}
 +
 
 +
==Other information==
 +
===API===
 +
{{API
 +
|direct3d versions      =
 +
|direct3d notes        =
 +
|directdraw versions    = 7
 +
|directdraw notes      =
 +
|opengl versions        = true
 +
|opengl notes          = OS X only.
 +
|glide versions        =
 +
|glide notes            =
 +
|software mode          = true
 +
|software mode notes    =
 +
|mantle support        =
 +
|mantle support notes  =
 +
|vulkan versions        =
 +
|vulkan notes          =
 +
|dos modes              =
 +
|dos modes notes        =
 +
|shader model versions  =
 +
|shader model notes    =
 +
|windows 32-bit exe    = true
 +
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 +
|windows exe notes      =
 +
|mac os x powerpc app  = true
 +
|macos intel 32-bit app = true
 +
|macos intel 64-bit app = false
 +
|macos arm app          = unknown
 +
|macos app notes        =
 +
|linux 32-bit executable= unknown
 +
|linux 64-bit executable= unknown
 +
|linux arm app          = unknown
 +
|linux executable notes =
 +
}}
 +
 
 +
===Middleware===
 +
{{Middleware
 +
|physics          =
 +
|physics notes    =
 +
|audio            = BASS
 +
|audio notes      =
 +
|interface        =
 +
|interface notes  =
 +
|input            =
 +
|input notes      =
 +
|cutscenes        =
 +
|cutscenes notes  =
 +
|multiplayer      =
 +
|multiplayer notes=
 +
}}
 +
 
 +
===[https://steamcommunity.com/sharedfiles/filedetails/?id=1475427266 Original Dancing Zombie]===
 +
{{ii}} The design for the Dancing Zombie was changed shortly after the game's release; this fan patch restores the original design for those who prefer it.
 +
 
 +
===Cosmetic-based tweaks===
 +
{{ii}} Type these during gameplay<ref>{{Refurl|url=https://www.gamesradar.com/plants-vs-zombies/cheats/|title=Plants vs Zombies Cheats|date=May 2023}}</ref>
 +
 
 +
{{Standard table|Cheat|Description|collapsed=no|content=
 +
{{Standard table/row|pinata|Showers candy when a zombie dies}}
 +
{{Standard table/row|trickedout|Alternate lawn mower appearance}}
 +
{{Standard table/row|future|Gives zombies futuristic shades}}
 +
{{Standard table/row|dance|Makes the zombies dance}}
 +
{{Standard table/row|sukhbir|Toggles the zombie's "call for brains" sound}}
 +
{{Standard table/row|daisies|Zombies leave small daisies behind when killed}}
 +
{{Standard table/row|mustache|Zombies now have mustaches}}
 +
}}
 +
 
 +
==System requirements==
 +
{{System requirements
 +
|OSfamily = Windows
 +
 
 +
|minOS    = XP
 +
|minCPU  = 1.2 GHz
 +
|minRAM  = 512 MB
 +
|minHD    = 65 MB
 +
|minVRAM  = 128 MB
 +
|minGPU  =
 +
|minDX    = 8
 +
}}
 +
 
 +
{{System requirements
 +
|OSfamily = OS X
 +
 
 +
|minOS    = 10.4.11
 +
|minCPU  = 1.66 GHz Dual Core
 +
|minRAM  = 1 GB
 +
|minHD    = 50 MB
 +
|minVRAM  = 64 MB
 +
 
 +
|recOS    = 10.5.8 - 10.6.x
 +
}}
  
[[Category:Game]]
+
{{References}}

Latest revision as of 19:45, 5 May 2024

Plants vs. Zombies
Plants vs. Zombies cover
Developers
PopCap Games
Publishers
PopCap Games
Electronic Arts
Russia Buka Entertainment
Engines
PopCap Games Framework
Release dates
Windows May 5, 2009
macOS (OS X) May 5, 2009
Reception
Metacritic 87
IGDB 85
Taxonomy
Monetization One-time game purchase, Subscription gaming service
Microtransactions None
Modes Singleplayer
Pacing Real-time
Perspectives Bird's-eye view
Controls Point and select
Genres Tower defense, Farming
Art styles Cartoon
Themes Fantasy, Zombies, Contemporary
Series Plants vs. Zombies
Plants vs. Zombies on HowLongToBeat
Plants vs. Zombies on IGDB
Plants vs. Zombies guide on StrategyWiki
Plants vs. Zombies on MobyGames
Plants vs. Zombies on Wikipedia
Plants vs. Zombies
Plants vs. Zombies 2009
Plants vs. Zombies: Garden Warfare 2014
Plants vs. Zombies: Garden Warfare 2 2016
Plants vs. Zombies: Battle for Neighborville 2019

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

Key points

For Windows 8 and later: use WineD3D to fix low frame rate issues.
Lacks improvements from home console and mobile versions,[1] including native widescreen, improved sprite resolutions, and controller support.

General information

Official website (archived)
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
Regular and Game of the Year Edition. Requires a disc check every once in a while.
Windows
macOS (OS X)
Epic Games Store
DRM details are not known
Game of the Year Edition.
Windows
Microsoft Store
Microsoft Store
Origin
Game of the Year Edition. Included exclusively with Xbox Game Pass for PC as part of its version of EA Play.
Windows
Origin
Origin
Game of the Year Edition. Included with EA Play.
Windows
macOS (OS X)
Steam
Icon overlay.png
Game of the Year Edition. Included with EA Play (Steam).
Windows
macOS (OS X)
Games for Windows Marketplace (unavailable)
Icon overlay.png
[2]
Windows

Essential improvements

Enable 3D acceleration with WineD3D

Most modern graphics cards won't be able to enable 3D acceleration in the game options.
Enabling 3D acceleration can fix low frame rate issues.
Use WineD3D[3]
  1. Download WineD3D for Windows version "4.5 staging" from this link (direct download). You can also go to Federico Dossena's website, access "Older versions archive" and download it from there.
  2. Open the ZIP archive and extract ddraw.dll, libwine.dll, and wined3d.dll to C:\ProgramData\PopCap Games\PlantsVsZombies.
  3. Open the game, and open the options menu. 3D acceleration should be enabled; if it is not, enable it.
If it is still not possible to enable 3D acceleration: try extracting the files to <path-to-game> as well.

Game data

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\Software\PopCap\PlantsVsZombies\
Microsoft Store
macOS (OS X)
Steam Play (Linux) <SteamLibrary-folder>/steamapps/compatdata/3590/pfx/[Note 1]

Save game data location

System Location
Windows %PROGRAMDATA%/PopCap Games/PlantsVsZombies/userdata/[Note 2]
Origin %PROGRAMDATA%/PopCap Games/PlantsVsZombies/userdata/
Steam <Steam-folder>/userdata/<user-id>/3590/remote/
macOS (OS X) $HOME/Library/Application Support/PopCap/PlantsVsZombiesMac/userdata/
Steam Play (Linux) <SteamLibrary-folder>/steamapps/compatdata/3590/pfx/[Note 1]
Use pvz converter to convert saves between Windows and OS X versions.

Save game cloud syncing

System Native Notes
Epic Games Launcher
Origin
Steam Cloud
Does not sync between Windows and Mac due to saves being incompatible across platforms.
Xbox Cloud

Video

In-game options menu.
In-game options menu.

Graphics feature State WSGF Notes
Widescreen resolution
800x600 by default.
Multi-monitor
Ultra-widescreen
4K Ultra HD
Field of view (FOV)
Windowed
Can also be toggled with Alt+ Enter.
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Anti-aliasing (AA)
See Anti-aliasing (AA).
Vertical sync (Vsync)
Set HKEY_CURRENT_USER\Software\PopCap\PlantsVsZombies\WaitForVSync to 1
60 FPS
For Windows 8 and later use the low frame rate fix.
120+ FPS
Frame rate is capped at 100 FPS.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Borderless fullscreen windowed

The low frame rate fix isn't needed with dgVoodoo; if applicable, you should uninstall the low frame rate fix first.
Use borderless hack[4]
  1. Download dgVoodoo 2 (v2.73 or later).
  2. Copy dgVoodoo.conf, dgVoodooCpl.exe, \MS\x86\D3DImm.dll, and \MS\x86\DDraw.dll to <path-to-game>.
  3. Open dgVoodoo.conf with a text editor.
  4. Find FullscreenAttributes = under [GeneralExt].
  5. Append fake to it, so it looks like FullscreenAttributes = fake.
  6. Change DisableAltEnterToToggleScreenMode = true to DisableAltEnterToToggleScreenMode = false under [DirectX].
  7. Save changes. The game should run in borderless fullscreen now.
  8. If the game doesn't run in borderless fullscreen run it in Windows XP (Service Pack 2) compatibility mode.

Input

Keyboard and mouse State Notes
Remapping
Gameplay does not use a keyboard at all.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support

Audio

Audio feature State Notes
Separate volume controls
Surround sound
Stereo only.
Subtitles
All in-game dialogues are mumbling and always subtitled. The music video played at the end of the game has English voice acting and its lyrics is always displayed.
Closed captions
Mute on focus lost
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
French
Origin only.
French
Fan translation for Steam GOTY, download.
German
Origin only.
German
Fan translation for Steam GOTY, download.
Hungarian
Fan translation, download.
Hungarian
Fan translation for Steam GOTY, download.
Italian
Origin only.
Italian
Fan translation for Steam GOTY, download.
Polish
Fan translation, download.
Russian
Official localization by Buka Entertainment; local retail only.[5]
Russian
Fan translation for Steam GOTY, download.
Slovak
Fan translation, download.
Brazilian Portuguese
Fan translation, download.
Spanish
Origin only.
Latin American Spanish
Origin only.
Spanish
Fan translation for Steam GOTY, download.

Issues fixed

BASS_ChannelSetAttributes function not found in bass.dll

Rename bass.dll[6][7][8]
  1. Rename any bass.dll file(s) found in these locations: %WINDIR%\, %WINDIR%\System32\ and %WINDIR%\SysWow64\
  2. If this causes issues with the program that installed bass.dll there, rename the file(s) back to bass.dll
Run the game in compatibility mode for Windows XP[citation needed]

Unable to load Steam.dll

Verify integrity of game cache[citation needed]
Run the game in compatibility mode for Windows XP SP2, and as an administrator[citation needed]
Delete/rename Steam.dll[citation needed]
  1. Exit the Steam client.
  2. Go to the Steam installation folder.
  3. Delete or rename Steam.dll
  4. Launch the Steam client and let it update.

Invalid Command Line Parameter: -changedir

Add -changedir parameter[citation needed]
  1. Right-click the game in the Steam client and choose Properties.
  2. Click Set Launch Options and add -changedir
  3. Click OK to save the changes.

Low frame rate in fullscreen mode

This game has frame rate issues in fullscreen mode on Windows 8 and later.
Install dgVoodoo 2[4]
Apply the low-framerate fix
  1. Download the low frame rate fix.
  2. Extract the files from the .zip into the <path-to-game>.
  3. Run the Install.bat as administrator to apply the fix.

Error reading user file: Failed reading file

This is an error that occurs when the save game data is corrupted, likely as a result of syncing saves between Windows and OS X and launching the game.
Use pvz converter to convert saves[9]

Completing the Ice Level

Ice Level is one of the 17 hidden mini-games in the Limbo Page.[10] With no zombies (or nearly anything for that matter), you need to hack the game in order to win this level.
Hacking the game manually[11]
  1. Close Plants vs. Zombies if it is open.
  2. Open user1.dat (located here) with a hex editor such as HxD.
  3. Go to offset 0B4, change the data from 00 to 01, and save. The next time when you open the Limbo Page, there should be a trophy mark on the Ice Level button.

Other information

API

Technical specs Supported Notes
DirectDraw 7
OpenGL
OS X only.
Software renderer
ExecutablePPC 32-bit 64-bit Notes
Windows
macOS (OS X)
This 32-bit-only macOS game does not work on macOS Catalina (10.15) or later.

Middleware

Middleware Notes
Audio BASS

Original Dancing Zombie

The design for the Dancing Zombie was changed shortly after the game's release; this fan patch restores the original design for those who prefer it.

Cosmetic-based tweaks

Type these during gameplay[12]
Cheat Description
pinata Showers candy when a zombie dies
trickedout Alternate lawn mower appearance
future Gives zombies futuristic shades
dance Makes the zombies dance
sukhbir Toggles the zombie's "call for brains" sound
daisies Zombies leave small daisies behind when killed
mustache Zombies now have mustaches

System requirements

Windows
Minimum
Operating system (OS) XP
Processor (CPU) 1.2 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 65 MB
Video card (GPU) 128 MB of VRAM
DirectX 8 compatible
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.4.11
Processor (CPU) 1.66 GHz Dual Core
System memory (RAM) 1 GB
Hard disk drive (HDD) 50 MB
Video card (GPU) 64 MB of VRAM

Notes

  1. 1.0 1.1 Notes regarding Steam Play (Linux) data:
  2. When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References