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 (→‎Issues fixed: corrected filename)
 
(136 intermediate revisions by 50 users not shown)
Line 1: Line 1:
 
{{Infobox game
 
{{Infobox game
|cover        = Plants vs Zombies.jpg
+
|cover        = Plants vs Zombies.png
 
|developers  =  
 
|developers  =  
 
{{Infobox game/row/developer|PopCap Games}}
 
{{Infobox game/row/developer|PopCap Games}}
 
|publishers  =  
 
|publishers  =  
 +
{{Infobox game/row/publisher|PopCap Games}}
 
{{Infobox game/row/publisher|Electronic Arts}}
 
{{Infobox game/row/publisher|Electronic Arts}}
 +
{{Infobox game/row/publisher|Buka Entertainment|Russia}}
 
|engines      =  
 
|engines      =  
 
{{Infobox game/row/engine|PopCap Games Framework}}
 
{{Infobox game/row/engine|PopCap Games Framework}}
Line 10: Line 12:
 
{{Infobox game/row/date|Windows|May 5, 2009}}
 
{{Infobox game/row/date|Windows|May 5, 2009}}
 
{{Infobox game/row/date|OS X|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  = 3590
|gogcom page  =  
+
|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
 
|winehq      = 9657
|wikipedia    = Plants vs. Zombies
+
|license      = commercial
}}
+
}}
{{Series|Plants vs. Zombies}}
+
 
 +
'''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'''
 
'''General information'''
{{mm}} [http://www.popcap.com/ Official developer site]
+
{{mm}} [https://web.archive.org/web/20130330001642/http://www.popcap.com:80/games/plants-vs-zombies/pc Official website] (archived)
{{mm}} [http://www.popcap.com/plants-vs-zombies Official game series site]
+
{{mm}} [https://steamcommunity.com/app/3590/discussions/ Steam Community Discussions]
{{mm}} [http://plantsvszombies.wikia.com/wiki/Main_Page Plants vs. Zombies Wiki] - A wiki for everything Plants vs. Zombies related
 
{{mm}} [http://steamcommunity.com/app/3590/discussions/ Steam Community Discussions]
 
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| official | http://www.popcap.com/plants-vs-zombies-1 | unknown | Free trials are available for browsers and most major platforms.}}
+
{{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| Steam | 3590 | Steam | Game of the Year Edition.}}
+
{{Availability/row| Microsoft Store | / | 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 | Origin | Game of the Year Edition.}}
+
{{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.
 
}}
 
}}
{{ii}} A [https://chrome.google.com/webstore/detail/plants-vs-zombies/mmcegpfdgcoclcdfkjahiimlikdpnina Chrome Web Store] version is also available, and is compatible with Linux systems.
 
  
 
==Game data==
 
==Game data==
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|}}
+
{{Game data/config|Windows|{{P|hkcu}}\Software\PopCap\PlantsVsZombies\}}
{{Game data/row|OS X|}}
+
{{Game data/config|Microsoft Store|}}
 +
{{Game data/config|OS X|}}
 
}}
 
}}
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Windows|}}
+
{{Game data/saves|Windows|{{p|programdata}}/PopCap Games/PlantsVsZombies/userdata/}}
{{Game data/row|Origin|{{p|programdata}}/Popcap Games/PlantsVsZombies/userdata/}}
+
{{Game data/saves|Origin|{{p|programdata}}/PopCap Games/PlantsVsZombies/userdata/}}
{{Game data/row|Steam|{{p|steam}}/userdata/{{p|uid}}/3590/remote/}}
+
{{Game data/saves|Steam|{{p|steam}}/userdata/{{p|uid}}/3590/remote/}}
{{Game data/row|OS X|~/Library/Application Support/PopCap/PlantsVsZombiesMac/userdata/}}
+
{{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.
  
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
{{Save game cloud syncing
 
{{Save game cloud syncing
|origin               = true
+
|discord                  =
|origin notes         =  
+
|discord notes            =
|steam cloud           = true
+
|epic games launcher      =
|steam cloud notes     =  
+
|epic games launcher notes =
|uplay                =  
+
|gog galaxy                =
|uplay notes           =  
+
|gog galaxy notes          =
|gamesave manager      = true
+
|origin                   = true
|gamesave manager notes=  
+
|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         =  
 
}}
 
}}
{{--}} Saves are not compatible between Windows and OS X versions, causing saves to become [[#Error reading user file: Failed reading file|corrupted]] if used on the other platform.
 
  
==Video settings==
+
==Video==
[[File:Plants vs Zombies Options.png|290px|right|thumb|In-game options menu.]]
+
{{Image|Plants vs Zombies Options.png|In-game options menu.}}
{{Video settings
+
{{Video
|wsgf link                  = http://www.wsgf.org/dr/plants-vs-zombies
+
|wsgf link                  = https://www.wsgf.org/dr/plants-vs-zombies
|widescreen wsgf award      = unsupported
+
|widescreen wsgf award      = limited
 
|multimonitor wsgf award    = unsupported
 
|multimonitor wsgf award    = unsupported
 
|ultrawidescreen wsgf award = unsupported
 
|ultrawidescreen wsgf award = unsupported
 
|4k ultra hd wsgf award    = unsupported
 
|4k ultra hd wsgf award    = unsupported
|widescreen resolution      = false
+
|widescreen resolution      = hackable
|widescreen resolution notes= Pillarboxed 800x600 only.
+
|widescreen resolution notes= 800x600 by default.
 
|multimonitor              = false
 
|multimonitor              = false
 
|multimonitor notes        =  
 
|multimonitor notes        =  
Line 79: Line 126:
 
|windowed                  = true
 
|windowed                  = true
 
|windowed notes            = Can also be toggled with {{key|Alt|Enter}}.
 
|windowed notes            = Can also be toggled with {{key|Alt|Enter}}.
|borderless windowed        = false
+
|borderless windowed        = hackable
|borderless windowed notes  = Glitches if attempting to force.
+
|borderless windowed notes  = See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]].
 
|anisotropic                = n/a
 
|anisotropic                = n/a
 
|anisotropic notes          =  
 
|anisotropic notes          =  
|antialiasing              = false
+
|antialiasing              = hackable
|antialiasing notes        =  
+
|antialiasing notes        = See [[#Anti-aliasing (AA)|Anti-aliasing (AA)]].
|vsync                      = false
+
|upscaling                  = unknown
|vsync notes                =  
+
|upscaling tech            =
|oculus rift                = unknown
+
|upscaling notes            =  
|oculus rift notes         =  
+
|vsync                      = hackable
|high frame rate            = false
+
|vsync notes                = Set <code>{{P|hkcu}}\Software\PopCap\PlantsVsZombies\WaitForVSync</code> to <code>1</code>
|high frame rate notes     = Frame rate is capped at 29 FPS in fullscreen, 100 FPS in windowed.
+
|60 fps                    = true
|color blind                = unknown
+
|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          =  
 
|color blind notes          =  
 
}}
 
}}
  
==Input settings==
+
===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]===
{{Input settings
+
{{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.
 +
 
 +
{{Fixbox|description=Use borderless hack|ref=<ref name="Keith">{{Refcheck|user=Keith|date=2021-02-27}}</ref>|fix=
 +
# 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.
 +
}}
 +
 
 +
==Input==
 +
{{Input
 
|key remap                = false
 
|key remap                = false
|key remap notes          =  
+
|key remap notes          = Gameplay does not use a keyboard at all.
|acceleration option      = false
+
|acceleration option      = n/a
 
|acceleration option notes =  
 
|acceleration option notes =  
 +
|mouse sensitivity        = n/a
 +
|mouse sensitivity notes  =
 
|mouse menu                = true
 
|mouse menu                = true
 
|mouse menu notes          =  
 
|mouse menu notes          =  
|invert mouse y-axis      = false
+
|invert mouse y-axis      = n/a
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 +
|touchscreen              = false
 +
|touchscreen notes        =
 
|controller support        = false
 
|controller support        = false
 
|controller support notes  =  
 
|controller support notes  =  
|full controller          = unknown
+
|full controller          = false
 
|full controller notes    =  
 
|full controller notes    =  
|controller remap          = unknown
+
|controller remap          = false
 
|controller remap notes    =  
 
|controller remap notes    =  
|invert controller y-axis  = unknown
+
|controller sensitivity    = n/a
 +
|controller sensitivity notes=
 +
|invert controller y-axis  = n/a
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|touchscreen               = unknown
+
|xinput controllers        = false
|touchscreen notes        =  
+
|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 =  
 
}}
 
}}
  
==Audio settings==
+
==Audio==
{{Audio settings
+
{{Audio
 
|separate volume          = true
 
|separate volume          = true
 
|separate volume notes    =  
 
|separate volume notes    =  
 
|surround sound          = false
 
|surround sound          = false
|surround sound notes    =  
+
|surround sound notes    = Stereo only.
|subtitles                = true
+
|subtitles                = always on
|subtitles notes          =  
+
|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          = false
 
|closed captions notes    =  
 
|closed captions notes    =  
 
|mute on focus lost      = true
 
|mute on focus lost      = true
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
|eax support              =  
+
|eax support              = unknown
|eax support notes        =  
+
|eax support notes         =
 +
|royalty free audio       = unknown
 +
|royalty free audio notes  =  
 
}}
 
}}
  
==Issues unresolved==
+
{{L10n|content=
===Error reading user file: Failed reading file===
+
{{L10n/switch
{{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.
+
|language  = English
{{ii}} [[#Save game data location|Save data]] must be deleted in order to launch the game again. Steam user ego100000 claims to be able to repair the saves in this situation.<ref>[http://steamcommunity.com/app/3590/discussions/0/34095131905745057/ Fix: Crash on startup, Corrupt save (Mac) :: Plants vs. Zombies: Game of the Year General Discussions]</ref>
+
|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].
 +
}}
 +
}}
  
 
==Issues fixed==
 
==Issues fixed==
 
===BASS_ChannelSetAttributes function not found in bass.dll===
 
===BASS_ChannelSetAttributes function not found in bass.dll===
{{Fixbox|1=
+
{{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=
{{Fixbox/fix|Rename bass.dll|ref=<ref>[http://steamcommunity.com/app/3590/discussions/0/630802343973290024/#c540736966035264125 Error with bass.dll :: Plants vs. Zombies: Game of the Year General Discussions]</ref><ref>[http://forums.steampowered.com/forums/showthread.php?p=31830981 Bass.dll error - Steam Users' Forums]</ref><ref>[http://www.un4seen.com/forum/?topic=4228.0 Popcap framework and BASS 2.1 compatibility issue.]</ref>}}
+
# 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>
# Rename any <code>bass.dll</code> file(s) found in these locations: <code>C:\Windows\</code>, <code>C:\Windows\System32\</code> and <code>C:\Windows\SysWow64\</code>
 
 
# If this causes issues with the program that installed <code>bass.dll</code> there, rename the file(s) back to <code>bass.dll</code>
 
# 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|1=
+
{{Fixbox|description=Run the game in compatibility mode for Windows XP|ref={{cn|date=October 2016}}}}
{{Fixbox/fix|Run the game in compatibility mode for Windows XP}}
 
}}
 
  
 
===Unable to load Steam.dll===
 
===Unable to load Steam.dll===
{{Fixbox|1=
+
{{Fixbox|description=[[Steam#Verify Integrity of Game Cache|Verify integrity of game cache]]|ref={{cn|date=October 2016}}}}
{{Fixbox/fix|[[Steam#Verify Integrity of Game Cache|Verify integrity of game cache]]}}
+
{{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=
{{Fixbox|1=
 
{{Fixbox/fix|Run the game in compatibility mode for Windows XP SP2, and as an administrator}}
 
}}
 
{{Fixbox|1=
 
{{Fixbox/fix|Delete/rename Steam.dll}}
 
 
# Exit the Steam client.
 
# Exit the Steam client.
 
# Go to the Steam installation folder.  
 
# Go to the Steam installation folder.  
Line 166: Line 402:
  
 
===Invalid Command Line Parameter: -changedir===
 
===Invalid Command Line Parameter: -changedir===
{{Fixbox|1=
+
{{Fixbox|description=Add -changedir parameter|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Add -changedir parameter}}
 
 
# Right-click the game in the Steam client and choose Properties.
 
# Right-click the game in the Steam client and choose Properties.
 
# Click Set Launch Options and add <code>-changedir</code>
 
# Click Set Launch Options and add <code>-changedir</code>
 
# Click OK to save the changes.
 
# 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}}
 
}}
 
}}
  
Line 179: Line 508:
 
|minOS    = XP
 
|minOS    = XP
 
|minCPU  = 1.2 GHz
 
|minCPU  = 1.2 GHz
|minRAM  = 500 MB
+
|minRAM  = 512 MB
 
|minHD    = 65 MB
 
|minHD    = 65 MB
 
|minVRAM  = 128 MB
 
|minVRAM  = 128 MB
 +
|minGPU  =
 +
|minDX    = 8
 
}}
 
}}
  

Latest revision as of 15:06, 3 March 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)
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
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