here is another binary with MKChamp's hiscore patch along with mine.
http://www.filedropper.com/mamearcade64_2
Pitou!
Just got a chance to test. Gun#2 no longer shows up.
H:\HyperSpin\Emulators\MAME>mamearcade64.exe ptblank -verbose
Video: Monitor 0000000008d56c48 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Physical width 1920, height 1080
Direct3D: Initialize
Direct3D: Configuring adapter #0 = AMD Radeon HD 5450
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1920x1080
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
RawInput: APIs detected
RawInput: APIs detected
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding Kbd #0: HID Keyboard Device
Input: Adding Mouse #0: HID-compliant mouse
Input: Adding Mouse #1: HID-compliant mouse
Input: Adding Mouse #2: HID-compliant mouse
Input: Adding Gun #0: Win32 Gun 1
Skipping DirectInput for XInput compatible joystick Controller (XBOX 360 For Win
dows).
Skipping DirectInput for XInput compatible joystick Controller (XBOX 360 For Win
dows).
Input: Adding Joy #0: THT Arcade console 2P USB Player
Input: Adding Joy #1: THT Arcade console 2P USB Player
Input: Adding Joy #2: THT Arcade console 2P USB Player
Input: Adding Joy #3: THT Arcade console 2P USB Player
Input: Adding Joy #4: ATRAK Device #1
Input: Adding Joy #5: ATRAK Device #8
Input: Adding Joy #6: XInput Player 1
Input: Adding Joy #7: XInput Player 2
Region ':maincpu' created
unzip: opened archive file roms\ptblank.zip
However if I change dual_lightgun to 1, then we get 2 guns in the verbose output, but when I go to configure inputs things get qwirky. Im not sure i understand the full extent of dual_lightgun and how it interacts with inputs to comment on whether things are working correctly or not. Even though both guns are added, both guns show up as gun 1 when it comes to b0 (Trigger). However they show up as different mice when calibrating for X/Y. So gun0 calibrates x/y as mouse2 and gun1 calibrates x/y as mouse3. It does not say gun0 or gun1 x or y, only mouse x and y. But the trigger, b0 does say it is both mouse2 and gun1 b0 for gun0, and mouse 3 and gun1 b0 for gun1.
Also when I try to put both guns on screen at the same time it goes crazy. The crosshairs are forced to the outer edge of the screen. If I move one offscreen, I can kinda shoot, but its still whacky. Also both crosshairs are red, so despite showing up as difference mice in X/Y configs, the game still sees them as the same gun input, which in this case is gun1.
Attached you'll find a screenshot hopefully it clarifies.
H:\HyperSpin\Emulators\MAME>mamearcade64.exe ptblank -verbose
Video: Monitor 0000000008d26998 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Physical width 1920, height 1080
Direct3D: Initialize
Direct3D: Configuring adapter #0 = AMD Radeon HD 5450
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1920x1080
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
RawInput: APIs detected
RawInput: APIs detected
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding Kbd #0: HID Keyboard Device
Input: Adding Mouse #0: HID-compliant mouse
Input: Adding Mouse #1: HID-compliant mouse
Input: Adding Mouse #2: HID-compliant mouse
Input: Adding Gun #0: Win32 Gun 1
Input: Adding Gun #1: Win32 Gun 2
Skipping DirectInput for XInput compatible joystick Controller (XBOX 360 For Win
dows).
Skipping DirectInput for XInput compatible joystick Controller (XBOX 360 For Win
dows).
Input: Adding Joy #0: THT Arcade console 2P USB Player
Input: Adding Joy #1: THT Arcade console 2P USB Player
Input: Adding Joy #2: THT Arcade console 2P USB Player
Input: Adding Joy #3: THT Arcade console 2P USB Player
Input: Adding Joy #4: ATRAK Device #1
Input: Adding Joy #5: ATRAK Device #8
Input: Adding Joy #6: XInput Player 1
Input: Adding Joy #7: XInput Player 2
Region ':maincpu' created
unzip: opened archive file roms\ptblank.zip
unzip: found roms\ptblank.zip ECD