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
(added borderless hack with dgvoodoo)
Line 111: Line 111:
 
|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  =  
+
|borderless windowed notes  = See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]].
 
|anisotropic                = n/a
 
|anisotropic                = n/a
 
|anisotropic notes          =  
 
|anisotropic notes          =  
Line 127: Line 127:
 
|color blind                = unknown
 
|color blind                = unknown
 
|color blind notes          =  
 
|color blind notes          =  
 +
}}
 +
 +
===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]===
 +
{{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.
 
}}
 
}}
  
Line 313: Line 326:
 
{{ii}} This game has frame rate issues in fullscreen mode on Windows 8 and later.
 
{{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=
 
{{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].

Revision as of 14:25, 27 February 2021

Plants vs. Zombies
Plants vs. Zombies cover
Developers
PopCap Games
Publishers
Electronic Arts
Engines
PopCap Games Framework
Release dates
Windows May 5, 2009
macOS (OS X) May 5, 2009
Reception
Metacritic 87
IGDB 85
Taxonomy
Microtransactions None
Modes Singleplayer
Pacing Real-time
Perspectives Bird's-eye view
Controls Point and select
Genres Tower defense
Art styles Cartoon
Themes Fantasy, Zombies
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 the low frame rate fix.

General information

Official website (archived)
Plants vs. Zombies Wikia
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)
Amazon.com
Origin
Windows
macOS (OS X)
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)

Game data

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\Software\PopCap\PlantsVsZombies\
macOS (OS X)
Steam Play (Linux) <Steam-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) ~/Library/Application Support/PopCap/PlantsVsZombiesMac/userdata/
Steam Play (Linux) <Steam-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

Video

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

Graphics feature State WSGF Notes
Widescreen resolution
Pillarboxed 800x600 only.
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)
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[1]
  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.

Input

Keyboard and mouse State Notes
Remapping
See the glossary page for potential workarounds.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Controller types

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

Localizations

Language UI Audio Sub Notes
English
French
Fan translation, download.
German
Fan translation, download.
Italian
Fan translation, download.
Polish
Fan translation, download.
Russian
Fan translation, download.
Slovak
Fan translation, download.
Spanish
Fan translation, download.
Brazilian Portuguese
Fan translation, download.

Issues fixed

BASS_ChannelSetAttributes function not found in bass.dll

Rename bass.dll[2][3][4]
  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[1]
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[5]

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)
[6]

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.

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 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/3590/ in addition to or instead of this directory. The app ID (3590) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.
  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