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

0 Members and 3 Guests are viewing this topic.

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1960 on: February 22, 2020, 04:49:25 am »
Hi Argon when i use demulshooter with VCOP3 CXBX i recive this error.
i USE demulshooter with all others emulators.. demul, TP, OpGhost, SilentHill with no error or problem...
what is the mistake?

Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
   in DemulShooter.Game_CxbxVcop3.SendInput(MouseInfo mouse, Int32 Player)
   in DemulShooter.WndParam.ProcessInput(MouseInfo mouse, Int32 player)
   in DemulShooter.WndParam.ProcessRawInput(IntPtr hDevice)
   in DemulShooter.WndParam.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8806 (QFE.050727-8800)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
DemulShooter
    Versione assembly: 8.6.0.0
    Versione Win32: 8.6.0.0
    Base di codice: file:///c:/demulshooter/DemulShooter.exe
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8806 (QFE.050727-8800)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8806 (QFE.050727-8800)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------

************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.

Ad esempio:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.


« Last Edit: February 22, 2020, 04:53:42 am by xbrunox »

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1961 on: February 23, 2020, 01:55:39 pm »
Hi Argon ... thank you very much for all your efforts, which allow us to play great with two aimtraks .... thank you very much again!
I have some question for you: 1) I have problem with Reload game(Afghanistan series)...the file bat match correctly the .exe file...but crosshair of both my aimtraks, jump all over the screen, am I the only one with this issue? there is a solution? 2) excuse me for the off topic, I have Pcsx2 1.5.0. ....can I follow your guide about play with dual aimtrak with Pcsx 1.5.0...or am I forced to download version 1.4.0 first?
3) is there a way to play with dual aimtrak on a playstation 1?
thanks in advance!  :notworthy: :)



 

shiryu55

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:April 18, 2023, 03:46:44 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1962 on: February 24, 2020, 04:23:33 am »
I can't get the pc, house of the dead 2 and 3 games to work for me, use aimtrack lightgun.

***The guns work with demulshooter correctly with the games of model 2. in case it is useful to comment.***

in 3, I get the movements to work but they don't fire the guns.
attached pictures.
and in 2, they don't move or shoot.

The two games are configured by default keyboard options.
Note. the house of the dead 2 pc, I can't find where the default keys can be changed.


scripts ahk for  this games.
house of the dead2 pc.
run D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod2pc

house of the dead 3 pc,
run, D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod3pc





« Last Edit: February 24, 2020, 04:26:17 am by shiryu55 »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1963 on: February 24, 2020, 06:02:24 am »
Hi Argon when i use demulshooter with VCOP3 CXBX i recive this error.
i USE demulshooter with all others emulators.. demul, TP, OpGhost, SilentHill with no error or problem...
what is the mistake?
Are you using Fullscreen/exclusive fullscreen mode in Video settings with cxbx ?
For now, only windowed mode is compatible. Using fullscreen mode sometimes make this kind bug or does not work at all

Hi Argon ... thank you very much for all your efforts, which allow us to play great with two aimtraks .... thank you very much again!
I have some question for you: 1) I have problem with Reload game(Afghanistan series)...the file bat match correctly the .exe file...but crosshair of both my aimtraks, jump all over the screen, am I the only one with this issue? there is a solution? 2) excuse me for the off topic, I have Pcsx2 1.5.0. ....can I follow your guide about play with dual aimtrak with Pcsx 1.5.0...or am I forced to download version 1.4.0 first?
3) is there a way to play with dual aimtrak on a playstation 1?
thanks in advance!  :notworthy: :)
1)Reload is a different game than "Afghanistan" (which is from "Heavy Fire" series), and those 2 game are working in a  completely  different way so you will have to give me some precision about what game is not working and what you did according to the wiki

2)Nothing forbids you to try with a newer version and repport here if it's working or not  ;) Community would appreciate the feedback. My two cents : it should work fine as the whole purpose of the tutorial is to use a PCSX2 pluggin. So unless they changed their pluggin code and made all older one un compatible, it should be fine

3)There are no USB ports on a playstation so...No  ;)

I can't get the pc, house of the dead 2 and 3 games to work for me, use aimtrack lightgun.

***The guns work with demulshooter correctly with the games of model 2. in case it is useful to comment.***

in 3, I get the movements to work but they don't fire the guns.
attached pictures.
and in 2, they don't move or shoot.

The two games are configured by default keyboard options.
Note. the house of the dead 2 pc, I can't find where the default keys can be changed.


scripts ahk for  this games.
house of the dead2 pc.
run D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod2pc

house of the dead 3 pc,
run, D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod3pc
First thing, your scripts are not good, you're missing the second parameter for the "Run" function of AHK. You have to specify the folder where the .exe would be running so that the target can acces needed files (for example, config files for demulshooter)
It should be more like this : run D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod2pc, D:\HyperSpin\Utilities\DemulShooter

Then for both games, run demulshooter with the -v parameter added and share the debug.txt file, it should be helpfull because there are a lot of possibilities for these issues

shiryu55

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:April 18, 2023, 03:46:44 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1964 on: February 24, 2020, 09:13:17 am »
debug files:
15:01:30.044941 :
15:01:30.044941 : -------------------- Program Start ----------------------
15:01:30.044941 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&253a70e3&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
15:01:30.044941 : P1 Device Handle = 393361
15:01:30.044941 : P2 device = \\?\HID#VID_D209&PID_1602&MI_02#8&389ab7f3&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
15:01:30.044941 : P2 Device Handle = 3867255
15:01:30.044941 : P3 device =
15:01:30.044941 : P3 Device Handle = 0
15:01:30.044941 : P4 device =
15:01:30.044941 : P4 Device Handle = 0
15:01:30.044941 : Cmdline arg 1 : -target=windows
15:01:30.044941 : Cmdline arg 2 : -rom=hod3pc
15:01:30.044941 : Cmdline arg 3 : -v
15:01:30.060541 : Reading Keyconfig...
15:01:30.060541 : P1_Trigger keycode = 0x2D
15:01:30.060541 : P1_Reload keycode = 0x2C
15:01:30.060541 : P1_Right keycode = 0x22
15:01:30.060541 : P1_Left keycode = 0x20
15:01:30.060541 : P2_Trigger keycode = 0x31
15:01:30.060541 : P2_Reload keycode = 0x30
15:01:30.060541 : P2_Right keycode = 0x26
15:01:30.060541 : P2_Left keycode = 0x24
15:01:30.060541 : Waiting for Windows Game hod3pc game to hook.....
15:01:38.702956 : Attached to Process hod3pc.exe, ProcessHandle = 688
15:01:38.702956 : hod3pc.exe = 0x00400000
15:01:38.718556 : MD5 hash of D:\HyperSpin\Emulators\PC Games\House of the Dead 3\exe\hod3pc.exe = 51dd72f83c0de5b27c0358ad11e2a036
15:01:38.718556 : /!\ MD5 Hash unknown, DemulShooter may not work correctly with this target /!\
15:01:38.718556 : Memory Hack complete !
15:01:38.718556 : -
15:01:38.734156 : LowLevelMouseHook installed !
15:01:38.734156 : LowLevel-KeyboardHook installed !
15:01:50.383391 : RawData event for Device #1:
15:01:50.384391 : Device rawinput data (Hex) = [ 00E0, AE4A ]
15:01:50.398392 : PrimaryScreen Size (Px) = [ 1280x1024 ]
15:01:50.402392 : OnScreen Cursor Position (Px) = [ 4, 697 ]
15:01:50.405392 : OnClient Cursor Position (Px) = [ 4, 697 ]
15:01:50.411393 : Game client window resolution (Px) = [ 1280x1024 ]
15:01:50.412393 : Game Position (Hex) = [ FFFFFEDA, FFFFFFB2 ]
15:01:50.412393 : Game Position (Dec) = [ -294, -78 ]
15:01:50.412393 : MouseButton (Hex) = 0x0000

------
14:46:09.270914 :
14:46:09.270914 : -------------------- Program Start ----------------------
14:46:09.270914 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&253a70e3&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
14:46:09.270914 : P1 Device Handle = 393361
14:46:09.270914 : P2 device = \\?\HID#VID_D209&PID_1602&MI_02#8&389ab7f3&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
14:46:09.270914 : P2 Device Handle = 5571079
14:46:09.270914 : P3 device =
14:46:09.270914 : P3 Device Handle = 0
14:46:09.270914 : P4 device =
14:46:09.270914 : P4 Device Handle = 0
14:46:09.270914 : Cmdline arg 1 : -target=windows
14:46:09.270914 : Cmdline arg 2 : -rom=hod2pc
14:46:09.270914 : Cmdline arg 3 : -v
14:46:09.286514 : Waiting for Windows Game hod2pc game to hook.....
14:46:18.942931 : Attached to Process hod2.exe, ProcessHandle = 688
14:46:18.942931 : hod2.exe = 0x00400000
14:46:18.958531 : MD5 hash of D:\HyperSpin\Emulators\PC Games\House Of The Dead 2\hod2.exe = fd53bc12b72958c819cf6931787df3cb
14:46:18.958531 : /!\ MD5 Hash unknown, DemulShooter may not work correctly with this target /!\
14:46:18.958531 : LowLevel-KeyboardHook installed !
14:46:38.138959 : RawData event for Device #1:
14:46:38.138959 : Device rawinput data (Hex) = [ 86B7, FFFF ]
14:46:38.138959 : PrimaryScreen Size (Px) = [ 640x480 ]
14:46:38.148959 : OnScreen Cursor Position (Px) = [ 336, 479 ]
14:46:38.148959 : OnClient Cursor Position (Px) = [ 336, 479 ]
14:46:38.148959 : Game client window resolution (Px) = [ 640x480 ]
14:46:38.148959 : Game Position (Hex) = [ 0010, FFFFFF11 ]
14:46:38.148959 : Game Position (Dec) = [ 16, -239 ]
14:46:38.148959 : MouseButton (Hex) = 0x0000
14:46:38.148959 : -

shiryu55

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:April 18, 2023, 03:46:44 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1965 on: February 24, 2020, 12:23:51 pm »

Looking for youtbe I got another house of the dead 2, the md5 does not match either, could this be changed in the executable file, or in the demulshooter's file to match.

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1966 on: February 24, 2020, 12:47:24 pm »
Hi Argon when i use demulshooter with VCOP3 CXBX i recive this error.
i USE demulshooter with all others emulators.. demul, TP, OpGhost, SilentHill with no error or problem...
what is the mistake?
Are you using Fullscreen/exclusive fullscreen mode in Video settings with cxbx ?
For now, only windowed mode is compatible. Using fullscreen mode sometimes make this kind bug or does not work at all


Hi Argon. I've the same problem in full screen or in windows mode.... i suppose is a .net framework problem...
which release of .net is recommended for demulshooter?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1967 on: February 24, 2020, 02:21:35 pm »

Looking for youtbe I got another house of the dead 2, the md5 does not match either, could this be changed in the executable file, or in the demulshooter's file to match.
No, because I'm not using the md5 signature to allow or not demulshooter to work, but to warn the user that the version of the game he is using is not known by me and - as a consequence -  will certainly not work well (or even worse, totally crash) because memory location often change between files.
This happens a lot with computer exe, as there are usually a lot of different files because of updates, re-release of the game under different publisher, etc....whereas arcade dumps are usually quite unique

That beeing said, about HOTD3, if axis are working you're almost done.
Actions are just keyboard keys sent by demulshooter, and by your debug files they are correctly stored by the game and read by demulshooter. So you can try to shoot and reload with the corresponding keys on a keyboard to see if the game is working that way

Hi Argon. I've the same problem in full screen or in windows mode.... i suppose is a .net framework problem...
which release of .net is recommended for demulshooter?
It's not a .Net issue but seems to be a weird issue caused by the Cxbx emulator running multiple processes and returning sometimes blank data when DemulShooter is reading/writing in it's memory
I may have found a workaround that I'll post here tomorrow for you to test, because at home everything has always been working fine with Cxbx  ;D
« Last Edit: February 24, 2020, 02:26:49 pm by argonlefou »

shiryu55

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:April 18, 2023, 03:46:44 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1968 on: February 24, 2020, 03:09:30 pm »
Yes, if I press on the keyboard the trigger keys work.
I don't know how I could fix it.
As for the house of the dead 2, it doesn't do anything, nor do the cursors move.
by private you could not pass me a link to get these two relics.

Tiberius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:March 03, 2024, 02:10:01 pm
  • Spent more time fixing than playing
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1969 on: February 24, 2020, 05:04:30 pm »
Hi,

First of all thank you to argonlefou for DemulShooter, and thank you to others who have posted helpful advice across the 50 pages, sorry for not mentioning all by name.
Having come into this late I had got Version 8.5.7 working with all games that I wanted. most of the issues I faced were from user error and nothing else, the how to guide is brilliant and IF i had read it correctly the 1st or 2nd or sometimes even 3rd time I would have got it all working quicker.
The new version is great as we no longer need 3 different versions of TeknoParrot to work the light gun games, so a big thank you for that.
Unfortunately I am having a few other issues with the new version (might be use error again-in which case sorry)
I am using Wiimotes and Touchmote, but that is all set up well and working fine.

Demul games - the game window isn't being hooked - having run the debug it just says waiting for game window to hook to. To get around this at the moment I am using version 8.5.7 for demul games - I have kept all configs and .exe in same place and just have Demulshooter.exe for 8.6 and DemulshooterV8.5.7.exe for the older version, residing in the same folder, and direct each shortcut to whichever .exe I want to use. Is it just me that is having this issue?

Cxbx-reloaded, been having the same .net error message, but normally only on 1st load, I start in windowed mode and then change to Fullscreen, but either way it sometimes fails on 1st load- not a huge problem just exit and reload and all good. However I do have to load Demulshooter after cxbx has opened and not before otherwise I get the error more frequently, not a massive issue having to do in a different order.

HOTD3PC - This was a nightmare to get working, mainly because I am an idiot, my version has a different MD5 but worked fine once I opened Demulshooter after the game (yes I know that is what it says to do -like I said user error and idiot) however with the update to 8.6 the cursor moves but gun doesn't fire with Wiimote but does with keyboard, if I roll back and use 8.5.7 like in Demul it all works fine again, the other option is I change the Touchmote layout for HOTD3PC and rather than having the Wii buttons mapped to the XBOX 360 buttons that Demulshooter uses, i map them to the actual keyboard buttons from HOTD3. I was wondering if it was worth deleting the Registry Editor for keyboard layouts of the game and see if that helps? I do load this game as Admin as only way I could get the Registry Editor change to work to allow direct boot into game, not sure if that makes a difference.

Sorry that this has turned into an essay.

I am on Windows 10 1903 if that makes any difference, please don't think this is a complaint, and having two version of Demulshooter and running whichever is needed for different emulators is not a big issue, but I thought the information may help you or others who are having issues.

Kind regards
« Last Edit: February 24, 2020, 05:15:09 pm by Tiberius »
Using Wiimotes, Demulshooter and Touchmote as lightguns......does actually work!!!

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1970 on: February 24, 2020, 05:22:41 pm »
Hi Argon when i use demulshooter with VCOP3 CXBX i recive this error.
i USE demulshooter with all others emulators.. demul, TP, OpGhost, SilentHill with no error or problem...
what is the mistake?
Are you using Fullscreen/exclusive fullscreen mode in Video settings with cxbx ?
For now, only windowed mode is compatible. Using fullscreen mode sometimes make this kind bug or does not work at all

Hi Argon ... thank you very much for all your efforts, which allow us to play great with two aimtraks .... thank you very much again!
I have some question for you: 1) I have problem with Reload game(Afghanistan series)...the file bat match correctly the .exe file...but crosshair of both my aimtraks, jump all over the screen, am I the only one with this issue? there is a solution? 2) excuse me for the off topic, I have Pcsx2 1.5.0. ....can I follow your guide about play with dual aimtrak with Pcsx 1.5.0...or am I forced to download version 1.4.0 first?
3) is there a way to play with dual aimtrak on a playstation 1?
thanks in advance!  :notworthy: :)
1)Reload is a different game than "Afghanistan" (which is from "Heavy Fire" series), and those 2 game are working in a  completely  different way so you will have to give me some precision about what game is not working and what you did according to the wiki

2)Nothing forbids you to try with a newer version and repport here if it's working or not  ;) Community would appreciate the feedback. My two cents : it should work fine as the whole purpose of the tutorial is to use a PCSX2 pluggin. So unless they changed their pluggin code and made all older one un compatible, it should be fine

3)There are no USB ports on a playstation so...No  ;)

I can't get the pc, house of the dead 2 and 3 games to work for me, use aimtrack lightgun.

***The guns work with demulshooter correctly with the games of model 2. in case it is useful to comment.***

in 3, I get the movements to work but they don't fire the guns.
attached pictures.
and in 2, they don't move or shoot.

The two games are configured by default keyboard options.
Note. the house of the dead 2 pc, I can't find where the default keys can be changed.


scripts ahk for  this games.
house of the dead2 pc.
run D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod2pc

house of the dead 3 pc,
run, D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod3pc
First thing, your scripts are not good, you're missing the second parameter for the "Run" function of AHK. You have to specify the folder where the .exe would be running so that the target can acces needed files (for example, config files for demulshooter)
It should be more like this : run D:\HyperSpin\Utilities\DemulShooter\DemulShooter.exe -target=windows -rom=hod2pc, D:\HyperSpin\Utilities\DemulShooter

Then for both games, run demulshooter with the -v parameter added and share the debug.txt file, it should be helpfull because there are a lot of possibilities for these issues

Hi Argon, first of all, thanks for the reply, forgive my error, it's Heavy Fire series yes! I have problem with Heavy fire reload....mouse working perfect, but with demulshooter it doesn't work...as I said, file bat match perfectly the exe...but crosshair jump all over the screen...about Pcsx2...I'll do my best! a last request for now... Blue estate also doesn't work with dual aimtrak....do you confirm that Iìm not the only one?

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!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1971 on: February 24, 2020, 05:43:33 pm »
 Hi, I think pcsx2. 1.60 works. If I remember I have this working since 2011 with 1.40 or so,  about two years ago I updated to 1.60 and nuvee keeps working.
Bluestate only works one player.


argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1972 on: February 25, 2020, 03:50:27 am »
Hi Argon, first of all, thanks for the reply, forgive my error, it's Heavy Fire series yes! I have problem with Heavy fire reload....mouse working perfect, but with demulshooter it doesn't work...as I said, file bat match perfectly the exe...but crosshair jump all over the screen...about Pcsx2...I'll do my best! a last request for now... Blue estate also doesn't work with dual aimtrak....do you confirm that Iìm not the only one?
I'm sorry but there is no Heavy Fire Reload game, and I really don't understand what you're saying with your file bat matching exe, etc...
About Blue Estate, it's not working with dual Aimtrak and almost certainly never will


Demul games - the game window isn't being hooked - having run the debug it just says waiting for game window to hook to. To get around this at the moment I am using version 8.5.7 for demul games - I have kept all configs and .exe in same place and just have Demulshooter.exe for 8.6 and DemulshooterV8.5.7.exe for the older version, residing in the same folder, and direct each shortcut to whichever .exe I want to use. Is it just me that is having this issue?
It turns out that I compiled the latest DemulShooter in 64bits mode (for Luigy's Mansion testing) and it broke almost all 32bits supported targets :o
Thats why Demul, Hotd3 and other were not working anymore since the last update, even if I have not changed these parts for years....

HOTD3PC - This was a nightmare to get working, mainly because I am an idiot, my version has a different MD5 but worked fine once I opened Demulshooter after the game (yes I know that is what it says to do -like I said user error and idiot) however with the update to 8.6 the cursor moves but gun doesn't fire with Wiimote but does with keyboard, if I roll back and use 8.5.7 like in Demul it all works fine again, the other option is I change the Touchmote layout for HOTD3PC and rather than having the Wii buttons mapped to the XBOX 360 buttons that Demulshooter uses, i map them to the actual keyboard buttons from HOTD3. I was wondering if it was worth deleting the Registry Editor for keyboard layouts of the game and see if that helps? I do load this game as Admin as only way I could get the Registry Editor change to work to allow direct boot into game, not sure if that makes a difference.
You can run demulshooter before or after, this will work fine (this is true for every target)
As as I just answered for Demul, this update will solve issues for HOT3 too, so better not mess with the game's registry files
But even with registry files intact, you can still map your wiimotes to keyboard keys directly, yes

Cxbx-reloaded, been having the same .net error message, but normally only on 1st load, I start in windowed mode and then change to Fullscreen, but either way it sometimes fails on 1st load- not a huge problem just exit and reload and all good. However I do have to load Demulshooter after cxbx has opened and not before otherwise I get the error more frequently, not a massive issue having to do in a different order.
This one is tricky as only some people are concerned by this and I couldn't reproduce it at home :-\
I tried a workaround with this update but I can't be sure of the results for those having the bug

DemulShooter v8.6.1
Quote
- Changed HOTD4 Lindbergh support to Rev-C version of the game. Older release will not work anymore.
- Corrected bug in Cxbx support
- DemulShooter compiled again as x86, last release was x64 by error and broke a lot of target compatibility (Demul, Hotd3Pc, etc...)

Feedbacks are welcome, mostly for those having Cxbx .NET errors with latest release

« Last Edit: February 25, 2020, 04:24:32 am by argonlefou »

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1973 on: February 25, 2020, 04:25:14 am »
Sorry I joined the wrong package on my last post, please download this one below

Tiberius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:March 03, 2024, 02:10:01 pm
  • Spent more time fixing than playing
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1974 on: February 25, 2020, 05:23:20 am »
Thank you for your reply and the new version.

I have just tested with Demul emulator and HOTD3 and both work perfectly - Thank you

Cxbx also worked the three times I tested it but as I said before it doesn't always cause me a problem, so might be better for someone else to feed back on that one.

In regards to HOTD3 I could get it to work with Demulshooter opening before the game ran but only if I then went through a very specific set of actions on the launcher screen. Had to set up an autohotkey that clicked on all the following. Controller Settings, Keyboard, Exit, Play Game. Couldn't let the cursor touch or highlight any other controller even if it didn't select it. If I did the specific set of clicks it worked every time, but if I didn't do that then wouldn't work. No idea why but as soon as I loaded Demulshooter after the game process it works even with direct load into game.

So a big thank you from me for all your time and effort.

« Last Edit: February 25, 2020, 06:37:52 am by Tiberius »
Using Wiimotes, Demulshooter and Touchmote as lightguns......does actually work!!!

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1975 on: February 25, 2020, 07:09:30 am »
Hi, I think pcsx2. 1.60 works. If I remember I have this working since 2011 with 1.40 or so,  about two years ago I updated to 1.60 and nuvee keeps working.
Bluestate only works one player.
Thanks for answer me....much appreciated!  :)

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1976 on: February 25, 2020, 07:47:56 am »
Hi Argon, first of all, thanks for the reply, forgive my error, it's Heavy Fire series yes! I have problem with Heavy fire reload....mouse working perfect, but with demulshooter it doesn't work...as I said, file bat match perfectly the exe...but crosshair jump all over the screen...about Pcsx2...I'll do my best! a last request for now... Blue estate also doesn't work with dual aimtrak....do you confirm that Iìm not the only one?
I'm sorry but there is no Heavy Fire Reload game, and I really don't understand what you're saying with your file bat matching exe, etc...
About Blue Estate, it's not working with dual Aimtrak and almost certainly never will


Demul games - the game window isn't being hooked - having run the debug it just says waiting for game window to hook to. To get around this at the moment I am using version 8.5.7 for demul games - I have kept all configs and .exe in same place and just have Demulshooter.exe for 8.6 and DemulshooterV8.5.7.exe for the older version, residing in the same folder, and direct each shortcut to whichever .exe I want to use. Is it just me that is having this issue?
It turns out that I compiled the latest DemulShooter in 64bits mode (for Luigy's Mansion testing) and it broke almost all 32bits supported targets :o
Thats why Demul, Hotd3 and other were not working anymore since the last update, even if I have not changed these parts for years....

HOTD3PC - This was a nightmare to get working, mainly because I am an idiot, my version has a different MD5 but worked fine once I opened Demulshooter after the game (yes I know that is what it says to do -like I said user error and idiot) however with the update to 8.6 the cursor moves but gun doesn't fire with Wiimote but does with keyboard, if I roll back and use 8.5.7 like in Demul it all works fine again, the other option is I change the Touchmote layout for HOTD3PC and rather than having the Wii buttons mapped to the XBOX 360 buttons that Demulshooter uses, i map them to the actual keyboard buttons from HOTD3. I was wondering if it was worth deleting the Registry Editor for keyboard layouts of the game and see if that helps? I do load this game as Admin as only way I could get the Registry Editor change to work to allow direct boot into game, not sure if that makes a difference.
You can run demulshooter before or after, this will work fine (this is true for every target)
As as I just answered for Demul, this update will solve issues for HOT3 too, so better not mess with the game's registry files
But even with registry files intact, you can still map your wiimotes to keyboard keys directly, yes

Cxbx-reloaded, been having the same .net error message, but normally only on 1st load, I start in windowed mode and then change to Fullscreen, but either way it sometimes fails on 1st load- not a huge problem just exit and reload and all good. However I do have to load Demulshooter after cxbx has opened and not before otherwise I get the error more frequently, not a massive issue having to do in a different order.
This one is tricky as only some people are concerned by this and I couldn't reproduce it at home :-\
I tried a workaround with this update but I can't be sure of the results for those having the bug

DemulShooter v8.6.1
Quote
- Changed HOTD4 Lindbergh support to Rev-C version of the game. Older release will not work anymore.
- Corrected bug in Cxbx support
- DemulShooter compiled again as x86, last release was x64 by error and broke a lot of target compatibility (Demul, Hotd3Pc, etc...)

Feedbacks are welcome, mostly for those having Cxbx .NET errors with latest release
Ok..now I try to explain better...the game is "Reload"  and related instructions to run it...are listed in the Windows Games section of your wiki...under Heavy Fire Afghanistan
and Heavy Fire Shattered Spear...
The command line (file bat) to run Demulshooter for "Reload" is: "DemulShooter.exe -target=windows -rom=reload" ...and this command line, match correctly the .exe of the game...
but oddly it doesn't work....and I get crosshair jump all over the screen...otherwise, if I use the mouse everything works fine ...
I wonder what I'm doing wrong...any suggested? thank you!  :)


argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1977 on: February 25, 2020, 08:35:32 am »
Ok..now I try to explain better...the game is "Reload"  and related instructions to run it...are listed in the Windows Games section of your wiki...under Heavy Fire Afghanistan
and Heavy Fire Shattered Spear...
Okay, so just for your information :
- This is not because Steam or Micro$oft or whatever is selling the game "Reload" bundled with other games ("Heavy Fire" games in that case) that "Reload" IS part of "Heavy Fire" series
- The game is in windows game wiki because....this is a windows game, and under "Heavy Fire Afghanistan" because it has to be somewhere. "House of Dead II" is listed just under "Reload" and they are not related....

Well... that beeing said, now that I know wich game you're having issue with, there are a lot of possibilities.
Start by running demulshooter like this : DemulShooter.exe -target=windows -rom=reload -v
After that, share the debug.txt file that you'll find in demulshooter's folder

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1978 on: February 25, 2020, 02:42:21 pm »

Feedbacks are welcome, mostly for those having Cxbx .NET errors with latest release

HI Argon! Thanks!
I've no much time in these days.. But I've made 3 games play with vcop3 without problems! Thanks!

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1979 on: February 25, 2020, 03:00:27 pm »
Ok..now I try to explain better...the game is "Reload"  and related instructions to run it...are listed in the Windows Games section of your wiki...under Heavy Fire Afghanistan
and Heavy Fire Shattered Spear...
Okay, so just for your information :
- This is not because Steam or Micro$oft or whatever is selling the game "Reload" bundled with other games ("Heavy Fire" games in that case) that "Reload" IS part of "Heavy Fire" series
- The game is in windows game wiki because....this is a windows game, and under "Heavy Fire Afghanistan" because it has to be somewhere. "House of Dead II" is listed just under "Reload" and they are not related....

Well... that beeing said, now that I know wich game you're having issue with, there are a lot of possibilities.
Start by running demulshooter like this : DemulShooter.exe -target=windows -rom=reload -v
After that, share the debug.txt file that you'll find in demulshooter's folder
Ok....about Reload informations..forgive me once again! anyway I noticed that during the game, although demulshooter is active, the mouse also works at the same time ... the problem is in fact ... how it is possible, I really don't know ...
here the debug...
« Last Edit: February 25, 2020, 03:04:32 pm by lay72 »

SaputraJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:July 06, 2023, 12:47:41 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1980 on: February 25, 2020, 07:46:47 pm »
hi all, I've updated to the latest demulshooter 8.5.7 and have a problem with demul games. The problem is both guns control both P1 and P2 simultaneously.

In the demulshooter diag application, both guns operate individually as expected with gun 1 only controlling p1 and gun 2 only controlling p2.

Would any experts know what I've done wrong with the demul emulator?

Here is the log showing the different device ID's:

20:49:44.448371 :
20:49:44.453084 : -------------------- Program Start ----------------------
20:49:44.455110 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#7&6f69e7b&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
20:49:44.457074 : P1 Device Handle = 65595
20:49:44.460067 : P2 device = \\?\HID#VID_D209&PID_1602&MI_02#7&23fea4a1&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
20:49:44.462061 : P2 Device Handle = 65597
20:49:44.464056 : P3 device =
20:49:44.467048 : P3 Device Handle = 0
20:49:44.469129 : P4 device =
20:49:44.471124 : P4 Device Handle = 0
20:49:44.473118 : Cmdline arg 1 : -target=demul07a
20:49:44.475113 : Cmdline arg 2 : -rom=hotd2
20:49:44.478106 : Cmdline arg 3 : -noresize
20:49:44.480100 : Cmdline arg 4 : -v
20:49:44.491103 : Enabling virtual gun Mouse buttons: P1 Middle = [C]
20:49:44.494095 : Enabling virtual gun Mouse buttons: P1 Right = [F]
20:49:44.497087 : Enabling virtual gun Mouse buttons: P2 Middle = [V]
20:49:44.499111 : Enabling virtual gun Mouse buttons: P2 Right = [G]
20:49:44.505092 : Waiting for naomigame to hook.....
20:50:02.514724 : LowLevelMouseHook installed !
20:50:02.517700 : Attached to Process demul.exe, ProcessHandle = 1284
20:50:02.520183 : Demul.exe = 0x00400000, padDemul.dll = 0x0D250000
20:50:02.542500 : MD5 hash of D:\ARCADE\Emulators\Demul\demul.exe = ce0a6fd5552903311a8935b6f60e26ad
20:50:02.545476 : MD5 Hash is corresponding to a known target = Demul 0.7a_180428
20:50:02.550932 : Adding CodeCave at : 0x1EFB0000
20:50:02.553908 : Naomi Memory Hack complete !
20:50:02.556674 : -
20:50:23.303779 : RawData event for Device #2:
20:50:23.306784 : Device rawinput data (Hex) = [ F39E, AC4A ]
20:50:23.311742 : PrimaryScreen Size (Px) = [ 640x480 ]
20:50:23.314691 : OnScreen Cursor Position (Px) = [ 609, 323 ]
20:50:23.317691 : OnClient Cursor Position (Px) = [ 609, 303 ]
20:50:23.321139 : Game client window resolution (Px) = [ 640x460 ]
20:50:23.323643 : Game Position (Hex) = [ 00F3, 00A8 ]
20:50:23.326603 : Game Position (Dec) = [ 243, 168 ]
20:50:23.329083 : MouseButton (Hex) = 0x0000
20:50:23.331929 : -
20:51:00.946133 : RawData event for Device #1:
20:51:00.948613 : Device rawinput data (Hex) = [ C38B, A4C9 ]
20:51:00.951589 : PrimaryScreen Size (Px) = [ 640x480 ]
20:51:00.954584 : OnScreen Cursor Position (Px) = [ 488, 308 ]
20:51:00.958036 : OnClient Cursor Position (Px) = [ 488, 288 ]
20:51:00.960544 : Game client window resolution (Px) = [ 640x460 ]
20:51:00.963520 : Game Position (Hex) = [ 00C2, 00A0 ]
20:51:00.966468 : Game Position (Dec) = [ 194, 160 ]
20:51:00.968975 : MouseButton (Hex) = 0x0000
20:51:05.235486 : -
20:51:05.238435 : RawData event for Device #2:
20:51:05.240916 : Device rawinput data (Hex) = [ 0790, FA3E ]
20:51:05.243918 : PrimaryScreen Size (Px) = [ 640x480 ]
20:51:05.246894 : OnScreen Cursor Position (Px) = [ 18, 469 ]
20:51:05.249845 : OnClient Cursor Position (Px) = [ 18, 449 ]
20:51:05.252349 : Game client window resolution (Px) = [ 640x460 ]
20:51:05.255326 : Game Position (Hex) = [ 0007, 00F9 ]
20:51:05.258275 : Game Position (Dec) = [ 7, 249 ]
20:51:05.260781 : MouseButton (Hex) = 0x0000
20:51:05.263757 : -
.
.
.
.
20:51:09.001800 : demul.exe closed

Hi All, im new here

My problem that 1000% exactly the same with flybynight but i cant get it work by what flybynight suggested by combining old version demul with other ver demulshooter and etc

Please help and thanks!

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1981 on: February 26, 2020, 01:37:25 am »
Hi Guys,

Can anyone help me setup demulshooter with model2 and pc games using rocketlauncher and hyperspin ?
Thanks so much  :applaud:
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

shiryu55

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:April 18, 2023, 03:46:44 am
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1982 on: February 26, 2020, 07:23:10 am »
in the rocket launcher the model 2 is very simple, just go to this tab s

In the first part it is only to indicate where the demulshooter is


the second, you click on the sega model 2 system, go to the option of the model 2 module, and configure the options of the gun sets separately one by one by activating the demulshooter option




njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1983 on: February 26, 2020, 07:58:26 am »
in the rocket launcher the model 2 is very simple, just go to this tab s

In the first part it is only to indicate where the demulshooter is


the second, you click on the sega model 2 system, go to the option of the model 2 module, and configure the options of the gun sets separately one by one by activating the demulshooter option





Thanks ! that's really simple :D  and for pc games it should point to maybe a bat file or something?
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

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!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1984 on: February 26, 2020, 09:40:31 am »
Run Cxbx-Reloaded and start vc3.xbe file (or use command line to run the emulator with the game directly) No need for calibration.



Would anyone have a model of how to run the CXBX emulator from the command line?

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1985 on: February 26, 2020, 11:08:23 am »
The official way is here : Cxbx wiki

I was using another method, which was like : cxbx.exe [path to xbe file]
This method is creating 2 windows and caused a lot of trouble for me but this is the one working with demulshooter

The official way - I discovered it recently - is much more better as it runs only 1 process and is easily killed/close by a frontend. But no demulshooter compatibility for now (may change in the next days)

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!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1986 on: February 26, 2020, 11:36:57 am »
The official way is here : Cxbx wiki

I was using another method, which was like : cxbx.exe [path to xbe file]
This method is creating 2 windows and caused a lot of trouble for me but this is the one working with demulshooter

The official way - I discovered it recently - is much more better as it runs only 1 process and is easily killed/close by a frontend. But no demulshooter compatibility for now (may change in the next days)

This is exactly what happened to me, but I managed to solve it through my script in Autoit, closing the demulshooter and the 2 processes that are opened from cxbx. Now it is working correctly, I use the Advmenu frontend.

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1987 on: February 26, 2020, 11:49:41 am »
Does anyone have a working ahk for hotd3 ? And which demulshooter cmd line must i use ?
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

argonlefou

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1004
  • Last login:Today at 10:03:12 am
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1988 on: February 26, 2020, 01:42:25 pm »
Does anyone have a working ahk for hotd3 ? And which demulshooter cmd line must i use ?
Please read the Wiki, you'll find all these answers

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1989 on: February 26, 2020, 02:12:43 pm »
maximum characters exceeded (25000)...how can I post my reload debug.txt here?  :banghead: :banghead:

lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1990 on: February 26, 2020, 02:22:08 pm »
20:47:48.834323 :
20:47:48.834323 : -------------------- Program Start ----------------------
20:47:48.834323 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&253a70e3&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
20:47:48.834323 : P1 Device Handle = 65703
20:47:48.834323 : P2 device =
20:47:48.834323 : P2 Device Handle = 0
20:47:48.834323 : P3 device =
20:47:48.834323 : P3 Device Handle = 0
20:47:48.834323 : P4 device =
20:47:48.834323 : P4 Device Handle = 0
20:47:48.834323 : Cmdline arg 1 : -target=windows
20:47:48.834323 : Cmdline arg 2 : -rom=reload
20:47:48.834323 : Cmdline arg 3 : -v
20:47:48.834323 : Waiting for Windows Game reload game to hook.....
20:47:55.411412 : Attached to Process Reload.exe, ProcessHandle = 1216
20:47:55.411412 : Reload.exe = 0x00400000
20:47:55.412409 : rld_game.dll Module Base Address = 0x 10000000
20:47:55.415401 : MD5 hash of E:\Lightguns Coin-op\Reload\reload.exe = f3c4068a49f07aa99d2a92544d5c5748
20:47:55.415401 : /!\ MD5 Hash unknown, DemulShooter may not work correctly with this target /!\
20:47:55.416398 : Custom data will be stored at : 0x10F20000
20:47:55.417396 : Adding P1_X CodeCave at : 0x10F30000
20:47:55.418393 : Adding P1_X CodeCave at : 0x10F40000
20:47:55.420388 : Adding P1_InGame_Crosshair CodeCave at : 0x10F50000
20:47:55.420388 : Adding P1_InGame_X CodeCave at : 0x10F60000
20:47:55.421385 : Adding P1_InGame_Y CodeCave at : 0x10F70000
20:47:55.422382 : Memory Hack complete !
20:47:55.422382 : -
20:48:28.553625 : RawData event for Device #1:
20:48:28.553625 : Device rawinput data (Hex) = [ 96D8, 0000 ]
20:48:28.555621 : PrimaryScreen Size (Px) = [ 1920x1080 ]
20:48:28.556619 : OnScreen Cursor Position (Px) = [ 1131, 0 ]
20:48:28.556619 : OnClient Cursor Position (Px) = [ 1131, 0 ]
20:48:28.557615 : Game client window resolution (Px) = [ 1920x1080 ]
20:48:28.557615 : Game Position (Hex) = [ 046B, 0000 ]
20:48:28.557615 : Game Position (Dec) = [ 1131, 0 ]
20:48:28.557615 : MouseButton (Hex) = 0x0000
20:48:28.558613 : -
20:48:28.561605 : RawData event for Device #1:
20:48:28.561605 : Device rawinput data (Hex) = [ 93E8, 0000 ]
20:48:28.561605 : PrimaryScreen Size (Px) = [ 1920x1080 ]
20:48:28.562601 : OnScreen Cursor Position (Px) = [ 1109, 0 ]
20:48:28.562601 : OnClient Cursor Position (Px) = [ 1109, 0 ]
20:48:28.562601 : Game client window resolution (Px) = [ 1920x1080 ]
20:48:28.562601 : Game Position (Hex) = [ 0455, 0000 ]
20:48:28.563600 : Game Position (Dec) = [ 1109, 0 ]
20:48:28.563600 : MouseButton (Hex) = 0x0000


lay72

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:February 01, 2023, 05:44:57 am
  • I hate waste time to fix...I wanna play!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1991 on: February 26, 2020, 02:25:05 pm »
20:47:48.834323 :
20:47:48.834323 : -------------------- Program Start ----------------------
20:47:48.834323 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&253a70e3&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
20:47:48.834323 : P1 Device Handle = 65703
20:47:48.834323 : P2 device =
20:47:48.834323 : P2 Device Handle = 0
20:47:48.834323 : P3 device =
20:47:48.834323 : P3 Device Handle = 0
20:47:48.834323 : P4 device =
20:47:48.834323 : P4 Device Handle = 0
20:47:48.834323 : Cmdline arg 1 : -target=windows
20:47:48.834323 : Cmdline arg 2 : -rom=reload
20:47:48.834323 : Cmdline arg 3 : -v
20:47:48.834323 : Waiting for Windows Game reload game to hook.....
20:47:55.411412 : Attached to Process Reload.exe, ProcessHandle = 1216
20:47:55.411412 : Reload.exe = 0x00400000
20:47:55.412409 : rld_game.dll Module Base Address = 0x 10000000
20:47:55.415401 : MD5 hash of E:\Lightguns Coin-op\Reload\reload.exe = f3c4068a49f07aa99d2a92544d5c5748
20:47:55.415401 : /!\ MD5 Hash unknown, DemulShooter may not work correctly with this target /!\
20:47:55.416398 : Custom data will be stored at : 0x10F20000
20:47:55.417396 : Adding P1_X CodeCave at : 0x10F30000
20:47:55.418393 : Adding P1_X CodeCave at : 0x10F40000
20:47:55.420388 : Adding P1_InGame_Crosshair CodeCave at : 0x10F50000
20:47:55.420388 : Adding P1_InGame_X CodeCave at : 0x10F60000
20:47:55.421385 : Adding P1_InGame_Y CodeCave at : 0x10F70000
20:47:55.422382 : Memory Hack complete !
20:47:55.422382 : -
20:48:28.553625 : RawData event for Device #1:
20:48:28.553625 : Device rawinput data (Hex) = [ 96D8, 0000 ]
20:48:28.555621 : PrimaryScreen Size (Px) = [ 1920x1080 ]
20:48:28.556619 : OnScreen Cursor Position (Px) = [ 1131, 0 ]
20:48:28.556619 : OnClient Cursor Position (Px) = [ 1131, 0 ]
20:48:28.557615 : Game client window resolution (Px) = [ 1920x1080 ]
20:48:28.557615 : Game Position (Hex) = [ 046B, 0000 ]
20:48:28.557615 : Game Position (Dec) = [ 1131, 0 ]
20:48:28.557615 : MouseButton (Hex) = 0x0000
20:48:28.558613 : -
20:48:28.561605 : RawData event for Device #1:
20:48:28.561605 : Device rawinput data (Hex) = [ 93E8, 0000 ]
20:48:28.561605 : PrimaryScreen Size (Px) = [ 1920x1080 ]
20:48:28.562601 : OnScreen Cursor Position (Px) = [ 1109, 0 ]
20:48:28.562601 : OnClient Cursor Position (Px) = [ 1109, 0 ]
20:48:28.562601 : Game client window resolution (Px) = [ 1920x1080 ]
20:48:28.562601 : Game Position (Hex) = [ 0455, 0000 ]
20:48:28.563600 : Game Position (Dec) = [ 1109, 0 ]
20:48:28.563600 : MouseButton (Hex) = 0x0000

Hi Argon...I hope it is enough  :dunno

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1992 on: February 26, 2020, 04:05:11 pm »
Does anyone have a working ahk for hotd3 ? And which demulshooter cmd line must i use ?
Please read the Wiki, you'll find all these answers

Hi,

i can start the game but when using demulshooter the window loses focus also my keypresses wont work only alt f4 seems to work'
here is my script

----- AHK script -----

RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, SOFTWARE\Wow6432Node\SEGA\hod3\Settings, Played, 1
Run,C:\DemulShooter\Demulshooter.exe -target=windows -rom=hod3pc, C:\DemulShooter
Run,c:\hotd3\THE HOUSE OF THE DEAD3_EU\exe\hod3pc.exe         ; Ejecuta el programa
Sleep, 4000
WinWaitClose, THE HOUSE OF THE DEAD 3
ExitApp



1::Enter
2::t
LAlt::z
LCtrl::x
r::i            ; Redefine el teclado de acuerdo a MAME
f::k
d::j
g::l
a::n
s::b
q::y


Escape::
;La Opción WinClose, THE HOUSE OF THE DEAD 3 -> cerrar a lo bruto daba en el juego (no en el menú).
PostMessage, 0x112, 0xF060,,, THE HOUSE OF THE DEAD 3 ; Manda un mensaje a la ventana igual a ALT+F4
Send {i down}         ; Es necesario poner primero down y luego up. Si pones sólo UP, no funciona.
Sleep, 10
Send {i up}
Send {n down}
Sleep, 10
Send {n up}
ExitApp          ; Termina esta script
return






thanks for the help
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

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!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1993 on: February 26, 2020, 04:51:28 pm »
Hi I had the same losing focus problem and I think I resolved someway like

Sleep, ?000
WinActivate, THE HOUSE OF THE DEAD 3

or something similar, dont remeber.

But I didnt have any problem with the keys are you sure is not your script interfering?


njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1994 on: February 27, 2020, 11:12:18 am »
demulshooter seems to be the issue, when running hotd3 through demulshooter the keyboard keys selected in the game wont work, gun movement works no trigger etc , enter key works.  when running through launcher all works exept thew gun because keyboard is selected
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

Tiberius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:March 03, 2024, 02:10:01 pm
  • Spent more time fixing than playing
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1995 on: February 27, 2020, 12:14:44 pm »
Hi njay

HOTD3 does work with demulshooter, it works whether you direct load into the game with the Ahk from the Wiki page or via the launcher.
I had a bit of a nightmare setting it up (user error in the main part), but it does work.
I found it better to get the game working in Windowed mode rather than full screen and also via the launcher. Don't try to get it working all via autohotkeys or bat files to start with because you won't know where the problems are getting caused.
Just get it working the old fashioned way of clicking on exe's in the order that you will then make the automatic system follow
Then get it working via direct loading still in windowed mode, then set up your bat file or autohotkey whichever you prefer and then lastly go fullscreen

Which Version of Demulshooter are you using?

What are you trying to play it with?

I am happy to try to help you, but I also imagine there are people on here who will know more about it, however rather than filling up this thread with questions and answers related specifically to your set up, it may annoy other people less it is was done via private message.

Apologies to everyone else for not thinking of this earlier and adding a rather pointless post to this thread.

Kind regards
« Last Edit: February 27, 2020, 12:35:08 pm by Tiberius »
Using Wiimotes, Demulshooter and Touchmote as lightguns......does actually work!!!

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1996 on: February 27, 2020, 12:52:03 pm »
Hi njay

HOTD3 does work with demulshooter, it works whether you direct load into the game with the Ahk from the Wiki page or via the launcher.
I had a bit of a nightmare setting it up (user error in the main part), but it does work.
I found it better to get the game working in Windowed mode rather than full screen and also via the launcher. Don't try to get it working all via autohotkeys or bat files to start with because you won't know where the problems are getting caused.
Just get it working the old fashioned way of clicking on exe's in the order that you will then make the automatic system follow
Then get it working via direct loading still in windowed mode, then set up your bat file or autohotkey whichever you prefer and then lastly go fullscreen

Which Version of Demulshooter are you using?

What are you trying to play it with?

I am happy to try to help you, but I also imagine there are people on here who will know more about it, however rather than filling up this thread with questions and answers related specifically to your set up, it may annoy other people less it is was done via private message.

Apologies to everyone else for not thinking of this earlier and adding a rather pointless post to this thread.

Kind regards

I followed the wiki but that does not work if anyone can share their settings, ahk etc it would be great  :badmood: :applaud:
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

Tiberius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:March 03, 2024, 02:10:01 pm
  • Spent more time fixing than playing
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1997 on: February 27, 2020, 01:52:16 pm »
The reason I asked which version of Demulshooter you are using is because the 8.6.0 version broke compatability which HOTD3, but this was fixed in Version 8.6.1. It also worked in Version 8.5.7. and most likely before but I never used any before that so wouldn't know from fact.
Using Wiimotes, Demulshooter and Touchmote as lightguns......does actually work!!!

njay

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:February 08, 2022, 06:49:35 am
  • To Nudge or Not to Nudge !
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1998 on: February 27, 2020, 02:06:41 pm »
The reason I asked which version of Demulshooter you are using is because the 8.6.0 version broke compatability which HOTD3, but this was fixed in Version 8.6.1. It also worked in Version 8.5.7. and most likely before but I never used any before that so wouldn't know from fact.

Latest version :)
Mini Pinball Project [Finished]:
http://forum.arcadecontrols.com/index.php?topic=98826.0

Cab Convert To HyperSpin [Sold due to Move]
http://forum.arcadecontrols.com/index.php?topic=101535.0

New Project - Bartop [Planning Stage]
http://forum.arcadecontrols.com/index.php?topic=105894

Zebra

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 619
  • Last login:August 19, 2021, 01:12:24 pm
  • I want to build my own arcade controls!
Re: DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
« Reply #1999 on: February 27, 2020, 05:38:38 pm »
The reason I asked which version of Demulshooter you are using is because the 8.6.0 version broke compatability which HOTD3, but this was fixed in Version 8.6.1. It also worked in Version 8.5.7. and most likely before but I never used any before that so wouldn't know from fact.

Latest version :)

Have you tried playing Hod3 in Dolphin instead of the PC version? It lets you use whatever controls you like. It looks and plays better than the PC version too. And, it doesn't force that auto reload thing and it lets you turn the crosshairs off.  Highly recommended.

On a different note, has anybody ever asked the Teknoparrot guy if he'd incorporate Demul Shooter into his software so he can stop breaking compatibility with new releases? I'm going to assume he doesn't actively want to prevent light gun compatibility on light gun games..,