Main > Lightguns
DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...)
<< < (33/727) > >>
totoplay:
Thank you very much for your dedication and your kindness.

Replies to your questions:

Arcade Guns are made with Aimtrack, from their Pro Utility:
Trigger = Mouse left
Sm button = Mouse Right
Lg button = Joy Button 1 (no option for Mouse Middle)   note: even if I use Ultimarc utility middle clic doesn't work

HOTD3 PC
========
axis are working and both cursors move (shoot only possible from keyboard)

13:03 : -------------------- Program Start ----------------------
13:03 : Conf read OK
13:03 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&24d009cd&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:03 : P1 device handle = 4325909
13:03 : P2 device  = \\?\HID#VID_D209&PID_1602&MI_02#8&84a775a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:03 : P2 device handle = 3933181
13:03 : Cmdline arg 1 : -target=windows
13:03 : Cmdline arg 2 : -rom=hod3pc
13:03 : Cmdline arg 3 : -v
13:03 : Reading Keyconfig...
13:03 : Can't read Keyconfig : La valeur était trop grande ou trop petite pour un Int16.
13:03 : Waiting for Windows Game hod3pc game to hook.....
13:03 : Attached to Process hod3pc.exe, ProcessHandle = 884
13:03 : hod3pc.exe = 0x00400000
13:03 : Memory Hack complete !
13:03 : LowLevel-MouseHook OK !
13:04 : hod3pc.exe closed

DOLPHIN - HOTD2/HOTD3 example
======================
It's getting better with DOLPHIN thanks to your latest README file...

13:10 : -------------------- Program Start ----------------------
13:10 : Conf read OK
13:10 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&24d009cd&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:10 : P1 device handle = 4325909
13:10 : P2 device  = \\?\HID#VID_D209&PID_1602&MI_02#8&84a775a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:10 : P2 device handle = 3933181
13:10 : Cmdline arg 1 : -target=dolphin5
13:10 : Cmdline arg 2 : -ddinumber=2
13:10 : Cmdline arg 3 : -v
13:10 : Waiting for Dolphin  game to hook.....
13:10 : Attached to Process Dolphin.exe, ProcessHandle = 864
13:10 : Dolphin.exe = 0x00400000
13:10 : ControlsPtr address = 0x03C4CAE0
13:10 : DInput Keyboard/Mouse address = 0x03BC2480
13:10 : DInput Player2 device number in the list : 1
13:10 : DInput Device#2 address = 0x03C80D80
13:10 : Memory Hack complete !
13:15 : Dolphin.exe closed

Player 1: shoot and offscreen reload OK (just have to replace click2 by click1 as click2 seems not to work)
Player 2: Lg button doesn't work, no offscreen reload
   WiimoteNew.ini #1: D/S/FFF > Shoot = Trigger   - Reload = NO
   WiimoteNew.ini #2: D/F/SSS > Shoot = Sm button - Reload = NO
   WiimoteNew.ini #3: S/F/DDD > Shoot = Sm button - Reload = NO
   WiimoteNew.ini #4: S/D/FFF > Shoot = NO        - Reload = ?
   WiimoteNew.ini #5: F/D/SSS > Shoot = NO        - Reload = ?
   WiimoteNew.ini #6: F/S/DDD > Shoot = Trigger   - Reload = NO
 
argonlefou:

--- Quote from: totoplay on July 19, 2016, 08:43:18 am ---Arcade Guns are made with Aimtrack, from their Pro Utility:
Trigger = Mouse left
Sm button = Mouse Right
Lg button = Joy Button 1 (no option for Mouse Middle)   note: even if I use Ultimarc utility middle clic doesn't work

--- End quote ---
If it's really an aimtrak, and if you can use the original Aimtrak software to assign ID and Buttons, you should be able to affect a "middle click" event on a button onscreen or offscreen.
Note that the middle click is really required by DemulShoter for only 2 games (behind enemy lines - Model2), and HOD3 for windows (to select left-right path at the end of levels). As for Dolphin it should not be an issue as Wiimote buttons have to be set inside the emulator, so you can just replace whatever was initially middle click by corresponding ATRAK Button1 or Button2  :)


--- Quote from: totoplay on July 19, 2016, 08:43:18 am ---HOTD3 PC
========
axis are working and both cursors move (shoot only possible from keyboard)
[...]

--- End quote ---
Thanks for the log it was really helpfull !!
So let's assume you correctly choose Keyboard for both players and correctly set all keys :
DemulShooter gets HOD3 buttons by reading the registry and there are 2 possible Keys to read into. A lazy copy/paste bug in my code was preventing the program to look into the second one....but it should also be windows10 not allowing DemulShooter to access the registry....
Please try the attached .exe, I corrected the bug and added default values for the key so that both issues should be covered.
If this is still not working, please paste again a new -v debug file !

Default keys value added are the game's own default keys (AZERTY keyboard) :
P1 Shoot = X        P2 Shoot = N
P1 Reload = Z       P2 Reload = B
P1 Right = G         P2 Right = L
P1 LEft = D           P2 Left = J


--- Quote from: totoplay on July 19, 2016, 08:43:18 am ---DOLPHIN - HOTD2/HOTD3 example
======================
It's getting better with DOLPHIN thanks to your latest README file...
Player 1: shoot and offscreen reload OK (just have to replace click2 by click1 as click2 seems not to work)
Player 2: Lg button doesn't work, no offscreen reload
   WiimoteNew.ini #1: D/S/FFF > Shoot = Trigger   - Reload = NO
   WiimoteNew.ini #2: D/F/SSS > Shoot = Sm button - Reload = NO
   WiimoteNew.ini #3: S/F/DDD > Shoot = Sm button - Reload = NO
   WiimoteNew.ini #4: S/D/FFF > Shoot = NO        - Reload = ?
   WiimoteNew.ini #5: F/D/SSS > Shoot = NO        - Reload = ?
   WiimoteNew.ini #6: F/S/DDD > Shoot = Trigger   - Reload = NO

--- End quote ---
Ok, so far debug file is good, everything is fine this time.
Your large button is not working ? Is the cursor moving fine with the 2nd lightgun ? you should see it movind inside Dolphin wiimote setting window

An I do not understand the meaning of those lines  ? Is this (B) / (A) / (Shake) settings for P2 in Dolphin ?
WiimoteNew.ini #6: F/S/DDD
fjser:

--- Quote from: totoplay on July 19, 2016, 08:43:18 am ---Thank you very much for your dedication and your kindness.

Replies to your questions:

Arcade Guns are made with Aimtrack, from their Pro Utility:
Trigger = Mouse left
Sm button = Mouse Right
Lg button = Joy Button 1 (no option for Mouse Middle)   note: even if I use Ultimarc utility middle clic doesn't work

HOTD3 PC
========
axis are working and both cursors move (shoot only possible from keyboard)

13:03 : -------------------- Program Start ----------------------
13:03 : Conf read OK
13:03 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&24d009cd&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:03 : P1 device handle = 4325909
13:03 : P2 device  = \\?\HID#VID_D209&PID_1602&MI_02#8&84a775a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:03 : P2 device handle = 3933181
13:03 : Cmdline arg 1 : -target=windows
13:03 : Cmdline arg 2 : -rom=hod3pc
13:03 : Cmdline arg 3 : -v
13:03 : Reading Keyconfig...
13:03 : Can't read Keyconfig : La valeur était trop grande ou trop petite pour un Int16.
13:03 : Waiting for Windows Game hod3pc game to hook.....
13:03 : Attached to Process hod3pc.exe, ProcessHandle = 884
13:03 : hod3pc.exe = 0x00400000
13:03 : Memory Hack complete !
13:03 : LowLevel-MouseHook OK !
13:04 : hod3pc.exe closed

DOLPHIN - HOTD2/HOTD3 example
======================
It's getting better with DOLPHIN thanks to your latest README file...

13:10 : -------------------- Program Start ----------------------
13:10 : Conf read OK
13:10 : P1 device = \\?\HID#VID_D209&PID_1601&MI_02#8&24d009cd&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:10 : P1 device handle = 4325909
13:10 : P2 device  = \\?\HID#VID_D209&PID_1602&MI_02#8&84a775a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
13:10 : P2 device handle = 3933181
13:10 : Cmdline arg 1 : -target=dolphin5
13:10 : Cmdline arg 2 : -ddinumber=2
13:10 : Cmdline arg 3 : -v
13:10 : Waiting for Dolphin  game to hook.....
13:10 : Attached to Process Dolphin.exe, ProcessHandle = 864
13:10 : Dolphin.exe = 0x00400000
13:10 : ControlsPtr address = 0x03C4CAE0
13:10 : DInput Keyboard/Mouse address = 0x03BC2480
13:10 : DInput Player2 device number in the list : 1
13:10 : DInput Device#2 address = 0x03C80D80
13:10 : Memory Hack complete !
13:15 : Dolphin.exe closed

Player 1: shoot and offscreen reload OK (just have to replace click2 by click1 as click2 seems not to work)
Player 2: Lg button doesn't work, no offscreen reload
   WiimoteNew.ini #1: D/S/FFF > Shoot = Trigger   - Reload = NO
   WiimoteNew.ini #2: D/F/SSS > Shoot = Sm button - Reload = NO
   WiimoteNew.ini #3: S/F/DDD > Shoot = Sm button - Reload = NO
   WiimoteNew.ini #4: S/D/FFF > Shoot = NO        - Reload = ?
   WiimoteNew.ini #5: F/D/SSS > Shoot = NO        - Reload = ?
   WiimoteNew.ini #6: F/S/DDD > Shoot = Trigger   - Reload = NO

--- End quote ---

For Aimtrak to use middle mouse button you need to install the latest version of the utility AND  the latest firmware for the guns.  My utility was too old, when I upgraded from ultimarc website, i got the option for middle mouse in the config utility, but it didnt work. Most guns can have their firmware upgraded as well (tricky process, so be careful). You need to email Andy at Ultimar for the firmware files (he got back to me within a day)
fjser:
FYI to anyone using rocket launcher to run dolphin, it was defaulting to switching "render to main window" back to false whenever it launched. To fix this you can open the dolphin.ahk file from the rocketlauncher\modules\dolphin folder in a text editor and change the line that references it from a default of "false" to "true",  As an alternative, it appears you can add this line to the dolphin.ini file instead.  I just edited the AHK.  Im not at home atm or else i would post the actual change. If anyone needs it, let me know. 

Also - you can tell if Dolphin has this setting correct by hitting alt-tab once the game loads. If you see two copies of dolphin running, then the settings is not correct/working.
totoplay:
HOT3 PC
======
EXCELLENT! it is working with DemulShooter_4.0_testHOD3

DOLPHIN 5
=======
values like F/S/DDD <=> (A) / (B) / (Shake)
As you see I tried all combinations.

I thought it was impossible to use middle click with ARCADE GUNS whatever utility you use:
- ARCADE GUNS PRO UTILITY: impossible to select
- AIMTRACK UTILITY : doesn't work if selected

... but "fjser" proves otherwise, I contact Andy.

THANKS

Note : argonlefou, is it possible for you to use a different solution than middle clic because anybody without the correct firmware will have the same problem.
Navigation
Message Index
Next page
Previous page

Go to full version