Aller au contenu

[Arcade PC] Plants vs Zombies Last Stand (Sega)


Go to solution Solved by lords,

Messages recommandés

  • 4 mois après...
Posté(e)
hace 13 minutos, Ghostxdeath dijo:

any way to make it work on windows 11?

I haven't tried the game yet, but have you tried it with Windows compatibility mode? Just leave it on Windows 10 and it'll probably work. 

Posté(e) (modifié)
On 8/16/2025 at 2:11 AM, MFT_Man said:

I haven't tried the game yet, but have you tried it with Windows compatibility mode? Just leave it on Windows 10 and it'll probably work. 

It was the first thing I did but it didn't work (and it only supports Windows 8     )
On the other PC I have with Windows 10 it works without problems, so I'm asking if there's a way to make it work on Win11.

Modifié par Ghostxdeath
Posté(e)
Il y a 5 heures, Ghostxdeath a dit :

It was the first thing I did but it didn't work (and it only supports Windows 8     )
On the other PC I have with Windows 10 it works without problems, so I'm asking if there's a way to make it work on Win11.

hi !

 

works perfectly on w11

Posté(e)
On 8/18/2025 at 1:14 AM, nosoucy62 said:

hi !

 

works perfectly on w11

It's strange because I've tried it on several devices with Windows 11 and it didn't work on any of them, but it works without any problems with Windows 10.

 

Posté(e) (modifié)
14 minutes ago, Ghostxdeath said:

It's strange because I've tried it on several devices with Windows 11 and it didn't work on any of them, but it works without any problems with Windows 10.

 

You got reltek driver enabled, also may need to plugin a external speaker if you have none , but saying don't work, doesn't provide much info, did you allow thru your firewall, without knowing what's going on, can't really suggest anything else 

Modifié par joe555
Posté(e)
On 8/19/2025 at 10:01 PM, joe555 said:

You got reltek driver enabled, also may need to plugin a external speaker if you have none , but saying don't work, doesn't provide much info, did you allow thru your firewall, without knowing what's going on, can't really suggest anything else 

Thanks, it worked for me with the audio, since when I connect an external speaker, Windows detects it as headphones.

  • 3 mois après...
Posté(e)
On 11/26/2025 at 8:13 AM, JustinCredible81 said:

Any way to make it widescreen? If I change resolution to 1920 x 1080 it stops booting. 

Cuz you must 1080x1920 

  • 3 mois après...
  • Solution
Posté(e) (modifié)

Troubleshooting & Setup Guide
1. Fixing Security Errors:
If you encounter a security error, delete diskimage.ini and patch.ini from your Windows root drive (usually C:\).
2. Setup/Install-Loop Issues
If the game tries to run it creates a diskimage.ini, patch.ini or bios file in your Windows folder, it’s likely because of a modified dk2win32.dll. Revert to the original DLL that came with the files to prevent this.
3. Graphics & Display Issues:
Black Question Mark: If the game displays a large black question mark after rebooting, you need to reinstall your graphics drivers.

4. Registry entry(s):
The Game Creates Netready LTD. in Windows. registry. It is recommended to leave this alone.
5. Sound Card & Shell Crashes:
If the shell closes immediately, it’s a sound card compatibility issue.
The game specifically looks for Realtek HD Sound or a Speaker Plugin HD.
Standard "Realtek(R)" cards may not work. 

You can check in your bios under advanced look for sound and set it to HD.

6. Easy setup: Instead of manual editing, load the game in TP, then exit. This automatically populates the game.ini with the correct drive and directory info. If you do edit it manually, do not change the sub-folder paths.

Key details about this game:

If Freeplay is on, pressing the Peashooter trigger during attract sequence will issue a credit.

I run it in full-screen (landscape or portrait) and coins. this way you can enter your initials. (Nvidia control panel: Graphics section) set Full screen. Sorry I don't know AMD but i Will Pick up a unit in the near future.

Manual game Levels:(debug codes)

Click on the grave to the left in the Start screen Named, (Ceased to exist)

It opens up a code box for different levels. (4 digit box). you get them no matter if you clear the screen or not in game. write them down if you want different stuff happening. 

Secret Unlock Codes:

so far some codes are 

1314: Front Yard
2652: Roof
1119: Mustache Mode
1476: Evening Roof
1512: Park (Rainy/Lightning)
2141: Golf Course 
2652 to skip to the roof

3313,2981,2916,3412,3512,2696,3119.

 

DemulShooter guide for Plants Vs Zombies can be found HERE. Thank you argonlefou, for all your great work and WolfCGB, for giving us this great Arcade Game.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

For The Users That Can't Get The Trigger To Work, Remember To Look In Demulshooters GitHub On How To Install The \Unity\Plants vs Zombies, Folder To The Root Of Sega\Sega\pvz. Where the pvz.exe is.

-------------------------
To Run in Teknoparrot. 
-------------------------
Run DemulShooter_GUI (make sure the folder and files, is installed in pvz dir where pvz is.
set your mouse.
boot up teknoparrot
load the game.
In game settings
Set Gneral - Input API to RawInput
Tick on, Forcemouse.
Save and Goto Controler setup
Set Test, Service , coin 
Set Gun to Your Mouse.
Set Gun Trigger To Mouse Left Right or Whatever you want.
Run game.

----------------------------------

To run standalone version.
----------------------------------

(make sure the folder and files, is installed in pvz dir where pvz is
Navigate to the  Sega\DemulShooter_v17.2 Folder.
Run DemulShooter_GUI. .
set your mouse. click save.
navigate to the Sega\Shell and run the shell.exe
in the taskbar by the clock. lower right of the monitor. it should show Demulshooter running once the games starts it should show Green if it shows Red. it didn't hook to the pvz.exe program
ESC out till your back in windows and retry.

 

I am only doing this because I care.

Cheers,

LordsOfTheRealm. aka ReverseAffect.

Modifié par lords
Update.
  • 2 semaines après...
Posté(e) (modifié)

I found a solution for those having issues with audio device detection and crashing, thought I'd share if anyone needs it. This is done by installing a virtual  audio device that can be switched to before game start, then switched back to your default HDMI audio after the game loads to get sound from the game properly. So no headphones or audio cables needed. The whole process is done via AHK script (v1.1 - https://www.autohotkey.com). This is for the STAND ALONE version of the game so demulshooter is used. 

You will need to download 3 windows utilities.

VB-Cable (requires installation)

NirCmd (command line app)
SoundVolumeView (command line app)

 

1. VB-Cable (Virtual Audio Cable)Official download page:
https://vb-audio.com/Cable/

 Direct download (latest version as of 2024/2025):
→ VBCABLE_Driver_Pack45.zip
This is the free version you need for your script (it creates "CABLE Input" and "CABLE Output").

 

2. NirCmd (by NirSoft)Official download page:
https://www.nirsoft.net/utils/nircmd.html 

Direct download (zip file containing nircmd.exe):
→ https://www.nirsoft.net/utils/nircmd.zip

 

3. SoundVolumeView (by NirSoft) Official download page:
https://www.nirsoft.net/utils/sound_volume_view.html 

Direct downloads

 

Extract and install VBCABLE_Driver_Pack45.zip to windows default location
 

Extraxt/copy files from nircmd-x64.zip and soundvolumeview-x64.zip files in a tools folder or where you like. I placed files for both in one folder - D:\Gun Build\Tools\Nircmd
image.png.bdfae3021e4010e5a45eaa9445997202.png

 

After VB-Cable install you should see the device in windows sound settings as CABLE Input
image.png.d15af40c1bb815a4f871311ebb453325.png

 

You can test game launch by manually selecting CABLE Input. If working then use this script so you do not have to manually select audio device. The script will switch it to CABLE Input, then after the game loads it will switch back to default (Mine is 2 - AVT GC573). You will need to edit your paths in the script along with the name of your HDMI_Device. The timing has to be right on the switch back to HDMI for game sound to work. On my system DelaySeconds is set to 10, your mileage may vary. For non Sinden owners you can delete all instances of Sinden and Lightgun.exe. After Paths and DelaySeconds are tuned the game should start with proper sound. For Sinden borders I am using a bezel with white border using ArcCabView, but you can use Reshade using DX9 if bezel use with ArcCabView is having issues. (Much less work to run the game without a bezel). Happy zombie blasting!

 

#NoEnv
#SingleInstance Force
#NoTrayIcon
SendMode Input
SetWorkingDir %A_ScriptDir%

; ========================= CONFIG =========================
SindenPath       := "D:\Gun Build\Tools\Sinden Lightgun PVZ\Lightgun.exe"
GameFolder       := "D:\Gun Build\Roms\TEKNOPARROT\Plants vs Zombies\Sega\Shell"
ShellExe         := "shell.exe"
DemulShooterPath := "D:\Gun Build\Tools\DemulShooter\DemulShooter.exe"
NircmdPath       := "D:\Gun Build\Tools\Nircmd\nircmd.exe"
SoundViewPath    := "D:\Gun Build\Tools\Nircmd\SoundVolumeView.exe"
HDMI_Device      := "2 - AVT GC573"
DelaySeconds     := 10

; === Updated with correct window title from Window Spy ===
GameWindowTitle  := "PvzCore"
; =========================================================

; Close old instances
RunWait, taskkill /f /im Lightgun.exe,, Hide
RunWait, taskkill /f /im Shell.exe,, Hide
RunWait, taskkill /f /im DemulShooter.exe,, Hide

; Start Sinden Lightgun
Run, %SindenPath%

; Switch to VB-Cable so the game loads properly
RunWait, "%NircmdPath%" setdefaultsounddevice "CABLE Input" 0,, Hide
RunWait, "%NircmdPath%" setdefaultsounddevice "CABLE Input" 1,, Hide

; Start DemulShooter
Run, "%DemulShooterPath%" -target=arcadepc -rom=pvz,, Hide

; Launch the shell with correct working directory
SetWorkingDir, %GameFolder%
Run, %ShellExe%, %GameFolder%

; Wait for game to fully load
Sleep, % DelaySeconds * 1000

; Switch audio back to HDMI
RunWait, "%SoundViewPath%" /SetDefault "%HDMI_Device%" all,, Hide

; ====================== FOCUS FIX ======================
; Keeps the PvzCore window focused at all times (fixes trigger losing focus)
SetTimer, KeepGameFocused, 250   ; Check every 250ms - fast enough for lightgun

KeepGameFocused:
    IfWinNotActive, %GameWindowTitle%
    {
        IfWinExist, %GameWindowTitle%
            WinActivate, %GameWindowTitle%
    }
Return
; =======================================================

; ====================== HOTKEYS ======================
F12::
    SetTimer, KeepGameFocused, Off
    RunWait, taskkill /f /im Shell.exe,, Hide
    RunWait, taskkill /f /im Lightgun.exe,, Hide
    RunWait, taskkill /f /im DemulShooter.exe,, Hide
    ExitApp
Return

~Esc::
    SetTimer, KeepGameFocused, Off
    RunWait, taskkill /f /im Shell.exe,, Hide
    RunWait, taskkill /f /im Lightgun.exe,, Hide
    RunWait, taskkill /f /im DemulShooter.exe,, Hide
    ExitApp
Return


 


 

Modifié par drewjbs

Veuillez vous connecter pour commenter

Vous pourrez laisser un commentaire après vous êtes connecté.



Connectez-vous maintenant
×
×
  • CrĂ©er...