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

1 Member and 2 Guests are viewing this topic.

Phil1972

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 32
  • 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: 32
  • 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: 32
  • 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: 40
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: 206
  • 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: 412
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: 43
  • 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: 412
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: 43
  • 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: 43
  • 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: 412
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: 412
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: 40
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: 32
  • 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: 412
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: 412
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: 83
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: 1
  • I want to build my own arcade controls!
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: 412
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: Today at 10:26:14 am by argonlefou »

fire10

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • I want to build my own arcade controls!
Amazing work Argonlefou and thanks for all the help you are awesome mate!

  
 

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