Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)  (Read 1167054 times)

0 Members and 13 Guests are viewing this topic.

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3480 on: December 24, 2024, 06:06:33 pm »
Thank you for answering my questions, just one more for now. I'm having hell getting Virtua Cop 3 running. Your page says use cxbxr-ldr, but when I use that I can't hit start even I add start to the controller in settings. But if I use regular cxbx I can hit start but can't use lightgun. Also I keep getting notifications about being an admin user when I run cxbx it's very annoying even when I check the box allow admin in the gui.

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3481 on: December 24, 2024, 06:32:00 pm »
Yeah now I can't even press start in the game with cxbx.exe on latest. I've tried older versions too. Earlier I was able to press start but just couldn't have working lightgun in the game. Seems like it could have something to do with extra security on the emulator like wanting admin rights I don't know. But I've tried with and without running as admin, and with and without checking the box allow admin rights in the settings.

Edit: I can press start again in a different version of cxbx, but still no lightgun with Demulshooter. Not sure what I'm doing wrong I followed the user guide.

This is exactly what's in my ahk script

Run, DemulShooter.exe -target=chihiro -rom=vcop3
sleep, 1000
Run, cxbxr-ldr.exe /load "E:\Emulators\Chihiro\Virtual Cop 3\vc3.xbe"

Edit: yeah seems there's a regression in newer Demulshooters? I went all the way back to 8.3b where you first implemented support for Virtua Cop 3 and it was the first time I got any sort of movement with the lightgun however it was bouncing all over the place. But on newest Demulshooter nothing.
Does Demulshooter work with Wiimotes in mode 2 with Dolphinbar? I haven't been able to get them to work at all. I used to have success with EMS Top Gun 3 but it's been about 3 years ago. I found my Wiimote in configuration but it doesn't move at all in the box device preview.
« Last Edit: December 24, 2024, 08:21:14 pm by Jayinem »

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3482 on: December 24, 2024, 11:05:19 pm »
Hi ppl - Virtual Cop3 3 - i've really tried to get demulshooter to work - but from what i can tell you need a certain version of cxbx, demulshooter etc. for it to work properly - I have two wii mote lightguns - but can't get these to work :(  I have 2 mayflash dolphine bars.

Appreciate if anyone has this setup and could share their experience and/or settings etc.

Yeah this is me too. After 8 hours of trying different Demulshooter versions different cxbx versions until proven otherwise I just have to assume that for some reason Virtua Cop 3 is the only game that I've tried that won't work with my Wiimote, If someone has it working please share that info of which versions etc....

 although I also couldn't calibrate two guns with only one gun on Behind Enemy Lines with a Wiimote on Sega Model 2 (I was able to do this previously with an EMS Top Gun 3, but on Wiimote player 2 won't shoot. It requires two gun calibration).
« Last Edit: December 24, 2024, 11:09:49 pm by Jayinem »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3483 on: December 25, 2024, 06:53:50 am »
Yeah now I can't even press start in the game with cxbx.exe on latest. I've tried older versions too. Earlier I was able to press start but just couldn't have working lightgun in the game. Seems like it could have something to do with extra security on the emulator like wanting admin rights I don't know. But I've tried with and without running as admin, and with and without checking the box allow admin rights in the settings.

Edit: I can press start again in a different version of cxbx, but still no lightgun with Demulshooter. Not sure what I'm doing wrong I followed the user guide.

This is exactly what's in my ahk script

Run, DemulShooter.exe -target=chihiro -rom=vcop3
sleep, 1000
Run, cxbxr-ldr.exe /load "E:\Emulators\Chihiro\Virtual Cop 3\vc3.xbe"

Edit: yeah seems there's a regression in newer Demulshooters? I went all the way back to 8.3b where you first implemented support for Virtua Cop 3 and it was the first time I got any sort of movement with the lightgun however it was bouncing all over the place. But on newest Demulshooter nothing.
Does Demulshooter work with Wiimotes in mode 2 with Dolphinbar? I haven't been able to get them to work at all. I used to have success with EMS Top Gun 3 but it's been about 3 years ago. I found my Wiimote in configuration but it doesn't move at all in the box device preview.

There is no regression in latest DemulShooter versions, it's still working using cxbx-ldr.exe as long as you follow the wiki and use the latest supported version/build of the emulator
Tests have been done recently to answer some similar issue :
https://github.com/argonlefou/DemulShooter/issues/163
https://github.com/argonlefou/DemulShooter/issues/177

(last supported version in the wiki has just been updated to match the newer version tested and validated in those tickets)



Hi ppl - Virtual Cop3 3 - i've really tried to get demulshooter to work - but from what i can tell you need a certain version of cxbx, demulshooter etc. for it to work properly - I have two wii mote lightguns - but can't get these to work :(  I have 2 mayflash dolphine bars.

Appreciate if anyone has this setup and could share their experience and/or settings etc.

Yeah this is me too. After 8 hours of trying different Demulshooter versions different cxbx versions until proven otherwise I just have to assume that for some reason Virtua Cop 3 is the only game that I've tried that won't work with my Wiimote, If someone has it working please share that info of which versions etc....

 although I also couldn't calibrate two guns with only one gun on Behind Enemy Lines with a Wiimote on Sega Model 2 (I was able to do this previously with an EMS Top Gun 3, but on Wiimote player 2 won't shoot. It requires two gun calibration).
I don't own any Wiimotes, and I'm not personally familiar with Mayflash Mode2/Mode4, even if I know that a lot of people talked about that here and there in the past years/decade
I don't know how your Wiimote is seen by the computer with your setup.

If it's seen as a simple mouse, you won't have full rawinput/multiplayer support with demulshooter.
Axis will not move in DemulSHooter_GUI when you choose the correct device, but you will still see buttons activating

If it's seen as a gamepad, you should see a gamepad device in DemulSHooter_GUI with buttons/axis moving with your Wiimote (just choose the axis as needed)
« Last Edit: December 25, 2024, 06:56:54 am by argonlefou »

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3484 on: December 25, 2024, 07:02:30 am »
Someone on another forum that I won't name because it has piracy gave me a download of VC3 with Demulshooter v 10.1.5 and at first I couldn't get it to work either but then I had to configurate the gun for that location and IT WORKED! I tried like 12 other versions of Demulshooter and could never get it to work. I'm pretty sure I did everything right including running as admin on the other versions, but oh well I'm just glad it is working.

I was having a problem with Behind Enemy Lines calibrating with two Wiimotes when I only have one but got it working now too. All set.

Just FYI you do actually see Axis move with Wiimote in Demulshooter GUI I guess I was selecting the wrong HID. It's listed as HJZ Mayflash Wiimote PC Adapter and both Device Preview and buttons pressed works.
« Last Edit: December 25, 2024, 07:36:06 am by Jayinem »

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3485 on: December 25, 2024, 10:19:11 am »
I'm attempting to use your Arcade mod of HOTD 3, but the game won't show up it just stays in task bar. If I click on it there's a black screen for a second but then it just goes back to taskbar. I tried running compatibility mode Windows 7 and Windows Vista. I am using Windows 10. 

I know that the issue is not from your mod but the game itself. I just was hoping you or someone else knew how to get it to run. :\

I also had trouble calibrating HOTD 3 RPCS3 version couldn't get past the calibration screen, so if all else fails I'll just have to stick with HOTD 2 & 3 Return for Wii/Dolphin. But I would rather not unless I have to.

Tried two different downloads RELOADED EU version and USA version from an abandonware site, same problem.

Edit: tried a third link that was not an install just the files in a zip file on google drive in fact I had to uninstall it and then just run the hod3pc.exe and it worked.

Edit 2: works directly not with your launcher damn. Same thing with your launcher won't launch. I am using 7.0 of your launcher.
« Last Edit: December 25, 2024, 10:50:10 am by Jayinem »

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3486 on: December 25, 2024, 01:34:35 pm »
I think I might have figured out why it works for some and not others. I was installing it to external hard drive which I do hundreds of other games but also a 2nd internal hdd that I had. Now I install to C Drive and it works and argon's mod works.

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3487 on: December 26, 2024, 12:59:06 pm »
Sorry mean to post this in rpcs3 thread.

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 333
  • Last login:December 29, 2024, 09:20:18 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3488 on: December 29, 2024, 09:20:18 am »
thank you argon for colt's wws, years ago I tried removing the crosshair and hand but I couldn't. It's a pretty good game with curious prerended grafics

anananh

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:February 02, 2025, 05:29:43 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3489 on: December 30, 2024, 04:02:18 am »
Hi argonlefou,

Thank you for this topic. I read in another forum that someone could use wiimote with a Dolphin Bar mode 2, using your plugin for Tomb Raider, the "TombRaider_MousePlugin_v2.0.zip". I would like to try that one for Tomb Raider but I can't download that plugin. Would you please share it here? Thank you very much!

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3490 on: December 30, 2024, 03:24:09 pm »
Hi argonlefou,

Thank you for this topic. I read in another forum that someone could use wiimote with a Dolphin Bar mode 2, using your plugin for Tomb Raider, the "TombRaider_MousePlugin_v2.0.zip". I would like to try that one for Tomb Raider but I can't download that plugin. Would you please share it here? Thank you very much!
Here you go !

Tarrantx

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 07, 2025, 12:10:57 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3491 on: December 31, 2024, 04:15:48 pm »
Hi argonlefou,

thank you for all of the amazing work you have done.  Your wiki is fantastic and I have been using it to set up Demulshooter with Mamehooker in a lot of games.

I don't want to be a pain but, I did have House of the Dead: Scarlett Dawn working.  But then it just stopped.  Recoil and damage hooking just stopped, and after many hours, I haven't been able to get it back.

To keep things simple, from what I can see using your Outputs and running in verbose, when a game hooks properly I see something like:

21:49:28.180605 : Attached to Process BudgieLoader.exe, ProcessHandle = 928
21:49:28.180605 : BudgieLoader.exe = 0x00EA0000
21:49:28.182604 : Custom output data will be stored at : 0x00E60000

But with HOTD:SD I get:

00:53:28.129436 : MainWindowTitleTeknoParrot - House of the Dead: Scarlet Dawn
00:53:28.129436 : Attached to Process Hodzero-Win64-Shipping.exe, ProcessHandle = 1052
00:53:28.130434 : Hodzero-Win64-Shipping.exe = 0x0000000140000000
00:53:28.329326 : MD5 hash of G:\CoinOPS Collections - The Arch's TeknoParrot Collection\collections\TeknoParrot\roms\The House of the Dead Scarlet Down\App\Hodzero\WindowsNoEditor\Hodzero\Binaries\Win64\Hodzero-Win64-Shipping.exe = cde48c217d04caa64ee24a72f73dcce4
00:53:28.330318 : MD5 Hash is corresponding to a known target = Hodzero-Win64-Shipping.exe - Original Dump
00:53:28.337324 : Cannot read memory at address 0x000000000000021C

Not sure if I am on the right track here, not giving a "Custom output data will be stored at" result.

I would not be asking if I hadn't already started from scratch again in every way possible.  It's more about the mystery than wanting to play the game :)


argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3492 on: December 31, 2024, 06:57:11 pm »
The "Custom output data" line is not in the log because I'm not using any custom output data for that game, so there is no need to create memory space to store them.

What's more interresting is the warning about the binary MD5
Did you change your hod:sd exe ? Or patched it for anything ?

Having a totally different exe could explain why memory location are different and outputs not working

It can't rule out a bug in a more recent version of DemulShooter than the one you used to have last time you played HOd:Sd as I remember trying some (unsuccessfull) stuff on HOD:SD a few month ago.

Tarrantx

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 07, 2025, 12:10:57 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3493 on: January 01, 2025, 08:44:36 am »
Thanks for your advice.

You reminded me that I had been using an older version and, while I thought I had checked that, when I went back to running DemulShooter 10.4.3, it worked!!!

Also, the newer versions were showing an unhandled excection error when running HODSD:

C:\Users\Admin\Downloads\DemulShooter_v13.5>DemulShooterX64.exe -target=alls -rom=hodsd -v

C:\Users\Admin\Downloads\DemulShooter_v13.5>
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at DsCore.MameOutput.Wm_OutputHelper.SendValues(List`1 Outputs)
   at DemulShooterX64.DemulShooterWindowX64.ReadAndSendOutput_Thread()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3494 on: January 01, 2025, 12:39:27 pm »
Thanks for your advice.

You reminded me that I had been using an older version and, while I thought I had checked that, when I went back to running DemulShooter 10.4.3, it worked!!!

Also, the newer versions were showing an unhandled excection error when running HODSD:

C:\Users\Admin\Downloads\DemulShooter_v13.5>DemulShooterX64.exe -target=alls -rom=hodsd -v

C:\Users\Admin\Downloads\DemulShooter_v13.5>
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at DsCore.MameOutput.Wm_OutputHelper.SendValues(List`1 Outputs)
   at DemulShooterX64.DemulShooterWindowX64.ReadAndSendOutput_Thread()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Yup, I'll have to check that again.

anananh

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:February 02, 2025, 05:29:43 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3495 on: January 02, 2025, 01:38:36 am »
Hi argonlefou,

Thank you for this topic. I read in another forum that someone could use wiimote with a Dolphin Bar mode 2, using your plugin for Tomb Raider, the "TombRaider_MousePlugin_v2.0.zip". I would like to try that one for Tomb Raider but I can't download that plugin. Would you please share it here? Thank you very much!
Here you go !

Thank you so much!!! Really appreciate all your hard work!

Elements6042

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 17, 2025, 06:41:24 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3496 on: January 16, 2025, 10:52:58 pm »
Hello, I am trying to get my retroshooter lightguns to do offscreen reload with demul shooter. I noticed it works in some games and not with others and I am wondering if anyone has come up with a solution that would make it work with all demul shooter supported games.

I did some searching around and noticed someone made a vr mod for offscreen reload, and wondering if that could be adapted to the lightguns? https://forum.arcadecontrols.com/index.php/topic,165508.0.html

The other thing I was looking into is if an ahk was possible with maybe a rawinput interception to detect when the mouse hits off the screen? https://github.com/evilC/AutoHotInterception

 

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3497 on: January 17, 2025, 08:08:00 am »
What are the guns you're having troubles with  ?

I don't know that brand, but don't you have any software tool to setup your gun buttons when you're shooting on-screen or out of screen ?

Any other gun I know of (Aimtrak, Sinden, Gun4IR, old EMS Top Gun) allow user to set the gun so that it can send a "Left Click" event when trigger is pressed when the gun is pointing at the screen, and a "Right Click" event when trigger is press when the gun is pointing out of the screen boundaries.
The "offscreen reload" you're trying to get is simply the "right-button click event" detection by DemulShooter.....

Elements6042

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 17, 2025, 06:41:24 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3498 on: January 17, 2025, 09:33:33 am »
What are the guns you're having troubles with  ?

I don't know that brand, but don't you have any software tool to setup your gun buttons when you're shooting on-screen or out of screen ?

Any other gun I know of (Aimtrak, Sinden, Gun4IR, old EMS Top Gun) allow user to set the gun so that it can send a "Left Click" event when trigger is pressed when the gun is pointing at the screen, and a "Right Click" event when trigger is press when the gun is pointing out of the screen boundaries.
The "offscreen reload" you're trying to get is simply the "right-button click event" detection by DemulShooter.....

Hi argonlefou, Im using the retroshooter reaper lightguns. I looked at the included software unfortunately it only has gun calibration options. So I'm trying to figure out if an alternative solution is possible.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3499 on: January 17, 2025, 02:01:37 pm »
I found this on the official retroshooter website :



Are you using that kind of gun  (Reaper RS3) ?
Look like there no other settings than a DipSwitch to change mouse ID between P1~P4  :o

If this is the case.....and the gun can't send any info about it beeing on/offscreen then I'm affraid you can't do anything unfortunatelly.

Except for some game that are - nativelly - reloading when you're pointing at the screen border


Elements6042

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:January 17, 2025, 06:41:24 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3500 on: January 17, 2025, 06:04:37 pm »
I found this on the official retroshooter website :



Are you using that kind of gun  (Reaper RS3) ?
Look like there no other settings than a DipSwitch to change mouse ID between P1~P4  :o

If this is the case.....and the gun can't send any info about it beeing on/offscreen then I'm affraid you can't do anything unfortunatelly.

Except for some game that are - nativelly - reloading when you're pointing at the screen border

Thank you for looking into it and for the quick response! It's unfortunate that the manufacture overlooked this option as everything else on the guns works great.

Hopefully one day someone figures out a workaround.

Demul shooter has been awesome so far with it and appreciate the work you have done!

MotownC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:February 04, 2025, 11:20:09 am
  • Reliving my youth, one lap at a time
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3501 on: January 18, 2025, 03:33:05 pm »
I haven't tried it in awhile (maybe since Win 11 update) but does Heavy Fire: Afghanistan not work in Win 11? Is that true for all versions? Shattered Spear works well though.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3502 on: January 18, 2025, 06:23:59 pm »
The "win11 issue" note was added in the wiki after a feedback from someone in github tickets.
It was about Shattered Spear, so it's a great news to hear that it's working if you tried it with Win11

I'm still sticking to Win 10 (and will be as long as I can) to play/develop so I never tested heavy fire afghanistan with win11 personally....

Svaruu

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 24, 2025, 05:45:10 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3503 on: January 20, 2025, 05:19:22 pm »
Sorry to ask if this has been already answered, but it drives me crazy, and i can't find an answer:

Win 10, HOTD2, Demul, Sinden: I have tried everything possible for days, but i can't move the mouse in fullscreen. I can in windowed, but one shot in the window and the game is ruined.
Demul Admin or not, DemulShooter Admin or not, Options/compatibility: deactivate fullscreen optimisation or not.
I tried DxWnd but it's not working... So the game is not playable for me, and I remember having played with 2 guns maybe 3 years before without touching anything in the settings.
Windows Update? graphic card update (yes, I am on amd now)?
I give up

MotownC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:February 04, 2025, 11:20:09 am
  • Reliving my youth, one lap at a time
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3504 on: January 20, 2025, 10:06:12 pm »
The "win11 issue" note was added in the wiki after a feedback from someone in github tickets.
It was about Shattered Spear, so it's a great news to hear that it's working if you tried it with Win11

I'm still sticking to Win 10 (and will be as long as I can) to play/develop so I never tested heavy fire afghanistan with win11 personally....

I understand I may be out of luck with Win 11 and Heavy Fire Afghanistan, but just in case there is something obvious in the log file: Very soon after it hooks, it crashes. Here are the last couple entries of the log:

21:49:26.460029 : RawData event for Player #1:
21:49:26.461341 : Device rawinput data (Hex) = [ 00000000, 00000000 ]
21:49:26.461341 : PrimaryScreen Size (Px) = [ 1920x1080 ]
21:49:26.461341 : OnScreen Cursor Position (Px) = [ 0, 0 ]
21:49:26.461341 : NotificationState: QUNS_RUNNING_D3D_FULL_SCREEN
21:49:26.462406 : ClientWindow Style = FullScreen
21:49:26.462406 : Game Window Rect (Px) = [ 1920x1080 ]
21:49:26.462406 : Computed float values = [ -1.777778x-1 ]
21:49:26.462406 : Game Position (Hex) = [ FFFFF90E, FFFFFC18 ]
21:49:26.462406 : Game Position (Dec) = [ -1778, -1000 ]
21:49:26.463406 : -
21:49:26.569413 : RawData event for Player #1:
21:49:26.569413 : Device rawinput data (Hex) = [ 00000000, 00000000 ]
21:49:26.570447 : PrimaryScreen Size (Px) = [ 1920x1080 ]
21:49:26.570447 : OnScreen Cursor Position (Px) = [ 0, 0 ]
21:49:26.573444 : NotificationState: QUNS_RUNNING_D3D_FULL_SCREEN
21:49:26.574441 : ClientWindow Style = FullScreen
21:49:26.574441 : Game Window Rect (Px) = [ 1920x1080 ]
21:49:26.574441 : Computed float values = [ -1.777778x-1 ]
21:49:26.574441 : Game Position (Hex) = [ FFFFF90E, FFFFFC18 ]
21:49:26.575439 : Game Position (Dec) = [ -1778, -1000 ]
21:49:26.575439 : -
21:49:26.678488 : RawData event for Player #1:
21:49:26.678488 : Device rawinput data (Hex) = [ 00000000, 00000000 ]
21:49:26.679491 : PrimaryScreen Size (Px) = [ 1920x1080 ]
21:49:26.679491 : OnScreen Cursor Position (Px) = [ 0, 0 ]
21:49:26.679491 : NotificationState: QUNS_ACCEPTS_NOTIFICATIONS
21:49:26.679491 : ClientWindow Style = Windowed
21:49:26.680488 : Error converting screen location to client location
21:49:26.789117 : RawData event for Player #1:
21:49:26.789117 : heavyfire3_final.exe closed
21:49:26.789117 : Device rawinput data (Hex) = [ 00000000, 00000000 ]
21:49:26.789117 : PrimaryScreen Size (Px) = [ 1920x1080 ]
21:49:26.790300 : OnScreen Cursor Position (Px) = [ 0, 0 ]
21:49:26.790300 : NotificationState: QUNS_ACCEPTS_NOTIFICATIONS
21:49:26.790300 : ClientWindow Style = Windowed
21:49:26.790300 : Error converting screen location to client location
21:49:26.791418 : Cleaning things before exiting application...

Jayinem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:January 22, 2025, 06:36:28 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3505 on: January 22, 2025, 06:01:55 pm »
Sorry to ask if this has been already answered, but it drives me crazy, and i can't find an answer:

Win 10, HOTD2, Demul, Sinden: I have tried everything possible for days, but i can't move the mouse in fullscreen. I can in windowed, but one shot in the window and the game is ruined.
Demul Admin or not, DemulShooter Admin or not, Options/compatibility: deactivate fullscreen optimisation or not.
I tried DxWnd but it's not working... So the game is not playable for me, and I remember having played with 2 guns maybe 3 years before without touching anything in the settings.
Windows Update? graphic card update (yes, I am on amd now)?
I give up

Is that the only Demul lightgun game you've tried or does it happen on others?

Are you sure Demulshooter is configured properly? Your lightgun HID info is configured?

Also what do you mean by "one shot in the window and the game is ruined"?

HOTD 2 is also a PC game that works with Demulshooter. Or if you're not that picky you could use HOTD 2 & 3 Return for Wii on Dolphin emulator and use Demulshooter with it.
« Last Edit: January 22, 2025, 06:06:02 pm by Jayinem »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3506 on: January 23, 2025, 12:47:10 pm »
Or even better solution, use Flycast Emulator to play HOD2

Demul is dead, no need to keep using it

Svaruu

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:January 24, 2025, 05:45:10 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3507 on: January 24, 2025, 05:45:10 pm »
@ Jayinem:
-It's only demul that cause those problems with fullscreen
-I updated Demulshooter recently, it did not solve the problem. Demulshooter seem properly configured from what I understand. I played with the HID also with no luck
-I mean If by accident one person shoot on the window of demul (in the windowed version cause it's the only way I can make it work), it instantly drag the window and you only see half of the game for example.
 This is not a solution to play windowed in those conditions
-I tried to install the pc version also with no luck, and since a read that the demul version is the best, I don't want to play with those iso files to mount to be able to play. I didn't succeed to install it, but I tried once.

@argonlefou:
I will try Flycast thanks, didn't know about. Demul was working fine 4 years before, I remember playing one or two time HOTD2, and now without touching anything it's not working.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3508 on: January 24, 2025, 05:55:33 pm »
Flycast is still updating and getting better and better.
It has choices of rendering engine (directx, opengl, vulcan)
Filters to get enhanced graphics, save states, and very good compatibility list

And - most important - already has raw input support for multiple lightguns.
Demulshooter is not needed anymore for flycast (except if you want to get outputs from the game)

lowgunn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:Today at 04:49:32 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3509 on: February 03, 2025, 12:21:20 am »
Hi Argon, thanks for all that you do for the light gun community.  I've been trying to get HOTD2  on Flycast/demulshooter /mamehooker to work.  It looks like mamehooker  and demulshooter  are hooking but flycast doesn't seem to send the outputs to mamehooker (i see no data changes in the debug window).  Do you know if this is supported or can work?  I've also verified that the outputs were checked in the settings of flycast.  I am using the most current of all these apps.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3510 on: February 04, 2025, 06:01:27 pm »
Hi Argon, thanks for all that you do for the light gun community.  I've been trying to get HOTD2  on Flycast/demulshooter /mamehooker to work.  It looks like mamehooker  and demulshooter  are hooking but flycast doesn't seem to send the outputs to mamehooker (i see no data changes in the debug window).  Do you know if this is supported or can work?  I've also verified that the outputs were checked in the settings of flycast.  I am using the most current of all these apps.
I don't know how Flycast is handling outputs, but if you're using DemulShooter to get them, it's hooking into flycast to fetch data, create outputs and send them to mamehooker.
Not the opposite (it does not hook to mamehooker)

Green icon in task bar is DemulShooter succesfully hooked to Flycast

So you have to check into DemulShooterGUI that outputs are enabled

Then just run demulshooter and flycast with the same level (admin for both or non-admin for both)
« Last Edit: February 04, 2025, 06:03:07 pm by argonlefou »

lowgunn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:Today at 04:49:32 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3511 on: February 04, 2025, 07:05:28 pm »
Ok, I do see that demulshooter is green and looks like its hooked.  I was able to get the mamehooker/demulshooter working for most of the teknoparrot games, but so far flycast seems to be a challenge.  What i did notice is that in the mamehooker debug windows, i see the outputs? like the damage output does not change, it stays at 0?  Your output for shooting game adds a total new level to the experience and its very awesome.  I really dont want to play any games without the outputs now,,lol

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:Today at 05:56:45 pm
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3512 on: February 05, 2025, 11:30:32 am »
Hi argonlefou. Thank you very much for your great work.
One thing: In Point Blank X, shortly after starting to play as player one only,I get a nag message: "Insert coins please", which covers a part of the right side of the screen. I have tested the game in Teknoparrot and it doesn't happen there. Could it be a bug?


argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm
Ok, I do see that demulshooter is green and looks like its hooked.  I was able to get the mamehooker/demulshooter working for most of the teknoparrot games, but so far flycast seems to be a challenge.  What i did notice is that in the mamehooker debug windows, i see the outputs? like the damage output does not change, it stays at 0?  Your output for shooting game adds a total new level to the experience and its very awesome.  I really dont want to play any games without the outputs now,,lol
Also make sure you're using a stable release : https://github.com/flyinghead/flycast/releases
Nighly builds or unsupported version will not work with DemulShooter
You can also make a debug file with demulshooter (https://github.com/argonlefou/DemulShooter/wiki/Debugging#step-3), it will recognized if the binary is a supported one

Hi argonlefou. Thank you very much for your great work.
One thing: In Point Blank X, shortly after starting to play as player one only,I get a nag message: "Insert coins please", which covers a part of the right side of the screen. I have tested the game in Teknoparrot and it doesn't happen there. Could it be a bug?
Hi
I don't know if it's a bug or a game original feature....
I used FREEPLAY to develop the plugin and - obviously - I didn't noticed it as it don't happen with FREEPLAY
I'll look at this to remove the nag screen

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:Today at 05:56:45 pm
Hi
I don't know if it's a bug or a game original feature....
I used FREEPLAY to develop the plugin and - obviously - I didn't noticed it as it don't happen with FREEPLAY
I'll look at this to remove the nag screen

Great! Thanks a lot.  :applaud:

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Today at 01:52:33 pm

Great! Thanks a lot.  :applaud:

So yes it was kind of "expected" behavior as the game is poping that nag box after 3 second of pointing the gun to the screen without any credits.
And of course, with the patch, guns are always on and you can't know if it's pointing in or out in real time  :'(

I fixed it in the last pushed update
Don't forget to overwrite the plugin files

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:Today at 05:56:45 pm
Wow! That was really fast! Many many thanks  :cheers:

lowgunn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:Today at 04:49:32 pm
  • I want to build my own arcade controls!
Ok, I do see that demulshooter is green and looks like its hooked.  I was able to get the mamehooker/demulshooter working for most of the teknoparrot games, but so far flycast seems to be a challenge.  What i did notice is that in the mamehooker debug windows, i see the outputs? like the damage output does not change, it stays at 0?  Your output for shooting game adds a total new level to the experience and its very awesome.  I really dont want to play any games without the outputs now,,lol
Also make sure you're using a stable release : https://github.com/flyinghead/flycast/releases
Nighly builds or unsupported version will not work with DemulShooter
You can also make a debug file with demulshooter (https://github.com/argonlefou/DemulShooter/wiki/Debugging#step-3), it will recognized if the binary is a supported one

Hi argonlefou. Thank you very much for your great work.
One thing: In Point Blank X, shortly after starting to play as player one only,I get a nag message: "Insert coins please", which covers a part of the right side of the screen. I have tested the game in Teknoparrot and it doesn't happen there. Could it be a bug?
Hi
I don't know if it's a bug or a game original feature....
I used FREEPLAY to develop the plugin and - obviously - I didn't noticed it as it don't happen with FREEPLAY
I'll look at this to remove the nag screen

Dang it...that was it...I didn't realize I was using 2.4...using 2.3 and everything works now.  thanks again!