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 (→‎API: updated template usage)
m
 
(45 intermediate revisions by 21 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 15: Line 17:
 
{{Infobox game/row/reception|IGDB|plants-vs-zombies|85}}
 
{{Infobox game/row/reception|IGDB|plants-vs-zombies|85}}
 
|taxonomy    =
 
|taxonomy    =
{{Infobox game/row/taxonomy/monetization      | }}
+
{{Infobox game/row/taxonomy/monetization      | One-time game purchase, Subscription gaming service }}
 
{{Infobox game/row/taxonomy/microtransactions | None }}
 
{{Infobox game/row/taxonomy/microtransactions | None }}
 
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
 
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
Line 21: Line 23:
 
{{Infobox game/row/taxonomy/perspectives      | Bird's-eye view }}
 
{{Infobox game/row/taxonomy/perspectives      | Bird's-eye view }}
 
{{Infobox game/row/taxonomy/controls          | Point and select }}
 
{{Infobox game/row/taxonomy/controls          | Point and select }}
{{Infobox game/row/taxonomy/genres            | Tower defense }}
+
{{Infobox game/row/taxonomy/genres            | Tower defense, Farming }}
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/vehicles          | }}
 
{{Infobox game/row/taxonomy/vehicles          | }}
 
{{Infobox game/row/taxonomy/art styles        | Cartoon }}
 
{{Infobox game/row/taxonomy/art styles        | Cartoon }}
{{Infobox game/row/taxonomy/themes            | Fantasy, Zombies }}
+
{{Infobox game/row/taxonomy/themes            | Fantasy, Zombies, Contemporary }}
 
{{Infobox game/row/taxonomy/series            | Plants vs. Zombies }}
 
{{Infobox game/row/taxonomy/series            | Plants vs. Zombies }}
 
|steam appid  = 3590
 
|steam appid  = 3590
Line 35: Line 37:
 
|igdb        =  
 
|igdb        =  
 
|strategywiki = Plants vs. Zombies
 
|strategywiki = Plants vs. Zombies
|mobygames    = plants-vs-zombies
+
|mobygames    = 40621
 
|wikipedia    = Plants vs. Zombies
 
|wikipedia    = Plants vs. Zombies
 
|winehq      = 9657
 
|winehq      = 9657
Line 41: Line 43:
 
}}  
 
}}  
  
'''Key points'''
+
{{Introduction
{{ii}} 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].
+
|introduction      =
 +
 
 +
|release history  = The PC version 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.
 +
 
 +
|current state    = For Windows 8 and later, see [[#Enable 3D acceleration with WineD3D|use WineD3D to fix low frame rate issues]].
 +
}}
  
 
'''General information'''
 
'''General information'''
Line 50: Line 57:
 
==Availability==
 
==Availability==
 
{{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| Retail | | DRM-free | Regular and Game of the Year Edition. | | Windows, OS X }}
{{Availability/row| Amazon | B008O8GZ90 | Origin | | | 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| Origin | plants-vs-zombies/plants-vs-zombies | Origin | Game of the Year Edition. Included with {{Store feature|Origin Access Basic}}. | | Windows, OS X }}
+
{{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| 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). Alternatively, go to [https://fdossena.com/?p=wined3d/index.frag Federico Dossena's website], access "Older versions archive" and download it from there.
 +
# Extract {{file|ddraw.dll}}, {{file|libwine.dll}}, and {{file|wined3d.dll}} to {{folder|{{p|programdata}}\PopCap Games\PlantsVsZombies}}.
 +
# 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 {{folder|{{p|game}}}} as well.
 
}}
 
}}
  
Line 60: Line 80:
 
{{Game data|
 
{{Game data|
 
{{Game data/config|Windows|{{P|hkcu}}\Software\PopCap\PlantsVsZombies\}}
 
{{Game data/config|Windows|{{P|hkcu}}\Software\PopCap\PlantsVsZombies\}}
 +
{{Game data/config|Microsoft Store|}}
 
{{Game data/config|OS X|}}
 
{{Game data/config|OS X|}}
 
}}
 
}}
Line 65: Line 86:
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/saves|Windows|{{p|programdata}}/PopCap Games/PlantsVsZombies/userdata/}}
+
{{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|Steam|{{p|steam}}/userdata/{{p|uid}}/3590/remote/}}
+
{{Game data/saves|OS X|{{p|osxhome}}/Library/Application Support/PopCap/PlantsVsZombiesMac/userdata/}}
{{Game data/saves|OS X|~/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.
 
{{ii}} Use [https://github.com/petronny/pvz_converter pvz converter] to convert saves between Windows and OS X versions.
Line 76: Line 96:
 
|discord                  =  
 
|discord                  =  
 
|discord notes            =  
 
|discord notes            =  
|epic games launcher      =  
+
|epic games launcher      = false
 
|epic games launcher notes =  
 
|epic games launcher notes =  
 
|gog galaxy                =  
 
|gog galaxy                =  
Line 83: Line 103:
 
|origin notes              =  
 
|origin notes              =  
 
|steam cloud              = true
 
|steam cloud              = true
|steam cloud notes        =  
+
|steam cloud notes        = Does not sync between Windows and Mac due to saves being incompatible across platforms.
 
|ubisoft connect          =  
 
|ubisoft connect          =  
 
|ubisoft connect notes    =  
 
|ubisoft connect notes    =  
|xbox cloud                =  
+
|xbox cloud                = unknown
 
|xbox cloud notes          =  
 
|xbox cloud notes          =  
 
}}
 
}}
Line 94: Line 114:
 
{{Video
 
{{Video
 
|wsgf link                  = https://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 114: Line 134:
 
|anisotropic                = n/a
 
|anisotropic                = n/a
 
|anisotropic notes          =  
 
|anisotropic notes          =  
|antialiasing              = n/a
+
|antialiasing              = hackable
|antialiasing notes        =  
+
|antialiasing notes        = See [[#Anti-aliasing (AA)|Anti-aliasing (AA)]].
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =  
 
|vsync                      = hackable
 
|vsync                      = hackable
 
|vsync notes                = Set <code>{{P|hkcu}}\Software\PopCap\PlantsVsZombies\WaitForVSync</code> to <code>1</code>
 
|vsync notes                = Set <code>{{P|hkcu}}\Software\PopCap\PlantsVsZombies\WaitForVSync</code> to <code>1</code>
Line 122: Line 145:
 
|120 fps                    = false
 
|120 fps                    = false
 
|120 fps notes              = Frame rate is capped at 100 FPS.
 
|120 fps notes              = Frame rate is capped at 100 FPS.
|hdr                        = unknown
+
|hdr                        = false
 
|hdr notes                  =  
 
|hdr notes                  =  
|color blind                = unknown
+
|color blind                = false
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
Line 132: Line 155:
  
 
{{Fixbox|description=Use borderless hack|ref=<ref name="Keith">{{Refcheck|user=Keith|date=2021-02-27}}</ref>|fix=
 
{{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).
+
# Download [[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}}.
+
# Copy {{file|dgVoodoo.conf}}, {{file|dgVoodooCpl.exe}}, {{file|\MS\x86\D3DImm.dll}}, and {{file|\MS\x86\DDraw.dll}} to {{folder|{{p|game}}}}.
 
# Open {{file|dgVoodoo.conf}} with a text editor.
 
# Open {{file|dgVoodoo.conf}} with a text editor.
 
# Find {{code|1=FullscreenAttributes = }} under {{code|[GeneralExt]}}.
 
# Find {{code|1=FullscreenAttributes = }} under {{code|[GeneralExt]}}.
Line 139: Line 162:
 
# Change {{code|1=DisableAltEnterToToggleScreenMode  = true}} to {{code|1=DisableAltEnterToToggleScreenMode  = false}} under {{code|[DirectX]}}.
 
# Change {{code|1=DisableAltEnterToToggleScreenMode  = true}} to {{code|1=DisableAltEnterToToggleScreenMode  = false}} under {{code|[DirectX]}}.
 
# Save changes. The game should run in borderless fullscreen now.
 
# 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.
+
# If the game does not run in borderless fullscreen run it in Windows XP (Service Pack 2) [[Windows Compatibility Mode|compatibility mode]].
 
}}
 
}}
  
Line 145: Line 168:
 
{{Input
 
{{Input
 
|key remap                = false
 
|key remap                = false
|key remap notes          =  
+
|key remap notes          = Gameplay does not use a keyboard at all.
 
|acceleration option      = n/a
 
|acceleration option      = n/a
 
|acceleration option notes =  
 
|acceleration option notes =  
Line 154: Line 177:
 
|invert mouse y-axis      = n/a
 
|invert mouse y-axis      = n/a
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
|touchscreen              = unknown
+
|touchscreen              = false
 
|touchscreen notes        =  
 
|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    =  
|controller sensitivity    = unknown
+
|controller sensitivity    = n/a
 
|controller sensitivity notes=  
 
|controller sensitivity notes=  
|invert controller y-axis  = unknown
+
|invert controller y-axis  = n/a
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|xinput controllers        = unknown
+
|xinput controllers        = false
 
|xinput controllers notes  =  
 
|xinput controllers notes  =  
|xbox prompts              = unknown
+
|xbox prompts              = false
 
|xbox prompts notes        =  
 
|xbox prompts notes        =  
|impulse triggers          = unknown
+
|impulse triggers          = false
 
|impulse triggers notes    =  
 
|impulse triggers notes    =  
|dualshock 4              = unknown
+
|dualshock 4              = false
 
|dualshock 4 notes        =  
 
|dualshock 4 notes        =  
|dualshock prompts        = unknown
+
|dualshock prompts        = false
 
|dualshock prompts notes  =  
 
|dualshock prompts notes  =  
|light bar support        = unknown
+
|light bar support        = false
 
|light bar support notes  =  
 
|light bar support notes  =  
 
|dualshock 4 modes        = unknown
 
|dualshock 4 modes        = unknown
 
|dualshock 4 modes notes  =  
 
|dualshock 4 modes notes  =  
|tracked motion controllers= unknown
+
|tracked motion controllers= false
 
|tracked motion controllers notes =  
 
|tracked motion controllers notes =  
|tracked motion prompts    = unknown
+
|tracked motion prompts    = false
 
|tracked motion prompts notes =  
 
|tracked motion prompts notes =  
|other controllers        = unknown
+
|other controllers        = false
 
|other controllers notes  =  
 
|other controllers notes  =  
|other button prompts      = unknown
+
|other button prompts      = false
 
|other button prompts notes=  
 
|other button prompts notes=  
|controller hotplug        = unknown
+
|controller hotplug        = false
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
|haptic feedback          = unknown
+
|haptic feedback          = false
 
|haptic feedback notes    =  
 
|haptic feedback notes    =  
|simultaneous input        = unknown
+
|simultaneous input        = false
 
|simultaneous input notes  =  
 
|simultaneous input notes  =  
 
|steam input api          = unknown
 
|steam input api          = unknown
Line 219: Line 242:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              = unknown
 
|eax support              = unknown
|eax support notes        =  
+
|eax support notes         =
 +
|royalty free audio       = unknown
 +
|royalty free audio notes  =  
 
}}
 
}}
  
Line 230: Line 255:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = false
 +
|notes    = EA App only.
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 237: Line 270:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
+
  |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    = EA App only.
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 245: Line 286:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
+
  |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    = EA App only.
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 253: Line 318:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
+
  |notes    = Fan translation for Steam GOTY, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 261: Line 326:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [http://ironsquad.pl/artykul30/plants-vs-zombies-spolszczenie/ download].
+
  |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
 
{{L10n/switch
Line 269: Line 342:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [https://www.zoneofgames.ru/games/plants_vs_zombies/files/3805.html download].
+
  |notes    = Fan translation for Steam GOTY, [https://www.zoneofgames.ru/games/plants_vs_zombies/files/3805.html 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
 
{{L10n/switch
Line 277: Line 358:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [http://www.lokalizacie.sk/preklady/31-plants-vs-zombies/ download].
+
  |notes    = Fan translation, [https://www.lokalizacie.sk/preklady/31-plants-vs-zombies/ download].
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = false
 +
|subtitles = n/a
 +
|fan      = false
 +
|notes    = EA App only.
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 285: Line 374:
 
  |subtitles = n/a
 
  |subtitles = n/a
 
  |fan      = true
 
  |fan      = true
  |notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
+
  |notes    = Fan translation for Steam GOTY, [https://steamcommunity.com/sharedfiles/filedetails/?id=1293535279 download].
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Brazilian Portuguese
+
  |language  = Mexican Spanish
  |interface = hackable
+
  |interface = true
 
  |audio    = false
 
  |audio    = false
 
  |subtitles = n/a
 
  |subtitles = n/a
  |fan      = true
+
  |fan      =
  |notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=906344335 download].
+
  |notes    = EA App only.
 
}}
 
}}
 
}}
 
}}
Line 299: Line 388:
 
==Issues fixed==
 
==Issues fixed==
 
===BASS_ChannelSetAttributes function not found in bass.dll===
 
===BASS_ChannelSetAttributes function not found in bass.dll===
{{Fixbox|description=Rename bass.dll|ref=<ref>[https://steamcommunity.com/app/3590/discussions/0/630802343973290024/#c540736966035264125 Error with bass.dll :: Plants vs. Zombies: Game of the Year General Discussions]</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>[http://www.un4seen.com/forum/?topic=4228.0 Popcap framework and BASS 2.1 compatibility issue.]</ref>|fix=
+
{{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=
# 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 {{file|bass.dll}} file(s) found in these locations: {{folder|{{p|windir}}}}, {{folder|{{p|windir}}\System32}} and {{folder|{{p|windir}}\SysWow64}}.
# 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 {{file|bass.dll}} there, rename the file(s) back to {{file|bass.dll}}.
 
}}
 
}}
  
Line 312: Line 401:
 
# Exit the Steam client.
 
# Exit the Steam client.
 
# Go to the Steam installation folder.  
 
# Go to the Steam installation folder.  
# Delete or rename <code>Steam.dll</code>
+
# Delete or rename {{file|Steam.dll}}.
 
# Launch the Steam client and let it update.
 
# Launch the Steam client and let it update.
 
}}
 
}}
  
 
===Invalid Command Line Parameter: -changedir===
 
===Invalid Command Line Parameter: -changedir===
{{Fixbox|description=Add -changedir parameter|ref={{cn|date=July 2016}}|fix=
+
{{Fixbox|description=Run the game with the {{code|-changedir}} [[Glossary:Command line arguments|command line argument]]|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.
 
 
}}
 
}}
  
Line 330: Line 416:
 
{{Fixbox|description=Apply the low-framerate fix|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].
 
# 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>.
+
# Extract the files from the .zip into the {{folder|{{p|game}}}}.
# Run the Install.bat as administrator to apply the fix.
+
# Run {{file|Install.bat}} as administrator to apply the fix.
 
}}
 
}}
  
Line 337: Line 423:
 
{{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.
 
{{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>[https://steamcommunity.com/app/3590/discussions/0/34095131905745057/ Fix: Crash on startup, Corrupt save (Mac) :: Plants vs. Zombies: Game of the Year General Discussions]</ref>|fix=
+
{{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.
 
}}
 
}}
  
Line 363: Line 458:
 
|windows 32-bit exe    = true
 
|windows 32-bit exe    = true
 
|windows 64-bit exe    = false
 
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 
|windows exe notes      =  
 
|windows exe notes      =  
 
|mac os x powerpc app  = true
 
|mac os x powerpc app  = true
 
|macos intel 32-bit app = true
 
|macos intel 32-bit app = true
 
|macos intel 64-bit app = false
 
|macos intel 64-bit app = false
|macos arm app          =  
+
|macos arm app          = unknown
 
|macos app notes        =
 
|macos app notes        =
 
|linux 32-bit executable= unknown
 
|linux 32-bit executable= unknown
 
|linux 64-bit executable= unknown
 
|linux 64-bit executable= unknown
 +
|linux arm app          = unknown
 
|linux executable notes =  
 
|linux executable notes =  
 
}}
 
}}
Line 394: Line 491:
  
 
===Cosmetic-based tweaks===
 
===Cosmetic-based tweaks===
{{ii}} Type these during gameplay<ref>[https://www.gamesradar.com/plants-vs-zombies/cheats/ Plants vs Zombies Cheats]</ref>
+
{{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|Cheat|Description|collapsed=no|content=

Latest revision as of 16:05, 30 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.

Plants vs. Zombies is a singleplayer bird's-eye view tower defense and farming game in the Plants vs. Zombies series.

The PC version lacks improvements from home console and mobile versions,[1] including native widescreen, improved sprite resolutions, and controller support.

For Windows 8 and later, see use WineD3D to fix low frame rate issues.

General information

Official website (archived)
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
DRM-free
Regular and Game of the Year Edition.
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). Alternatively, go to Federico Dossena's website, access "Older versions archive" and download it from there.
  2. Extract ddraw.dll, libwine.dll, and wined3d.dll to %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]
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 does not 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
EA App only.
French
Fan translation for Steam GOTY, download.
German
EA App only.
German
Fan translation for Steam GOTY, download.
Hungarian
Fan translation, download.
Hungarian
Fan translation for Steam GOTY, download.
Italian
EA App 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.
Brazilian Portuguese
Fan translation, download.
Slovak
Fan translation, download.
Spanish
EA App only.
Spanish
Fan translation for Steam GOTY, download.
Latin American Spanish
EA App only.

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

Run the game with the -changedir command line argument[citation needed]

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 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