Plants vs. Zombies: Game of the Year

Plants vs. Zombies: Game of the Year

评价数不足
Plants vs. Zombies Lag/Crash Fix (Proton/Windows)
由 Canuckistanian 制作
Are you running the Linux version of Steam and experiencing lag, crashes, or bugs when running Plants vs. Zombies via Proton? This method may be of help to you in solving some issues. Windows users experiencing issues may also try this method. In any case, your experience may vary. I cannot guarantee that this will fix every problem but it does help sometimes.

Notably, this fixes the extreme lag typically seen in this game when running via Proton. Steam Achievements should still function correctly after applying this fix.
   
奖励
收藏
已收藏
取消收藏
Plants vs. Zombies Fix
Here is all the info you need to try this with Plants vs. Zombies.

Normal executable: 'PlantsVsZombies.exe'
True executable: 'popcapgame1.exe'
True executable location: In 'C:\ProgramData\PopCap Games\PlantsVsZombies\')
Proton users, remember that the location will be under 'drive_c' in the game's Proton prefix. Proton prefixes are stored in your 'steamapps' folder under 'compatdata'. Plants vs. Zombies' Proton prefix should be number 3590.

Just do the following:
  1. Run Plants vs. Zombies.
  2. Go to the file location given above.
  3. Copy "popcapgame1.exe" to the game's installation folder.
  4. Quit Plants vs. Zombies.
  5. Rename "PlantsVsZombies.exe" to something else, like "PlantsVsZombies.exe.old".
  6. Rename the copy you made of "popcapgame1.exe" to "PlantsVsZombies.exe".
  7. Done! Now you can play the game as normal.

That's it. I hope this guide is helpful to you. For more information consult the Talismania guide linked above.
11 条留言
ruslanvyborg 12 月 11 日 上午 8:52 
Шикарно! Действительно этот способ работает, но очень замороченно... ЕА издеваются над ПК в своём репертуаре.:steamfacepalm:
diego.rodriguez 11 月 28 日 下午 12:43 
Thank you very much! :steamhappy: It works on Manjaro 25 (Steam with Proton).
Canuckistanian  [作者] 11 月 7 日 下午 8:26 
@takratzer
I am unsure what you mean by "easier". I will try to answer anyway.

I do not think you can perform this process in the Steam Deck's normal mode. To perform this fix, switch to desktop mode and run the game there. The controls you need are simple:
- Trackpads for mouse
- D-pad for arrow keys
- A for Enter
- Right trigger for left click
- Left trigger for right click
- Steam+X for summoning the on-screen keyboard

Open the file manager, Dolphin. Dolphin is in the taskbar at the bottom of the screen or in the system menu which can be opened with the button in the bottom left.

In Dolphin, navigate to the path listed in the guide. On a Steam Deck your steamapps folder should be '/home/deck/.steam/steam/steamapps'. You can right click on the true executable and select copy from the menu that appears. Copy it to the required location, use the on-screen keyboard to do the required renaming and you are all set. It is the same process as on a normal Linux system.
takratzer 11 月 6 日 上午 11:12 
I'm playing on a Steam Deck. is there an easier way to do this?
NekoMoki 11 月 1 日 下午 10:37 
A little information for those who might have missed something:
If you have the game installed on another drive that does not have the Steam/system see the SteamLibary folder on the other drive where you installed the game (exmaple: /mnt/SSD/SteamLibrary/steamapps/compatdata/3590)
GreenBordeaux 10 月 31 日 下午 1:03 
Brilliant, this worked for me (Kubuntu 24.04 LTS and Steam). Now its playable again! Thnx!
Canuckistanian  [作者] 10 月 28 日 下午 6:13 
@consent_
To clarify my previous comment, you should quit PlantsVsZombies.exe first, and only after that has exited, quit popcapgame1.exe.

PlantsVsZombies.exe is responsible for deleting popcapgame1.exe, but if popcapgame1.exe is still running when you use Task Manager to end PlantsVsZombies.exe, it should not be deleted.
Canuckistanian  [作者] 10 月 28 日 下午 5:23 
@consent_
Oh, right. When writing this I forgot that Windows does not let you copy running executables. On Linux you can copy running executables just fine. I have not run Windows on my machine in several years, so I forgot.

Fortunately, there is an alternative. You can use Task Manager to force-quit the game while it is running. Because this kills the game mid-execution, the true executable will not be deleted, and you should be able to copy it at your leisure.

I will see about updating the guide to note this at some point.
consent_ 10 月 26 日 上午 3:34 
Oh, didn't figured that exe file will appear only if game is running. But I have other issue now. I can't copy the file cause the game is running.
Canuckistanian  [作者] 10 月 25 日 下午 9:24 
@consent_
If you followed the process above, popcapgame1.exe should be present in "C:\ProgramData\PopCap Games\PlantsVsZombies\". Do note that the game must be running. If you close the game the executable will be removed when the game closes. If you are on a Linux-based operating system, popcapgame1.exe is probably located at "~/.steam/debian-installation/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap Games/PlantsVsZombies/".