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

0 Members and 4 Guests are viewing this topic.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Hello

Not sure of what can cause that behavior, this can be many things and HOTD3 has been known to be buggy in a lot of ways

To rule out any DemulShooter problem, you can get a debug file (https://github.com/argonlefou/DemulShooter/wiki/Debugging#step-3) as there are time stamps in it.
It would be easily possible to see if the 3 seconds delay is between the moment the gun receives the input and the memory write.

You can also try the Arcade mod I made for hotd3 : https://github.com/argonlefou/Hotd3pc_ArcadeMod
It's stripping most of the weird stuff the game initially do with launcher exe, registry changes etc....

Not that you have to like the "arcade modded" game compared to the original one, but as a test it would be something to know if you still have delay with the mod

Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Hello

Not sure of what can cause that behavior, this can be many things and HOTD3 has been known to be buggy in a lot of ways

To rule out any DemulShooter problem, you can get a debug file (https://github.com/argonlefou/DemulShooter/wiki/Debugging#step-3) as there are time stamps in it.
It would be easily possible to see if the 3 seconds delay is between the moment the gun receives the input and the memory write.

You can also try the Arcade mod I made for hotd3 : https://github.com/argonlefou/Hotd3pc_ArcadeMod
It's stripping most of the weird stuff the game initially do with launcher exe, registry changes etc....

Not that you have to like the "arcade modded" game compared to the original one, but as a test it would be something to know if you still have delay with the mod



Thank you for the answer.

I created the log by running your mod

Also with your mod nothing change, there is always the dealy.

What i did after launching the game is: push 5 to add a credit, push 1 to play, shoot 3 times (shoot its correctly made on the screen on the correct position but with a delay of some seconds)

PS:

Yout mod looks much better that the original! thank you to share and made it.  :notworthy:
« Last Edit: August 24, 2024, 09:51:17 am by Marcoqwerty »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Unfortunately I don't see any delay in the log, so it's either happening before DS gets the data or after it writes it to the game.

If you're opening Demulshooter_Gui, at the time you choose your device for P1 you'll notice red squares going green when you push gun buttons.
Do you also have delay on that screen when you're pressing buttons ?


Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Unfortunately I don't see any delay in the log, so it's either happening before DS gets the data or after it writes it to the game.

If you're opening Demulshooter_Gui, at the time you choose your device for P1 you'll notice red squares going green when you push gun buttons.
Do you also have delay on that screen when you're pressing buttons ?

Exactly! i tested it! and there is any delay on the Demul config screen.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Then if you also have delay on DemulShooter_Gui....you will have it everywhere with every game.
The GUI display the button press as soon as it gets the button pressed signal from Windows....so it means DemulShooter gets an already delayed signal.

To be honest it's the first time I see that specific issue, and I have absolutely no idea to solve it.

Especially since you seem to have no delay on your axis data movement (only button press ?) and no delay when using the gun as a mouse 😔

Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Then if you also have delay on DemulShooter_Gui....you will have it everywhere with every game.
The GUI display the button press as soon as it gets the button pressed signal from Windows....so it means DemulShooter gets an already delayed signal.

To be honest it's the first time I see that specific issue, and I have absolutely no idea to solve it.

Especially since you seem to have no delay on your axis data movement (only button press ?) and no delay when using the gun as a mouse 😔

Im sorry for my bad egnlish, i would like to say that there isn't any delay, all its perfect on the DEMULSHOOTER GUI.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Ah ! Well unfortunately it doesn't change the conclusion : I still have no idea at all  :(

The hotd3 exe version you're using is the same I have on my computer, so I know it's working fine without that kind of issue.

You don't have any logging option enabled in Demulshooter, so this is absolutely not because of any "too many disk access" causing lag between inputs and the game

You don't have any lag on the GUI, so the gun is working perfectly

You can also ask on Gun4IR discord channel, see if anyone already experienced something like that, hopping you can have a few answers

Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Ah ! Well unfortunately it doesn't change the conclusion : I still have no idea at all  :(

The hotd3 exe version you're using is the same I have on my computer, so I know it's working fine without that kind of issue.

You don't have any logging option enabled in Demulshooter, so this is absolutely not because of any "too many disk access" causing lag between inputs and the game

You don't have any lag on the GUI, so the gun is working perfectly

You can also ask on Gun4IR discord channel, see if anyone already experienced something like that, hopping you can have a few answers

Anyway super thank you! looks like i removed a bit of delay by setting some .exe as Admin but im not 100% sure.

Could you point me on the Demulshooter server on Discord?

Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Ah ! Well unfortunately it doesn't change the conclusion : I still have no idea at all  :(

The hotd3 exe version you're using is the same I have on my computer, so I know it's working fine without that kind of issue.

You don't have any logging option enabled in Demulshooter, so this is absolutely not because of any "too many disk access" causing lag between inputs and the game

You don't have any lag on the GUI, so the gun is working perfectly

You can also ask on Gun4IR discord channel, see if anyone already experienced something like that, hopping you can have a few answers

Just to know, i try Haunted Museum, that dont have any launcher and all work perfectly no dealy and both guns.

I tried also HOTD3 directly with the hod3pc.exe file but im not able to test because i cant start the game.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Quote from: Marcoqwerty

Could you point me on the Demulshooter server on Discord?

There is no DemulShooter discord, but I was talking about the Gun4Ir discord as it's the gun you're using, you can find the discord link here :
https://www.gun4ir.com/pages/contact-us

Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Quote from: Marcoqwerty

Could you point me on the Demulshooter server on Discord?

There is no DemulShooter discord, but I was talking about the Gun4Ir discord as it's the gun you're using, you can find the discord link here :
https://www.gun4ir.com/pages/contact-us

Ok i discover the "issue", Demulshooter have some trouble (on my case) while im running HOTD3 in FULLSCREEN, when i load the game windowed all its fine and there is no delay.

If there is some idea about it im opened to try.


Marcoqwerty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:November 07, 2024, 12:56:10 pm
Ok last reply...i solved the "issue" (on my end) with help of @PaCiFiKbAllA   :notworthy: the guy who create the Pack for RLauncher.

I'm running the game windowed but fullscreen without border, and there is any DS delay.

 :cheers:

ygtandoh

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:October 05, 2024, 06:31:36 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3452 on: September 01, 2024, 11:15:52 pm »
I need help with Jurassic Park raw thrills. I'm using D input with demulshooter in Teknoparrot but the gun crosshairs are not moving at the mission select screen. Am I missing a step or do I need to go into the test menu? Thanks in advance

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3453 on: September 02, 2024, 01:04:55 am »
There is no input support for Jurrasic Park with DemulShooter, it's only used to get outputs.

So any issue on the aiming/firing side comes from TP key mapping

ygtandoh

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:October 05, 2024, 06:31:36 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3454 on: September 02, 2024, 06:55:27 am »
Thanks for clarifying...

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 73
  • Last login:October 20, 2024, 11:59:22 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3455 on: September 28, 2024, 07:40:43 am »
Hey Argon, would it be possible to get Demulshooter working for the game(s) Railbreak, and/or MutantZone?  They are both 2 player games, but player 2 has to use mouse or gamepad,  I'd love to use two light guns for those games. Thanks in advance.
Fate flies in fear of the moment

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3456 on: September 29, 2024, 09:17:19 am »
Hey Argon, would it be possible to get Demulshooter working for the game(s) Railbreak, and/or MutantZone?  They are both 2 player games, but player 2 has to use mouse or gamepad,  I'd love to use two light guns for those games. Thanks in advance.
I was asked to look at Mutant Zone a few weeks(month?) ago and, although the game looks like a very old school, basic, ans easy to work program.....it turned out to be made out of some ready-to-go game engine and just like Blue Estate or other UnrealEngine based game, has all needed values and code layered so much that I can't follow it like I usually do 😓

As for Railbreak, I don't even want to look into that kind of modern and not-arcade game as I'm pretty sure it will leads to nothing but headache.
On top of that, I find it ....fun that the devs are using their "sinden compatible" game as a selling argument when they are not able to handle 2 lightguns at the same time.
I don't really want to lose time to fix what should have been done initially, and letting them get the money out of it.

BunkMoreland2

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:October 22, 2024, 07:59:00 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3457 on: October 22, 2024, 07:59:17 pm »
Thanks for developing such a useful tool. I'm trying to get Rabbids Hollywood Arcade to launch and use Sinden Light guns but it goes to a black screen. Log files are attached. I suspect USB port conflict issue, but I have tried removing all USB devices including mouse and keyboard, uninstalling from device manager, rebooting and VNCíng in and it still won't launch. Demulshooter seems to hook correctly and I can see/use the guns in DSDiag. Demulshooter output seems normal (coordinate issues are because guns were pointing at floor, but the Rabbids log output seems to loop on the following output. All help greatfully received!

[Debug :RHA DemulShooter Plugin] DemulSHooter_Plugin.Update() => PlayerList.Length = : 4

gstav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 216
  • Last login:October 25, 2024, 08:36:56 am
    • forum.arcadecontrols.com/index.php/topic,157861.0.html
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3458 on: October 24, 2024, 04:19:48 am »
tested newest Flycast 2.4 and I saw that it dont hook on House of the Dead 2 (red DS target), the olde Flycast 2.3 works though (green DS target).
Might be something changed in the emu I guess  :angel:
"One coin to rule em' all"

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3459 on: October 25, 2024, 08:41:50 am »
Thanks for developing such a useful tool. I'm trying to get Rabbids Hollywood Arcade to launch and use Sinden Light guns but it goes to a black screen. Log files are attached. I suspect USB port conflict issue, but I have tried removing all USB devices including mouse and keyboard, uninstalling from device manager, rebooting and VNCíng in and it still won't launch. Demulshooter seems to hook correctly and I can see/use the guns in DSDiag. Demulshooter output seems normal (coordinate issues are because guns were pointing at floor, but the Rabbids log output seems to loop on the following output. All help greatfully received!

[Debug :RHA DemulShooter Plugin] DemulSHooter_Plugin.Update() => PlayerList.Length = : 4
I'm unfortunatelly unable to check BepInEx logfiles for now,
I'll try to remember to come back to your messages in a few weeks.
Looking at the DemulShooter log, you have a (good) already patched version of the game that should run on its own : does the game starts normally (without black screen) if you remove BepInEx plugin files ? (Removing winhtttp.dll file should be enough)

tested newest Flycast 2.4 and I saw that it dont hook on House of the Dead 2 (red DS target), the olde Flycast 2.3 works though (green DS target).
Might be something changed in the emu I guess  :angel:
Yes something happened : the exe file changes memory addresses every single time it is compiled ....so....it's normal ton see DS not beeing able to hook it. I'll do that later


cangarujack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:November 09, 2024, 09:56:08 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3460 on: November 02, 2024, 02:13:17 pm »
Hi Argon! :)
There is a way to remove crossair from Jurassic Park?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1028
  • Last login:Today at 07:38:55 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3461 on: November 03, 2024, 05:24:29 pm »
Hi Argon! :)
There is a way to remove crossair from Jurassic Park?
Jurrasic Park Arcade from Raw Thril ?
Yes, just add the -nocrosshair option in DemulShooter command line

https://github.com/argonlefou/DemulShooter/wiki/Raw-Thrill#misc-notes--1

cangarujack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:November 09, 2024, 09:56:08 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #3462 on: November 04, 2024, 12:27:01 pm »
Thanks!!! :notworthy: