Aller au contenu

drewjbs

GamerLine
  • Compteur de contenus

    245
  • Inscription

  • Dernière visite

Messages posté(e)s par drewjbs

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


     


     

  2. On 1/11/2026 at 1:36 AM, nosoucy62 said:

    attention !

    si vous avez déjà un lecteur E avec des données il y a un risque.....

     

    Correct, if you already have a physical drive assigned E then this script is not needed. You can simply install your game there. This is for PC that has a C drive (OS) and maybe a secondary drive D.. which is very common for most emulation builds. I will update my post. 

  3. On 1/10/2026 at 3:49 PM, jackotz91 said:

    Hi

    to me the normal version of KOF XIII Climax doesn't work yet. Did you try with the Nesica version?

     

    **UPDATE** This script is only for PC's that need a virtual E drive. If your PC already has an assigned E drive you do not need this, it could cause conflicts. 

     

    Nesica version confirmed working with latest TP. TTX2 version does not. Win11 here. Must be run from E drive. Here is a script that creates virtual E drive before game launch... edit paths as needed. You also need to edit game location in KingofFightersXIIIClimaxNesica.xml to the root of E:\ (E:\King of Fighters XIII Climax). This AHK script exits clean and does not make any permanent changes on host PC. 

     

    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%
    
    ; === Your real parent folder (the one that CONTAINS "King of Fighters XIII Climax") ===
    ; After subst, E:\King of Fighters XIII Climax\ will point to D:\Roms\TTX\King of Fighters XIII Climax\
    RealGameParentPath := "D:\Roms\TTX"
    
    ; 1. Remove any old E: mapping (safe even if not present)
    RunWait, subst E: /D, , Hide
    Sleep, 1500  ; Give Windows time to release it
    
    ; 2. Create virtual E: drive pointing to D:\Roms\TTX
    ;    → TeknoParrot will see E:\King of Fighters XIII Climax\game.exe = real files
    RunWait, subst E: "%RealGameParentPath%", , Hide
    Sleep, 3000  ; Important: Wait longer for drive to fully register before TP checks
    
    ; Optional debug (uncomment once to test in a CMD window that opens):
    ; Run, cmd /k "echo E: should now exist && dir "E:\King of Fighters XIII Climax\game.exe" && pause", , , NewPID
    
    ; Launch TeknoParrot (your profile now points to E:\...)
    Run, D:\Emulators\Teknoparrot Gamepad\TeknoParrotUi.exe --profile=KingofFightersXIIIClimax.xml
    
    ~Esc::
        Process, Close, game.exe
        Sleep, 800
        Process, Close, TeknoParrotUi.exe
        RunWait, taskkill /im "TeknoParrotUi.exe" /F, , Hide
        RunWait, taskkill /im "game.exe" /F, , Hide
    
        Sleep, 1200
    
        ; Remove virtual E: drive (important to avoid conflicts later)
        RunWait, subst E: /D, , Hide
        Sleep, 800
    
        ExitApp
    Return

     

  4. 6 hours ago, magicray1028 said:

    i found the fix for the slowdowns, disable force vsync in cxbx video settings.

     

    a few notable bugs i found

     

    Vsync disabled , maintain aspect ratio off, exclusive fullscreen on, intel 14700K and rtx 4070 , not running as admin, bezel off.

     

    hod3 

    - aim is perfect

    -Zombies seem to die in slow motion and some lags during transition scenes.

    - trying english version causes a crash before the first cut scene

     

    Vcop3

    - some slow downs when sprites are shot

    - in 4:3 ratio, aim is offset on the sides, this bug is also present in the old cxbx

    - in fullscreen ratio aim is perfect except on the right, its offset . on the left its fine.

     

    Ghost Squad

    - in fullscreen 16:9 or 4:3 mode , aim is also offset on the right . 

     

    overall huge step in emulating these systems. let me know if theres any other testing you guys want me to do! thanks hippo! And especially thanks argon for always helping fix bugs and add features so quickly.

     

     

    Still no luck for HOTD3 for me... still very slow, Hippopippo mentioned this build was developed on Win10, I am running Win11... maybe there are issues with Win11

  5. 2 hours ago, cor094 said:

    I had an issue where if I set up vcop3 to Freeplay and other test menu items, then launch Ghost Squad, all my vcop3 changes, calibration, etc are lost. So, I ended up just making a copy of the emulator folder for each game (but kept the "roms" folder only in one). So, that also makes separate bezels easy since you have separate folders. If not for that issue, I'd probably swap the bezel on using ahk.

     

    Yep that is what I ended up doing... the emulator is very small in size so having 3 instances is no big deal. Games run fine except HOTD3 is very low FPS for some reason. AMD with integrated Radeon graphics.. I guess that must be the issue. 

     

     

  6. 5 hours ago, argonlefou said:

    Not at the moment, those 2 keys are hardcoded in DemulShooter, this was mainly a 'test' setup

     

    I don't know when/if there will be a 'Cxbx' page on the GUI with key selection, etc ...

     

    Untill then, maybe you can try tu remap Q to O with a simple AHK script ? 

    Depending on how RetroShooter driver is sumulating keypress, it might work

     

     

     

    Thanks for the suggestion.. AHK remapping works great.

  7. On 1/25/2025 at 6:37 AM, joeplay said:

    Confirmed, connect some speakers to the audio input on the motherboard and the game starts. Once the game starts you can disconnect them. This is necessary for shell.exe to start.I don't know if this will be fixed in the future.

     

    And another thing, when you get killed, the game goes to a black screen and there's no way to start over without quitting and restarting it.

     

    Yes the same, headphone jack required... stuck at black screen once player dies. 

    Are these black question marks suppose to be onscreen?

    image.png.d97435cb368f4fd1be07fd252c1a2f7d.png

  8. Revisiting this game.. I did have it go fullscreen ok with lossless scaling now I get an error.. but if I do click on the game it fills screen but the tracking is way off I assume do to the scale/resolution.

    Anyone have a working solution for this game?

  9. @argonlefou This started popping up on game start for Drakon recently, never did before. I can close it after starting game and using gun crosshair to hit the clear button, but would rather have it not display at all. Have you seen this before and do you happen to know how to get rid of it completely. The game is hooked properly and the aiming works great.

     

    2024111616245911.png

  10. On 8/16/2024 at 3:57 PM, argonlefou said:

     

    I got the same screen on a laptop with a Bluetooth adapter seen as COM3 and COM4 by windows.

    Looks like the game found those COM port interresting, but something hangs out and the game run into an infinite loop

     

    I solved it by either disabling those COM port material, or renaming it in windows after boot

     

    You can also install DemulShooter plugin, this should get rid of the screen (and you should be able to play normally without DemulShooter even with the plugin installed)

     

    Thanks, using DemulShooter fixed the problem

×
×
  • CrĂ©er...