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

0 Members and 2 Guests are viewing this topic.

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • I want to build my own arcade!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1080 on: January 03, 2018, 03:42:44 pm »
DemulShooter 7.0c :

A new dump of Aliens: Extermination is available, with stripped dongle check
It now runs on a 64bits Windows  ;D without the need of a VM

So I changed a few things in DemulShooter :
-rom= aliens now targets the new exe ("aliens dehasped.exe")
-rom= alienshasp is now the command to target the original exe ("abhrelease.exe")

And I added a few lines in case of Keyboard issue for the debug file

Great! I will try that!
BTW I tried 7.0b with 'Run As Admin' still get the same message

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • I want to build my own arcade!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1081 on: January 03, 2018, 03:46:05 pm »
hmmm, here is what I have:

Code: [Select]
15:44:27.314237 :
15:44:27.329866 : -------------------- Program Start ----------------------
15:44:27.376794 : P1 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
15:44:27.408048 : P1 device handle = 65595
15:44:27.423676 : P2 device  = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
15:44:27.501807 : P2 device handle = 65593
15:44:27.548686 : Cmdline arg 1 : -target=ringwide
15:44:27.579913 : Cmdline arg 2 : -rom=og
15:44:27.611156 : Cmdline arg 3 : -v
15:44:27.658064 : Impossible to register DirectInput keyboard: Could not load file or assembly 'Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
15:44:27.658064 : Waiting for RingWide og game to hook.....
15:44:30.178069 : Attached to Process gs2.exe, ProcessHandle = 1172
15:44:30.180587 : gs2.exe = 0x00400000
15:44:30.183074 : P2_X adddress =  0x074E8AC8
15:44:30.185075 : P2_Y adddress =  0x074E8ACC
15:44:30.188078 : Custom Axis data will be stored at : 0x076C0000
15:44:30.193098 : Adding Trigger CodeCave at : 0x076D0000
15:44:30.197603 : Adding Axis CodeCave at : 0x0FA70000
15:44:30.201090 : Memory Hack complete !
15:44:30.202091 : -
15:44:43.180873 : gs2.exe closed


I read about that and it seems this is obsolete DLLs that will no longer be distributed.  Maybe I am wrong but in any case, I do not find it on my PC.  Can you add it to the Demulshooter zip ?
« Last Edit: January 03, 2018, 03:54:58 pm by Phil1972 »

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • I want to build my own arcade!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1082 on: January 03, 2018, 08:41:15 pm »
OK, I got further and I think I have found the issue.  I found the Microsoft.DirectX.Dll out of an sdk.  This fixed the issue regarding the DLL loading, BUT the trigger still did not work!

The keyboard I had did not have the NumLock button(multimedia keyboard without numpad).  So I went and plugged a full keyboard.  The issue was still there!  I just enabled the NumLock and it started working!!!  So I guess to make sure Demulshooter works all the time, maybe you can force the numlock? Or maybe there is something else to do to send the proper key stroke when NumLock is off?

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1083 on: January 03, 2018, 10:03:30 pm »
DemulShooter 7.0c :

A new dump of Aliens: Extermination is available, with stripped dongle check
It now runs on a 64bits Windows  ;D without the need of a VM

So I changed a few things in DemulShooter :
-rom= aliens now targets the new exe ("aliens dehasped.exe")
-rom= alienshasp is now the command to target the original exe ("abhrelease.exe")

And I added a few lines in case of Keyboard issue for the debug file

Thanks to uploader that finally got this running without a vm (I couldn't get it to work on my cab with the VM), Thank you Argon for making(and constantly updating) DemulShooter, and thanks to everyone else in this community for all the help.  You guys rock!  Happy New Year!  :cheers:
(My next task is to hopefully figure out how to edit Aliens for higher resolutions)
« Last Edit: January 03, 2018, 10:06:18 pm by DMB77 »
Fate flies in fear of the moment

dgrace

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 233
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1084 on: January 03, 2018, 10:54:08 pm »
DemulShooter 7.0c :

A new dump of Aliens: Extermination is available, with stripped dongle check
It now runs on a 64bits Windows  ;D without the need of a VM

So I changed a few things in DemulShooter :
-rom= aliens now targets the new exe ("aliens dehasped.exe")
-rom= alienshasp is now the command to target the original exe ("abhrelease.exe")

And I added a few lines in case of Keyboard issue for the debug file


Works great.  Thanks Argon! Quick question.  Is there a way to exit the game other than using task manager?  I apologize if this question has already been answered.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1085 on: January 04, 2018, 02:13:31 am »
OK, I got further and I think I have found the issue.  I found the Microsoft.DirectX.Dll out of an sdk.  This fixed the issue regarding the DLL loading, BUT the trigger still did not work!

The keyboard I had did not have the NumLock button(multimedia keyboard without numpad).  So I went and plugged a full keyboard.  The issue was still there!  I just enabled the NumLock and it started working!!!  So I guess to make sure Demulshooter works all the time, maybe you can force the numlock? Or maybe there is something else to do to send the proper key stroke when NumLock is off?
At least you could solve your DirectX dll issue

For Operation Ghost, it looks crystal clear now: 2P buttons are all on the NumPad so....no NumPad, no buttons ! ;)
That beeing said, I never really realized a real keyboard had to be plugged to simulate keys. I'll look into this later... it's weird but it may be true

Edit: I can play the games without any keyboard plugged but indeed, in that case all NumLock keys are not recognized by the system as the NumLock is not ON. Same problem with a real keyboard and NumLock disabled. I'll fix that ;)
All other keys are working fine even with no keyboard plugged at all

(My next task is to hopefully figure out how to edit Aliens for higher resolutions)
I think I'll play with that today ;)
Too bad that changing to high resolution makes boss weak point not to be visible anymore


Works great.  Thanks Argon! Quick question.  Is there a way to exit the game other than using task manager?  I apologize if this question has already been answered.
I close it with ESC key (via my lauching ahk script). it contains the following :
Quote
Escape::
   Exit()
Return

;Exit Game procedure
Exit(){
   Process, Close, aliens dehasped.exe
   Run, C:\Program Files (x86)\nomousy\nomousy.exe -s , C:\Program Files (x86)\nomousy\
   ExitApp
}
« Last Edit: January 04, 2018, 02:25:24 am by argonlefou »

AnX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Drop. Your. Sword.
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1086 on: January 04, 2018, 02:49:06 am »
The keyboard I had did not have the NumLock button(multimedia keyboard without numpad).  So I went and plugged a full keyboard.  The issue was still there!  I just enabled the NumLock and it started working!!!  So I guess to make sure Demulshooter works all the time, maybe you can force the numlock? Or maybe there is something else to do to send the proper key stroke when NumLock is off?

Maybe there is a numlock setting in the Bios?  If it's off it may not pick up the numpad key presses?
just a thought.

Thanks for the exit script too

So pleased by the Alien development.  I had to keep unplugging and re-plugging my aimtraks to get it to work.  Go 2018!

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1087 on: January 04, 2018, 03:05:43 am »
Maybe there is a numlock setting in the Bios?  If it's off it may not pick up the numpad key presses?
just a thought.
I don't think so, I can easily force NumLock at the start of the game and all is working good then

But without any keyboard plugged (or with a multimedia keyboard without a NumPad, I guess this will be exactly the same) it still won't work.
I guess the Win32 APIs I'm currently using don't want to enable NumPad/NumLock if they can't see it for real  :D

AnX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Drop. Your. Sword.
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1088 on: January 04, 2018, 03:10:55 am »
Maybe there is a numlock setting in the Bios?  If it's off it may not pick up the numpad key presses?
just a thought.
I don't think so, I can easily force NumLock at the start of the game and all is working good then

But without any keyboard plugged (or with a multimedia keyboard without a NumPad, I guess this will be exactly the same) it still won't work.
I guess the Win32 APIs I'm currently using don't want to enable NumPad/NumLock if they can't see it for real  :D

I'm still convinced that in this particular case an easy fix is a key mapper.  Or plug in a different keyboard!  :P
Perhaps a fresh install of windows  :laugh2:

AnX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Drop. Your. Sword.
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1089 on: January 04, 2018, 03:28:45 am »
Having a play with the new Aliens executable and i can't find a way to climate the Avi frame error that comes up at game boot.  i tried installing old DirectX (6-7) versions without any luck. 
Any help would be appreciated.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1090 on: January 04, 2018, 03:47:49 am »
I'm still convinced that in this particular case an easy fix is a key mapper.  Or plug in a different keyboard!  :P
Perhaps a fresh install of windows  :laugh2:
Other keyboard, yes but Windows has nothing to do with it  :laugh:
Well, more seriously, I don't intend to put a Keyboard on my final cab so I need to check it out but as you said, worse case.....a 2$ keyboard will do the trick

Having a play with the new Aliens executable and i can't find a way to climate the Avi frame error that comes up at game boot.  i tried installing old DirectX (6-7) versions without any luck. 
Any help would be appreciated.
solved it by installing the old divx60.exe package, you'll find it easily on google
Worse case, add -noavi as an argument tu run aliens exe, this will remove all videos and errormessage

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1091 on: January 04, 2018, 04:35:57 am »
DemulShooter 7.0d :

Okay, Keyboard issue should be solved.
With this update I managed to fully play Operation GHOST without any keyboard plugged

No changes for now for Silent Hill and Hod3Pc as you can set your keys and so, avoid NumPad ones

Let me know if it's OK now

DMB77

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1092 on: January 04, 2018, 08:16:22 am »
Having a play with the new Aliens executable and i can't find a way to climate the Avi frame error that comes up at game boot.  i tried installing old DirectX (6-7) versions without any luck. 
Any help would be appreciated.
I fixed this error by installing the DivX 6 codecs, and launching the .exe from the path C:\PC\ALIENS\DATA
Fate flies in fear of the moment

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 34
  • I want to build my own arcade!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1093 on: January 04, 2018, 08:56:33 am »
DemulShooter 7.0d :

Okay, Keyboard issue should be solved.
With this update I managed to fully play Operation GHOST without any keyboard plugged

No changes for now for Silent Hill and Hod3Pc as you can set your keys and so, avoid NumPad ones

Let me know if it's OK now

Yes, I will let you know asap.
Thanks!

Edit: Works perfectly, thanks!
« Last Edit: January 04, 2018, 12:33:46 pm by Phil1972 »

jefftukang

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1094 on: January 04, 2018, 01:11:09 pm »

Fullscreen ? And the game's cursor was at the right position when you aimed ?? It would be strange


It was fullscreen all the time, but really  playable with one gun only. And mouse worked too  :D.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1095 on: January 05, 2018, 01:26:28 pm »
It was fullscreen all the time, but really  playable with one gun only. And mouse worked too  :D.
I've got your mail and the executable  ;)
Unfortunatelly.....it's working good here, memory hack is fully compatible so that means that I don't have any freaking idea of what's going wrong with your PC  :(

As a last try, her's a sequence of tests I'd run if I were you :
0) Run hod3 config and set the game to low res and windowed mode (makes thing easier for later)
1) Run the game (without demulshooter), and verify that I can move the crossair and shoot/reload with selected keyboard keys
2) If both players are corectly set, none of the crosshair can be moved with the mouse, the mouse is only working for menu
3) Now run demulShooter and verify that the crosshair are now in the center, and can't be moved anymore with keyboard keys
4) Verify that I can still shoot/reload with the keyboard keys
5) Verify that I Can move the crosshair with Aimtrak
6) Verify that I Can shoot/reload with the Aimtrak
« Last Edit: January 05, 2018, 01:40:59 pm by argonlefou »

jefftukang

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1096 on: January 07, 2018, 11:00:40 am »

6) Verify that I Can shoot/reload with the Aimtrak

Steps 1-5 work.
But I can not verify the step 6: reload for P1 only works with keyboard (with default or any other key configured).
I think, I have tracked the problem: it is the expected default config of P1:
Z : reload P1
X : shoot P1

but... I have got a german QWERTZ keyboard and Demulshooter seems to expect a QWERTY or AZERTY for HOD3 (as the developers of HOD3 too).
So for me X and Z are not neighbours  :(  default config is unplayable on QWERTZ.

Solution for QWERTZ-keyboards is: to set P1 reload to P-button. Then reload function works.  ;D
 
« Last Edit: January 07, 2018, 11:34:10 am by jefftukang »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1097 on: January 08, 2018, 03:32:54 am »
Well, I'd never have find this myself  :D
Glad to see you managed to make ir work :)

bryhud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1098 on: January 13, 2018, 10:41:54 am »
maybe i missed it, any way to play the Aliens dehasped in HD without the black on the sides?

Thanks

*EDIT*

Nevermind... I missed it. Good to go. Thanks!
« Last Edit: January 13, 2018, 03:43:47 pm by bryhud »

ThielHater

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1099 on: January 14, 2018, 02:56:21 pm »
I couldn't find the source code, is it on any public repository? Anyway, I would like to point out a copy and paste error in "[DemulShooter]\m2emulator\scripts\hotd.lua" and "[DemulShooter]\m2emulator\scripts\vcop2.lua" on line 8, the name of the .cfg file has to be changed to the respective game.

Besides that I would like to know if there is an option to use proper crosshairs for dual AimTrak guns in House of the Dead 2 arcade version with demul 0.7 111117.

Keep up the good work!  ;)

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1100 on: January 16, 2018, 10:23:02 am »
I couldn't find the source code, is it on any public repository? Anyway, I would like to point out a copy and paste error in "[DemulShooter]\m2emulator\scripts\hotd.lua" and "[DemulShooter]\m2emulator\scripts\vcop2.lua" on line 8, the name of the .cfg file has to be changed to the respective game.

Besides that I would like to know if there is an option to use proper crosshairs for dual AimTrak guns in House of the Dead 2 arcade version with demul 0.7 111117.

Keep up the good work!  ;)
Thanks for pointing out the typo !
There is no Github repository or anything else like this for DemulShooter, but you can see the code clearly with any C# disassembler (JetBrain dotPeek  for example), nothing is hidden or obfuscated
I know everyone is using repositories nowadays, but my Visual Studio is way older than all of this and I don't really want to spend time by handling it manually  :P

I read about that and it seems this is obsolete DLLs that will no longer be distributed.  Maybe I am wrong but in any case, I do not find it on my PC. 
OK, I got further and I think I have found the issue.  I found the Microsoft.DirectX.Dll out of an sdk.  This fixed the issue regarding the DLL loading, BUT the trigger still did not work!
I finally had the time to correct my old laziness, and I rewrote the Keyboard handling so that this DLL is no longer needed. So new Windows should not be a problem for this anymore ;)

DemulShooter 7.1 :
- Corrected the typo in Model2 LUA scripts
- Completely rewrote the keyboard handling so that we don't need the directx directinput dll (you can remove it from your folder)
« Last Edit: January 16, 2018, 10:26:14 am by argonlefou »

fire10

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1101 on: January 16, 2018, 12:51:17 pm »
Amazing work Argonlefou and thanks for all the help you are awesome mate!

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 118
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1102 on: January 16, 2018, 05:20:48 pm »
Hi Argon, I have a little problem with Aliens, i'm with demulshooter 7.0d, and using ps2 guns + burn456 flasher + custom trigger delayer + topgun driver in 640x480 15hz screen, win10.
First I used your reschanger to set the game to 640x480, and the game set my screen out of range, so I used ahk to create a false fullscreen.
using demulshooter, my shots go to the top-left corner major times, sometimes to the right place, and I thought it was some problem with the sync of the flasher, as crt guns needs it just in time.
But I tried the mouseEnabler you did with the -res params for 640x480 and works perfect with one gun.
Do you think can be resolved in demulshooter?
and thanks for this amazing project!

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 118
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1103 on: January 17, 2018, 02:58:15 am »
Sorry I have another problem with Crt guns, and games like Goldengun, Lupin and some other:
As in these games guns reload when aiming offscreen, without shooting, my guns are reloading whenever aiming over a dark place.
I tried to block the guns movement unless you press a button, but I couldnt, do you think something can be done for crt lightgun users?
« Last Edit: January 17, 2018, 02:36:17 pm by phasermaniac »

ThielHater

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1104 on: January 18, 2018, 01:39:39 pm »
Thanks for pointing out the typo !
There is no Github repository or anything else like this for DemulShooter, but you can see the code clearly with any C# disassembler (JetBrain dotPeek  for example), nothing is hidden or obfuscated
I'm glad that I can make a small contribution to this great project, although it's a bit more complicated than usual.

Did you manage to make the crosshairs work properly in HOTD2? I think you've overlooked my question about that. My problem is, that the default Windows mouse cursor is shown for both players and I would like to have the HOTD2 crosshairs instead.
« Last Edit: January 18, 2018, 01:43:10 pm by ThielHater »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1105 on: January 18, 2018, 03:46:13 pm »
Hi Argon, I have a little problem with Aliens, i'm with demulshooter 7.0d, and using ps2 guns + burn456 flasher + custom trigger delayer + topgun driver in 640x480 15hz screen, win10.
First I used your reschanger to set the game to 640x480, and the game set my screen out of range, so I used ahk to create a false fullscreen.
using demulshooter, my shots go to the top-left corner major times, sometimes to the right place, and I thought it was some problem with the sync of the flasher, as crt guns needs it just in time.
But I tried the mouseEnabler you did with the -res params for 640x480 and works perfect with one gun.
Do you think can be resolved in demulshooter?
and thanks for this amazing project!
Sorry I have another problem with Crt guns, and games like Goldengun, Lupin and some other:
As in these games guns reload when aiming offscreen, without shooting, my guns are reloading whenever aiming over a dark place.
I tried to block the guns movement unless you press a button, but I couldnt, do you think something can be done for crt lightgun users?
There are a lot of things to consider in your situation....it's not easy
The mouse_enabler uses windows cursor, whereas DemulShooter uses raw input from your guns
So I can't say for sure.....I'll note this and will try to send you some debug version for you to test within a week or two.

As for your "dark" issue it's not something I can change....your setup is very very specific and if your gun's driver wants to send some "right click" signal on his own ..... :-\


Did you manage to make the crosshairs work properly in HOTD2? I think you've overlooked my question about that. My problem is, that the default Windows mouse cursor is shown for both players and I would like to have the HOTD2 crosshairs instead.
Ooops, really sorry ! Indeed I missed that point
I don't know if you can have crosshairs with Demul, I'm more of the "get rid of all crosshairs" type of guy, just see the 1st message with all the paches  :D

The big difference with Model2 is that in Model2 is designed to let users add LUA script to mod the frames / rendering engine
Demul (and all other emulators) were not designed to do so

ThielHater

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1106 on: January 18, 2018, 04:30:04 pm »
Okay, then I will have to find a solution on my own. I just noted that there is another typo in the LUA scripts, have a look at the End() function. They all write to "vcop.cfg".  :laugh:

I had problems with calibrating my AimTrak guns and sometimes they are not recognized for some seconds, therefore I prefer to have crosshairs.  :(
« Last Edit: January 18, 2018, 04:33:48 pm by ThielHater »

phasermaniac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 118
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1107 on: January 18, 2018, 05:55:16 pm »
Merci beaucoup Argon for the try, I know my configuration is not very mainstream.
As for the dark areas, I do not use the offsreen to button option in my driver, so it actually sends "gun aiming offscreen", but maybe the same problem, salut le voisin

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1108 on: January 20, 2018, 03:39:23 am »
Hey sorry to be a bother, this is the first time im trying to use demulshooter, and ive been trying to get it working with aliens extermination. ive tried both vm and dehasped and have looked around all over for information. a single gun works fine with ppjoy but im more interested in the dehaped. I have change the target to DemulShooter.exe -target=globalvr -rom=aliens. i have tried with a space for the aliens at the end as the updated post showed. ive tried it like that. without global vr, without exe, as admin. outside of aliens it works fine on the desktop. ive also tried with and without aimtrak running in the background and the no crosshair patch, which id prefer not using if possible. The game itself works fine i did a playthrough to test on vm but the calibration is way off using ppjoy and i was having issues with the bridging. Also thanks a ton for creating this software it seems like a must have for light gun enthusiasts.

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1109 on: January 20, 2018, 04:54:01 am »
Hey sorry to be a bother, this is the first time im trying to use demulshooter, and ive been trying to get it working with aliens extermination. ive tried both vm and dehasped and have looked around all over for information. a single gun works fine with ppjoy but im more interested in the dehaped. I have change the target to DemulShooter.exe -target=globalvr -rom=aliens. i have tried with a space for the aliens at the end as the updated post showed. ive tried it like that. without global vr, without exe, as admin. outside of aliens it works fine on the desktop. ive also tried with and without aimtrak running in the background and the no crosshair patch, which id prefer not using if possible. The game itself works fine i did a playthrough to test on vm but the calibration is way off using ppjoy and i was having issues with the bridging. Also thanks a ton for creating this software it seems like a must have for light gun enthusiasts.
Hi, I'm not sure I understood what exactly is your issue but a few hints :
- You do not need to have the Aimtrak utility running
- You do not need to use the No Crosshair patch (it is just changing a texture file, not interracting with the program itself)
- You should remove or deactivate PPjoy
- Make sure you run the Demulshooter's GUI once to set your Aimtraks to P1 and P2
- You're using the correct command line (DemulShooter.exe -target=globalvr -rom=aliens)
- So now if you run the dehasped aliens EXE, this should work

If not, try to explain exactly what's not working
And you can run DemulShooter.exe -target=globalvr -rom=aliens and paste here the content of the debug.txt file created uinto DemulShooter's folder

BTW, I just realized I didn't updated this part of the User Guide...
« Last Edit: January 20, 2018, 04:56:24 am by argonlefou »

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1110 on: January 20, 2018, 03:49:26 pm »
Hey sorry to be a bother, this is the first time im trying to use demulshooter, and ive been trying to get it working with aliens extermination. ive tried both vm and dehasped and have looked around all over for information. a single gun works fine with ppjoy but im more interested in the dehaped. I have change the target to DemulShooter.exe -target=globalvr -rom=aliens. i have tried with a space for the aliens at the end as the updated post showed. ive tried it like that. without global vr, without exe, as admin. outside of aliens it works fine on the desktop. ive also tried with and without aimtrak running in the background and the no crosshair patch, which id prefer not using if possible. The game itself works fine i did a playthrough to test on vm but the calibration is way off using ppjoy and i was having issues with the bridging. Also thanks a ton for creating this software it seems like a must have for light gun enthusiasts.
Hi, I'm not sure I understood what exactly is your issue but a few hints :
- You do not need to have the Aimtrak utility running
- You do not need to use the No Crosshair patch (it is just changing a texture file, not interracting with the program itself)
- You should remove or deactivate PPjoy
- Make sure you run the Demulshooter's GUI once to set your Aimtraks to P1 and P2
- You're using the correct command line (DemulShooter.exe -target=globalvr -rom=aliens)
- So now if you run the dehasped aliens EXE, this should work

If not, try to explain exactly what's not working
And you can run DemulShooter.exe -target=globalvr -rom=aliens and paste here the content of the debug.txt file created uinto DemulShooter's folder

BTW, I just realized I didn't updated this part of the User Guide...

Thanks for the quick response argon. When running dehasped ppjoy isnt on my os, its just in the VM version. I also tried without running aimtrak and i put the original file back for crosshairs.
I did run demul shooter gui before demulshooter with the command you gave me. and can confirm both aimtraks are picked up, player one red, player two blue. So i close the gui run DemulShooter.exe -target=globalvr -rom=aliens. Shoot the desktop i see the crosshair from GUI on a shot fired. So i Launch aliensdehasped. And nothing. I usually go to gun calibration to confirm there are some values changing when i move the gun and nothing. Ive also tried just shooting the level select screen and nothing. Ya i'm not sure, I'm copying and pasting the demulshooter.exe line exaclt as you provided in this post as well as the user manual. so I dont know what i could be doing. I will keep checking the revised user manual and see if theres a step i missed. Thanks for a quick response again and also I could not find the file debug you asked for. i looked in demul all folder and checked appdata out to see if i could find it. Also using demulshooter 7.1.  if you let me know ill get the file to you asap.
« Last Edit: January 20, 2018, 03:51:30 pm by adreus »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1111 on: January 20, 2018, 05:00:38 pm »
Thanks for the quick response argon. When running dehasped ppjoy isnt on my os, its just in the VM version. I also tried without running aimtrak and i put the original file back for crosshairs.
I did run demul shooter gui before demulshooter with the command you gave me. and can confirm both aimtraks are picked up, player one red, player two blue. So i close the gui run DemulShooter.exe -target=globalvr -rom=aliens. Shoot the desktop i see the crosshair from GUI on a shot fired. So i Launch aliensdehasped. And nothing. I usually go to gun calibration to confirm there are some values changing when i move the gun and nothing. Ive also tried just shooting the level select screen and nothing. Ya i'm not sure, I'm copying and pasting the demulshooter.exe line exaclt as you provided in this post as well as the user manual. so I dont know what i could be doing. I will keep checking the revised user manual and see if theres a step i missed. Thanks for a quick response again and also I could not find the file debug you asked for. i looked in demul all folder and checked appdata out to see if i could find it. Also using demulshooter 7.1.  if you let me know ill get the file to you asap.
The first thing that I found stange is that you shouldn't get GUI crosshairs on the desktop when shooting, after you run the commandline.
Those Red/Blue (ugly  :D) crosshair are only generated when the GUI is running

As for the debug file, it's on me !! I forgot the interresting part in the commandline :
DemulShooter.exe -target=globalvr -rom=aliens -v

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1112 on: January 20, 2018, 06:39:19 pm »
Thanks for the quick response argon. When running dehasped ppjoy isnt on my os, its just in the VM version. I also tried without running aimtrak and i put the original file back for crosshairs.
I did run demul shooter gui before demulshooter with the command you gave me. and can confirm both aimtraks are picked up, player one red, player two blue. So i close the gui run DemulShooter.exe -target=globalvr -rom=aliens. Shoot the desktop i see the crosshair from GUI on a shot fired. So i Launch aliensdehasped. And nothing. I usually go to gun calibration to confirm there are some values changing when i move the gun and nothing. Ive also tried just shooting the level select screen and nothing. Ya i'm not sure, I'm copying and pasting the demulshooter.exe line exaclt as you provided in this post as well as the user manual. so I dont know what i could be doing. I will keep checking the revised user manual and see if theres a step i missed. Thanks for a quick response again and also I could not find the file debug you asked for. i looked in demul all folder and checked appdata out to see if i could find it. Also using demulshooter 7.1.  if you let me know ill get the file to you asap.
The first thing that I found stange is that you shouldn't get GUI crosshairs on the desktop when shooting, after you run the commandline.
Those Red/Blue (ugly  :D) crosshair are only generated when the GUI is running

As for the debug file, it's on me !! I forgot the interresting part in the commandline :
DemulShooter.exe -target=globalvr -rom=aliens -v

Thanks ya I'm still getting the crosshairs on desktop. opened task manager to see if anything was running in the background.
I just want to double check its run dx diag to make sure guns are functioning, close it. Than open demulshooter making sure p1 gun and p2 gun are set. I've also added the new command line and do not see the dump. Im starting to think i missed a step, I read it doesnt need to be anywhere specifically on your pc. I'm trying to run it from downloads, could this be the issue? I grabbed the file from OP 7.1 and extracted it to folder named what zip was named. Sorry for the unusual problem, and thanks for bearing with me trying to get it working.

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1113 on: January 20, 2018, 06:55:28 pm »
Thanks for the quick response argon. When running dehasped ppjoy isnt on my os, its just in the VM version. I also tried without running aimtrak and i put the original file back for crosshairs.
I did run demul shooter gui before demulshooter with the command you gave me. and can confirm both aimtraks are picked up, player one red, player two blue. So i close the gui run DemulShooter.exe -target=globalvr -rom=aliens. Shoot the desktop i see the crosshair from GUI on a shot fired. So i Launch aliensdehasped. And nothing. I usually go to gun calibration to confirm there are some values changing when i move the gun and nothing. Ive also tried just shooting the level select screen and nothing. Ya i'm not sure, I'm copying and pasting the demulshooter.exe line exaclt as you provided in this post as well as the user manual. so I dont know what i could be doing. I will keep checking the revised user manual and see if theres a step i missed. Thanks for a quick response again and also I could not find the file debug you asked for. i looked in demul all folder and checked appdata out to see if i could find it. Also using demulshooter 7.1.  if you let me know ill get the file to you asap.
The first thing that I found stange is that you shouldn't get GUI crosshairs on the desktop when shooting, after you run the commandline.
Those Red/Blue (ugly  :D) crosshair are only generated when the GUI is running

As for the debug file, it's on me !! I forgot the interresting part in the commandline :
DemulShooter.exe -target=globalvr -rom=aliens -v

Thanks ya I'm still getting the crosshairs on desktop. opened task manager to see if anything was running in the background.
I just want to double check its run dx diag to make sure guns are functioning, close it. Than open demulshooter making sure p1 gun and p2 gun are set. I've also added the new command line and do not see the dump. Im starting to think i missed a step, I read it doesnt need to be anywhere specifically on your pc. I'm trying to run it from downloads, could this be the issue? I grabbed the file from OP 7.1 and extracted it to folder named what zip was named. Sorry for the unusual problem, and thanks for bearing with me trying to get it working.

I see what i may be doing wrong im trying to change the gui file name to what you posted. Am i supposed to open a command prompt in windows and type that? i only have the ds diag and demul shooter in the directory as applications.
« Last Edit: January 20, 2018, 07:01:01 pm by adreus »

ThielHater

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1114 on: January 21, 2018, 10:09:24 am »
@argonlefou

I just noted that there is another typo in the LUA scripts, have a look at the End() function. They all write to "vcop.cfg".  :laugh:
Did you miss that? If you had a git repository, I would just send a pull request.  ;D

However, I took a look at the PC version of HOTD2 and found some memory adresses:

Hod2.exe + 0x5A5C68 = 0x9A5C68 = life p1
Hod2.exe + 0x5A5C7C = 0x9A5C7C = ammo p1
Hod2.exe + 0x5A5D48 = 0x9A5D48 = xpos p1
Hod2.exe + 0x5A5D4C = 0x9A5D4C = ypos p1
Hod2.exe + 0x5A5D98 = 0x9A5D98 = life p2
Hod2.exe + 0x5A5DAC = 0x9A5DAC = ammo p2
Hod2.exe + 0x5A5E78 = 0x9A5E78 = xpos p2
Hod2.exe + 0x5A5E7C = 0x9A5E7C = ypos p2

All of these adresses are static. Watch out, the x- and ypos are of type float! Would you please add support for that game to DemulShooter? That would be great.

This is the default control scheme for both players set to keyboard:

Player 1
Arrow keys to aim
Enter = Join, Pause, Continue
Right Shift = Shoot
Right Ctrl = Reload, Skip scene

Player 2
W, A, S, D to aim
Tab = Join, Pause, Continue
Left Shift = Shoot
Left Ctrl = Reload, Skip scene

Besides that it would be cool to "Insert a coin" by pressing a key, which is not supported in HOTD2 and HOTD3 for PC as far as I know.

Hod2.exe + 0x5C8E60 = 0x9C8E60 = credits
hod3pc.exe + 0x3B7DD0 = 0x7B7DD0 = credits
« Last Edit: January 21, 2018, 02:45:41 pm by ThielHater »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1115 on: January 21, 2018, 03:18:56 pm »
I see what i may be doing wrong im trying to change the gui file name to what you posted. Am i supposed to open a command prompt in windows and type that? i only have the ds diag and demul shooter in the directory as applications.
Yes that's it ! If you run the DemulShooter.exe app by double-clicking it you will have the GUI version of the program
If you open a command prompt and enter the commands I wrote, you'll have the program running in the background waitong for the corresponding game  ;) You'll see and icon in your notification bar (next to your clock)

I just noted that there is another typo in the LUA scripts, have a look at the End() function. They all write to "vcop.cfg".  :laugh:
Did you miss that? If you had a git repository, I would just send a pull request.  ;D
Nope, got it thanks ;)
It's just sitting on my To-Do-list stack for now. Days are way too short to do all I have to do  :D


However, I took a look at the PC version of HOTD2 and found some memory adresses:

Hod2.exe + 0x5A5C68 = 0x9A5C68 = life p1
Hod2.exe + 0x5A5C7C = 0x9A5C7C = ammo p1
Hod2.exe + 0x5A5D48 = 0x9A5D48 = xpos p1
Hod2.exe + 0x5A5D4C = 0x9A5D4C = ypos p1
Hod2.exe + 0x5A5D98 = 0x9A5D98 = life p2
Hod2.exe + 0x5A5DAC = 0x9A5DAC = ammo p2
Hod2.exe + 0x5A5E78 = 0x9A5E78 = xpos p2
Hod2.exe + 0x5A5E7C = 0x9A5E7C = ypos p2

All of these adresses are static. Watch out, the x- and ypos are of type float! Would you please add support for that game to DemulShooter? That would be great.

This is the default control scheme for both players set to keyboard:

Player 1
Arrow keys to aim
Enter = Join, Pause, Continue
Right Shift = Shoot
Right Ctrl = Reload, Skip scene

Player 2
W, A, S, D to aim
Tab = Join, Pause, Continue
Left Shift = Shoot
Left Ctrl = Reload, Skip scene

Besides that it would be cool to "Insert a coin" by pressing a key, which is not supported in HOTD2 and HOTD3 for PC as far as I know.

Hod2.exe + 0x5C8E60 = 0x9C8E60 = credits
hod3pc.exe + 0x3B7DD0 = 0x7B7DD0 = credits
Thanks for the info, I still don't know why anyone would want to play this very-lame port of the almost-perfect-emulated Arcade/Demul version  :D
I'll see if I can get a copy of the game to test this but it may not be untill a few days/weeks

ThielHater

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1116 on: January 21, 2018, 04:07:59 pm »
Thanks for the info, I still don't know why anyone would want to play this very-lame port of the almost-perfect-emulated Arcade/Demul version  :D
I'll see if I can get a copy of the game to test this but it may not be untill a few days/weeks
Yes, almost-perfect-emulated. The SEGA Naomi has an internal resolution of 640x480px, which looks awful on PC. An earlier version of Demul's video plugin allowed to multiply the resolution, but that feature is disabled at the moment. Besides that, I would like to play with proper crosshairs and the PC version looks just as good as the arcade version. ;D

Unfortunately some of the adresses I gave you don't work. They have the right values but writing to them won't change anything.. sorry! :banghead:

The following adresses should work:

Hod2.exe + 0x5A5C66 = 0x9A5C66 = life p1 (2 bytes)
Hod2.exe + 0x5A5C7C = 0x9A5C7C = ammo p1 (4 bytes)
Hod2.exe + 0x5C8FC8 = 0x9C8FC8 = xpos p1 (float)
Hod2.exe + 0x5C8FCC = 0x9C8FCC = ypos p1 (float)
Hod2.exe + 0x5A5D96 = 0x9A5D96 = life p2 (2 bytes)
Hod2.exe + 0x5A5DAC = 0x9A5DAC = ammo p2 (4 bytes)
Hod2.exe + 0x5C8FF0 = 0x9C8FF0 = xpos p2 (float)
Hod2.exe + 0x5C8FF4 = 0x9C8FF4 = ypos p2 (float)

Please be aware that HOTD2 uses a coordinate system which looks like the following. If you need anything (like a copy of the game for example), please let me know.  ;)
« Last Edit: January 21, 2018, 04:13:27 pm by ThielHater »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 485
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1117 on: January 21, 2018, 04:18:05 pm »
Yes, a lot of people are asking to bring back internal resolution enhancement in Demul.... :(

As for the copy of the game, I'll easily find it (at least one of it, I don't know if this game had multiple distributors back then), i's just a matter of free time  :D
Thanks anyways for pointing out some addresses

ThielHater

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1118 on: January 21, 2018, 04:23:15 pm »
Thanks anyways for pointing out some addresses
I guess that's all you'll need.  :cheers:

adreus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1119 on: January 21, 2018, 06:36:43 pm »
I see what i may be doing wrong im trying to change the gui file name to what you posted. Am i supposed to open a command prompt in windows and type that? i only have the ds diag and demul shooter in the directory as applications.

Thanks a ton Argon, and sorry about the user error on my part. Not able to test it for a few days but im sure it will be sorted. I tried it with windows cmd last i had a chance to test and realized shortly after leaving that its prob windows run command (win key + r). Thanks a ton for clarifying.

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31