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 976086 times)

0 Members and 3 Guests are viewing this topic.

spacelime

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:May 05, 2021, 01:29:16 pm
  • I want to build my own arcade controls!
Ahhh... What a feeling!!

Finally realized the obvious thing I was missing. I thought House of the dead 2 was supposed to work with the Dreamcast version but now it dawned upon me that it's the Naomi version that is supported. :laugh2:


Bojo5150

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:December 11, 2022, 12:07:28 pm
  • I want to build my own arcade controls!
Guys, I've been pulling my hair out and need some help.

I'm using the latest Demul (4/28) and demulshooter 8.5.2 and have issues with Ninja Assault & Brave Firefighters.

Ninja Assault plays perfect if I run Demulshooter from the command line and launch demul.exe manually. Both guns shoot, calibration is good, and the reload works as it should however when I launch using my front end (Launchbox) both guns work but either gun fires bullets for both guns, reload doesn't work, and calibration is off. All other Naomi, Sammy, Atomiswave games work within Launchbox with no issue. I launch demulshooter using Launchboxes "Add Application" which automatically launches Demulshooter before launching Demul. Any ideas what could be my issue?

The 2nd problem is with Brave Firefighters as the mice freakout and act as if there the same (screen flashes and both mouse cursors move rapidly) It seems like Demulshooter isn't working properly and both guns are using Gun 1's inputs

All help is greatly appreciated! Thank you!

Quick follow-up on my 2 issues:

1) Brave Firefighters is now working fine. I deleted the nvram and recalibrated and now everything works fine. (And works under my frontend)

2) Ninja Assault also works fine. I tried launching the game from within my frontend using an AHK script that launches Demulshooter & Demul vs launching natively under my frontend and it now works. I have no idea as to why this works though.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
Ahhh... What a feeling!!

Finally realized the obvious thing I was missing. I thought House of the dead 2 was supposed to work with the Dreamcast version but now it dawned upon me that it's the Naomi version that is supported. :laugh2:
Well, that explains why the emulator is crashing when DemulShooter is trying to modify the program at least  ;)

Quick follow-up on my 2 issues:

1) Brave Firefighters is now working fine. I deleted the nvram and recalibrated and now everything works fine. (And works under my frontend)

2) Ninja Assault also works fine. I tried launching the game from within my frontend using an AHK script that launches Demulshooter & Demul vs launching natively under my frontend and it now works. I have no idea as to why this works though.
:cheers:

spelosi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:September 11, 2022, 03:08:29 pm
How do I calibrate gun in lgj service menu?

Crosshair moves around but buttons don't seem to do anything.

Thanks.
« Last Edit: April 19, 2019, 02:47:14 am by spelosi »

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:March 24, 2024, 10:26:05 am
Does anyone have a copy of Teknoparrot 1.93 they could share?  I've noticed that the latest version(s) 1.0.0.118, 1.0.0.122, and 1.0.0.125, will not accept player 2 start/coin nor hook with Demulshooter in Lets go jungle on both win 7 and win for me.  I'd like to try an earlier version. Thanks
Fate flies in fear of the moment

spelosi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:September 11, 2022, 03:08:29 pm
Does anyone have a copy of Teknoparrot 1.93 they could share?  I've noticed that the latest version(s) 1.0.0.118, 1.0.0.122, and 1.0.0.125, will not accept player 2 start/coin nor hook with Demulshooter in Lets go jungle on both win 7 and win for me.  I'd like to try an earlier version. Thanks

You can find what you are looking for (and more) here:

http://doom4ever.com/__Doomflash/TP/

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:March 24, 2024, 10:26:05 am
Thanks! 1.93worked for me, almost made it through the whole game one crash at the end....figures.  Has anyone figured out how to use the "special" button(s) for this game?  I set it to my gamepad (with Xinput enabled)  but it doesn't work.
Fate flies in fear of the moment

spelosi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:September 11, 2022, 03:08:29 pm
1.93 is the only version that worked with demulshooter for me as well.


bryhud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
  • Last login:July 16, 2023, 07:08:24 pm
Anyone have elevator action death parade working with All Game Loader RH? It loads it in full screen with a Bezel which looks nice but the aiming seems to be off.  to setup the bezel in RH


DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 72
  • Last login:March 24, 2024, 10:26:05 am
I had it running well, but now for some reason Game loader all squishes the aspect ration to the left side of the screen.  Not sure how to fix this. It runs fine without game loader all.
Fate flies in fear of the moment

Wittyreid

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:May 10, 2019, 11:28:44 am
  • I want to build my own arcade controls!
Hi, I am having problems getting 2 aimtrak guns working in dolphin. Demulshooter copies everything across to the player 2 aimtrak as I think it should but dolphin still sees both guns a 1 mouse.
Sorry guys!! I know this will be somewhere in this forum but I just can’t find it.
Anyone’s help would be really appreciated! I need some HOTD overkill 2 player action

Cheers

bryhud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
  • Last login:July 16, 2023, 07:08:24 pm
I had it running well, but now for some reason Game loader all squishes the aspect ration to the left side of the screen.  Not sure how to fix this. It runs fine without game loader all.

Yeah it seems ok without gameloader but I want to use a bezel for my cabinet

ArcadeBliss

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 167
  • Last login:October 08, 2023, 11:47:26 pm
This thread should be a stickey

Scroom

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 30, 2019, 09:55:10 pm
  • I want to build my own arcade controls!

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am

hyo2012

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 70
  • Last login:January 07, 2024, 05:24:10 am
  • I want to build my own arcade controls!
demulshooter is not working on Hotd4 since latest teknoparrot update.(1.0.0.149)


punkdark2000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 84
  • Last login:February 28, 2024, 06:27:43 am
  • I want to build my own arcade controls!
demulshooter is not working on Hotd4 since latest teknoparrot update.(1.0.0.149)

Argon said that he will not be updating the demulshooter at the same speed as the updates of Teknoparrot, I believe now he will only update the demulshooter when Rambo and 2spicy are not just for patreons.

happilyworking

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 17, 2019, 05:54:07 am
  • I want to build my own arcade controls!
Sorry if this has been covered in previous pages but I am struggling to get Ghost Squad working in Dolphin with 2 Aimtrak light guns.

The guns are configured correctly in Demulshooter but when I launch the game (using -target=dolphin5 -ddinumber=3), the 2nd gun does no register at all and both guns are controlling the P1 crosshair.

any suggestions? Thanks in advance.
« Last Edit: May 09, 2019, 06:52:59 pm by happilyworking »

Snoopy456

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:August 05, 2023, 03:40:56 am
  • I want to build my own arcade controls!
Hello, I still have problem for let's go jungle.
I m trying with minimal setting.
teknoparrot 1.0.0.159
DemulShooter 8.5.5.0
An xpad 360

I can make let's go island working but not let'sgo jungle with exctly same setting

DemulShooter.exe -target=ringwide -rom=lgi -parrotloader
DemulShooter.exe -target=lindbergh -rom=lgj

General xinput disabled
Usemouse for gun disabled

Executable
LGIringW_F_safe.exe for LGI and lgj_final for LGJ

Someone have an idea ?




punkdark2000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 84
  • Last login:February 28, 2024, 06:27:43 am
  • I want to build my own arcade controls!
Hello, I still have problem for let's go jungle.
I m trying with minimal setting.
teknoparrot 1.0.0.159
DemulShooter 8.5.5.0
An xpad 360

I can make let's go island working but not let'sgo jungle with exctly same setting

DemulShooter.exe -target=ringwide -rom=lgi -parrotloader
DemulShooter.exe -target=lindbergh -rom=lgj

General xinput disabled
Usemouse for gun disabled

Executable
LGIringW_F_safe.exe for LGI and lgj_final for LGJ

Someone have an idea ?


This version you are using from TP does not work together with Demulshooter, the last version that works is 1.0.0.122

Snoopy456

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:August 05, 2023, 03:40:56 am
  • I want to build my own arcade controls!
Haaa, ok, thx, for me I thought it was necessary a version > 1.0.0.122.

Edit:
Quote
This guide is written for TeknoParrot 1.0.0.112
Older version won't work anymore with DemulShooter

Lol, so it seem, we need exactly this version, no more , no less.
« Last Edit: May 10, 2019, 05:37:35 am by Snoopy456 »

punkdark2000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 84
  • Last login:February 28, 2024, 06:27:43 am
  • I want to build my own arcade controls!
Haaa, ok, thx, for me I thought it was necessary a version > 1.0.0.122.

Edit:
Quote
This guide is written for TeknoParrot 1.0.0.112
Older version won't work anymore with DemulShooter

Lol, so it seem, we need exactly this version, no more , no less.


Exactly, when Argon released the last version of Demulshooter this was the current version of TP, after that there were many updates and the last one that worked together with the Demulshooter was version 1.0.0.122 which is the version I use. After that the demulshooter it did not work anymore.

happilyworking

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 17, 2019, 05:54:07 am
  • I want to build my own arcade controls!
Anyone able to help with the following? I have set everything up as said in the instructions but P2 gun does not register at all. Both guns are controlling P1 cursor

Quote
17:45:51.884555 :
17:45:51.888521 : -------------------- Program Start ----------------------
17:45:51.891539 : P1 device = \\?\HID#VID_D209&PID_1604&MI_02#7&37a156&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:51.893518 : P1 Device Handle = 94046677
17:45:51.896525 : P2 device = \\?\HID#VID_D209&PID_1605&MI_02#7&384d7fd2&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:51.899503 : P2 Device Handle = 221906591
17:45:51.903503 : P3 device =
17:45:51.906465 : P3 Device Handle = 0
17:45:51.909455 : P4 device =
17:45:51.911478 : P4 Device Handle = 0
17:45:51.914442 : Cmdline arg 1 : -target=dolphin5
17:45:51.916465 : Cmdline arg 2 : -ddinumber=3
17:45:51.919429 : Cmdline arg 3 : -v
17:45:51.944383 : Waiting for Dolphin  game to hook.....
17:45:52.957247 : Attached to Process Dolphin.exe, ProcessHandle = 1208
17:45:52.962234 : Dolphin.exe = 0x00400000
17:45:54.967361 : Cannot read memory at address 0x0128BC80
17:45:54.970344 : ControlsPtr address = 0x00000000
17:45:54.973336 : Cannot read memory at address 0x00000000
17:45:54.976329 : DInput Keyboard/Mouse address = 0x00000000
17:45:54.978351 : DInput Player2 device number in the list : 21
17:45:54.981343 : Cannot read memory at address 0x00000010
17:45:54.984335 : DInput Device#2 address = 0x00000000
17:45:54.987327 : Memory Hack complete !

Update: I've now tested this on a second computer and am having the exact same issue. This would suggest it has something to do with either the guns or I'm doing something wrong when setting up (which I'm pretty sure i'm not). The guns work perfectly in the diag, both guns respond to their respective IDs and all buttons are working.

I'm tried everything I can think of and am completely stumped. Any help would be appreciated!!
« Last Edit: May 13, 2019, 04:53:20 am by happilyworking »

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:May 03, 2023, 06:51:54 am
  • I want to build my own arcade controls!
Hi,

i already play lots of games with demulshooter (thx to Argonlefou).

but i am struggling to make a correct calibration setting for lgj....

cursors are very very slow and respond very bad to the direction when i move my guns (wiimotes)....

How to calibrate the cursor correctly for this game when using xinput controls settings in teknoparrot?

thx.

 :)


phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:January 24, 2024, 05:40:47 am
  • I want to build my own arcade controls!
I think you should not use xinput in teknoparrot if using demulshooter.
I remember testing vc3 in cxbx with xinput and the crosshair was like dragged, slower than using it with demulshooter

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:May 03, 2023, 06:51:54 am
  • I want to build my own arcade controls!
Ok @phasermaniac

i tried with HOTD4 and same thing....  non working cursor or very very slow... and start P2 not working on the latest TP revision.

maybe you are right.. because if i rember correctly, it worked with two wiimotes with the option "use lightgun as a mouse" checked in TP before...
but if i read the wiki from demulshooter : Argonlefou mention that we must uncheck these options for these games in TP.   :dunno

moreover, demulshooter simulates xbox 360 pads to allow the operation of 2 cursors on the screen. which means that we must configure the lightguns as pad and not as a mouse

or maybe the problem this is relative to the demulshooter version supporting only TP till the 112 or 122 revision....

if someone could clarify this point .....

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
moreover, demulshooter simulates xbox 360 pads to allow the operation of 2 cursors on the screen. which means that we must configure the lightguns as pad and not as a mouse
No you got this wrong: demulshooter READS from Xinput device to get axis and buttons value and then inject these values into game memory.

So, yes, you need to set your wiimotes as Pad, but not for Teknopparot. Don't set it using your Xinputs gamepad:
In Teknopparot, just do as stated on the wiki (like you are playing the game with mouse or lightgun) and demulshooter will do the job and will act as a gateway between your Wiimotes and the emulator

If you add directly your Wiimotes in Teknopparot demulshooter won't have any effect and you'll be playing drectly with Teknopparot Xinput

As for P2, demulshooter is hacking the game to enable it (start buttons not beeing registered otherwise). I don't know if it was corrected un recent updates but back then, you could'nt get it to work without modifying the elf file or using demulshooter

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:May 03, 2023, 06:51:54 am
  • I want to build my own arcade controls!
Hi, thanks for the details Argonlefou,

I only managed to play LGJ using the TP 1.93 version :
In TP --> i checked xinput,  then unchecked UseMouseForGun,
Calibration doesn't give better results on this game.
i set all directions with my wiimotes for P1 and P2 under controller  settings inside TP

If  i play with the latest version of TP, (with the exact same setting)  : cursors are horrible to move.

I also retry HOTD4 but i don't know why , if i am using the same setting as LGJ , i am only able to launch grenades...
 :dunno
« Last Edit: May 26, 2019, 06:17:24 pm by ginzu »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
Hi, thanks for the details Argonlefou,

I only managed to play LGJ using the TP 1.93 version :
In TP --> i checked xinput,  then unchecked UseMouseForGun,
Calibration doesn't give better results on this game.
i set all directions with my wiimotes for P1 and P2 under controller  settings inside TP

If  i play with the latest version of TP, (with the exact same setting)  : cursors are horrible to move.

I also retry HOTD4 but i don't know why , if i am using the same setting as LGJ , i am only able to launch grenades...
 :dunno
Well....as you're talking about using deprecated TP release (1.93) and unsupported TP release (latest one),  and as you're still checking Xinput in TP's settings, I can't help you with whatever you're doing because it's not related to demulshooter

To run Demulshooter/Wiimote combo you HAVE TO use Tp 1.0.0.112 (or 122 may work) and select Dinput

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:May 03, 2023, 06:51:54 am
  • I want to build my own arcade controls!
 8) OK thank you for confirming this point. It was I who could not be sure of understanding. I would do tests again tonight. Sorry if I pissed you off, it was not the goal. I need to re-download a 112 version of tp and I selected dinput. Thanks to you.

But for hotd4 I can only trow grenades...
No it's a joke  :laugh2:

OK  :lol I go out.....


Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:March 04, 2024, 04:36:28 pm
  • I want to build my own arcade controls!
Hi, argonlefou, i'm trying to use your program with a crt lightgun that i'm using and i was hoping you could help me with two issues.
For the lightgun to work it requires an external program, a flasher, to flash the screen so the gun could "see" where i'm aiming, and due to windows' framebuffer, the flasher is not fast enough and the gun misses the flash. Currently i'm using an ahk script to introduce a delay to the Left Button click, and that seems to work quite well for non rawinput games.
Is there a possibility to add an adjustable delay? So whenever i press the trigger, demulshooter will wait a specified amount of ms and only then take a reading from the guns? (Guns vid 0B9A, PID 016A)
That was request number 1.
Request number 2 is that after the delay and after it takes a reading, if it detects that the gun is pointing off screen (0x0000, 0000), it would then send a reload command (Right Click).
Is this possible?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
Hi, argonlefou, i'm trying to use your program with a crt lightgun that i'm using and i was hoping you could help me with two issues.
For the lightgun to work it requires an external program, a flasher, to flash the screen so the gun could "see" where i'm aiming, and due to windows' framebuffer, the flasher is not fast enough and the gun misses the flash. Currently i'm using an ahk script to introduce a delay to the Left Button click, and that seems to work quite well for non rawinput games.
Is there a possibility to add an adjustable delay? So whenever i press the trigger, demulshooter will wait a specified amount of ms and only then take a reading from the guns? (Guns vid 0B9A, PID 016A)
That was request number 1.
Request number 2 is that after the delay and after it takes a reading, if it detects that the gun is pointing off screen (0x0000, 0000), it would then send a reload command (Right Click).
Is this possible?
Well, it may not really be a doable thing unfortunatelly :
You see, as opposed to Xinput devices where I need to poll values every XXmilliseconds, those kind of lightguns are sending data whenever they have to and I don't have to choosse when.

I'm not familiar with CRT guns but thechnically you shouldn't be able to get real time tracking as the only way to update X-Y coordinates is to have a trigger event (causing the flash + getting coordinates)
Which means - if the guns is acting like other RawInput guns - the only data I'll get from your gun are a "left click" events with X-Y data
And I can't delay anything as I can't have any other X-Y data untill you press the trigger again

Judging by your PID/VID (and thanks to MAME source code and google  ;D) it seems like your gun is a "SMOG Lightgun" but I did'nt find any other information about this gun

You can try to use it with DemulShooter with the -v option to get a debug file and share it here so that I can see how it behaves, but I don't think you'll have a lot in it (I hope I'm wrong)

On the other hand, a few people are using CRT gun here (sometimes with custom flasher and tools) and I hope they may have some ideas for you
« Last Edit: June 01, 2019, 04:38:18 am by argonlefou »

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:March 04, 2024, 04:36:28 pm
  • I want to build my own arcade controls!
I'm not familiar with CRT guns but thechnically you shouldn't be able to get real time tracking as the only way to update X-Y coordinates is to have a trigger event (causing the flash + getting coordinates)
Which means - if the guns is acting like other RawInput guns - the only data I'll get from your gun are a "left click" events with X-Y data
And I can't delay anything as I can't have any other X-Y data untill you press the trigger again

Judging by your PID/VID (and thanks to MAME source code and google  ;D) it seems like your gun is a "SMOG Lightgun" but I did'nt find any other information about this gun

You can try to use it with DemulShooter with the -v option to get a debug file and share it here so that I can see how it behaves, but I don't think you'll have a lot in it (I hope I'm wrong)

On the other hand, a few people are using CRT gun here (sometimes with custom flasher and tools) and I hope they may have some ideas for you
Actually, that is not how it works, the gun is always tracking as long as the gun can "see", that's why the simple ahk method works just fine.
I'm currently at work so i can't make a verbose file, but i'll attach one as soon as i get home.
The PID/VID is the same for all guncon2, you will probably find several names for it, "WinGun", "SMOG Lightgun", "Topgun"

My idea was this: Trigger -> flash -> Delay -> Demulshooter fires after the delay that was specified, just in time for the flash.
That's how i did it with ahk and that method worked. And if Demulshooter detects 0x0000, 0000 it would send a Reload command.
That is what i was hoping for.
In other words, i don't have to press the trigger for the gun to send X-Y coordinates, it tracks real time, as long as there's enough light coming from the place i'm aiming.
« Last Edit: June 01, 2019, 05:13:17 am by Foxhole »

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:March 04, 2024, 04:36:28 pm
  • I want to build my own arcade controls!
Debug file attached.
Player 2 gun was not in use, by the way.
« Last Edit: June 01, 2019, 04:24:56 pm by Foxhole »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
Thanks for the debug file, it sure helps

Actually, that is not how it works, the gun is always tracking as long as the gun can "see", that's why the simple ahk method works just fine.
[...]

My idea was this: Trigger -> flash -> Delay -> Demulshooter fires after the delay that was specified, just in time for the flash.
That's how i did it with ahk and that method worked. And if Demulshooter detects 0x0000, 0000 it would send a Reload command.
That is what i was hoping for.
In other words, i don't have to press the trigger for the gun to send X-Y coordinates, it tracks real time, as long as there's enough light coming from the place i'm aiming.
Indeed. Seeing the the debug file, your guns are constantly sending data (even if no change has occured, as your P2 gun is still sending the same value all the time)
Which make me wonder...why do you even need a flash in that case ? I mean,  X-Y values are being updated constantly (even if I have no way to know if they are correct for you) and I also got the trigger press/release messages correctly (it should trigger the shoot in game with latest X-Y values)

In theory, with the debug file you sent me, all should be working good (except for the "reload" part but I'll save this for later)
« Last Edit: June 02, 2019, 04:38:54 am by argonlefou »

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:March 04, 2024, 04:36:28 pm
  • I want to build my own arcade controls!
While the guns track real time, they will send a 0000 if they can't "see" where they are being aimed. That's why the flash is mandatory.
« Last Edit: June 02, 2019, 07:51:49 am by Foxhole »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
While the guns track real time, they will send a 0000 if they can't "see" where they are being aimed. That's why the flash is mandatory.
I sent you a private message, to discuss technical details

darklord777

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:July 15, 2019, 06:46:21 am
  • I want to build my own arcade controls!
DemulShooter problem with hotd3 pc version
« Reply #1717 on: June 15, 2019, 01:01:57 am »
hello there dear and great argonlefou! hello everyone!
thanks to your efforts, playing any shooter game is much more easier and pleasant.
i have a problem though! when i am trying to play hotd3 pc version, both pointers get stuck at
upper left corner of the screen.
any help???

icom6636

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:November 20, 2022, 09:28:42 pm
Hi Argonlefou, first off thank you so much for your continued support of this fantastic program, I have a two player gun cabinet that I built utilizing Aimtrak lightguns in a Windows 10 64bit machine.  I have been successful in getting HOTD through the M2 emulator to work great in two player mode, however I am struggling to get this to work with the HOTD3 PC version.  I have followed your guide to the best of my ability but still have no result with any Mouse cursor presence, in fact I cannot seem to be able to select start as the game does not seem to respond to inputs when demulshooter is running  I have attached my debug file below in the hope that you might be able to help me with what might be wrong, as a side note I did set both players as keyboard in the input configuration of the game, and set start 1 for player 1 and start 2 for player 2,  I am using Demulshooter V8.5.5.  I have attached my debug result and also sent you the Hotd3pc.exe CRC check. Thank You for any help you can send my way.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Yesterday at 01:34:11 am
Re: DemulShooter problem with hotd3 pc version
« Reply #1719 on: June 18, 2019, 05:08:49 am »
hello there dear and great argonlefou! hello everyone!
thanks to your efforts, playing any shooter game is much more easier and pleasant.
i have a problem though! when i am trying to play hotd3 pc version, both pointers get stuck at
upper left corner of the screen.
any help???
Use -v to get a debug file and post it here, just like the message just after you

Hi Argonlefou, first off thank you so much for your continued support of this fantastic program, I have a two player gun cabinet that I built utilizing Aimtrak lightguns in a Windows 10 64bit machine.  I have been successful in getting HOTD through the M2 emulator to work great in two player mode, however I am struggling to get this to work with the HOTD3 PC version.  I have followed your guide to the best of my ability but still have no result with any Mouse cursor presence, in fact I cannot seem to be able to select start as the game does not seem to respond to inputs when demulshooter is running  I have attached my debug file below in the hope that you might be able to help me with what might be wrong, as a side note I did set both players as keyboard in the input configuration of the game, and set start 1 for player 1 and start 2 for player 2,  I am using Demulshooter V8.5.5.  I have attached my debug result and also sent you the Hotd3pc.exe CRC check. Thank You for any help you can send my way.
Based on MD5/CRC check, I don't think your game is a known version for me and that may explain why the hook is not working