Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant get any heavy fire games to work with 2 player #72

Open
greaserx opened this issue May 2, 2022 · 23 comments
Open

cant get any heavy fire games to work with 2 player #72

greaserx opened this issue May 2, 2022 · 23 comments

Comments

@greaserx
Copy link

greaserx commented May 2, 2022

everything works with 1 player. i've done the patch with demushoot for the first one and it still auto detects controllers
when it comes to 2 player i can move the curser with player 2 but cant shoot

@argonlefou
Copy link
Owner

argonlefou commented May 2, 2022

First step would be to run DemulShooter with an additional -v option in the command line
Then run the game, wait till the hook is done (green icon for DemulShooter in the tray), move around the gun a little and exit

You can then share the debug text file created in demulshooter's folder

@greaserx
Copy link
Author

greaserx commented May 2, 2022

Ok I'm lost sorry

@greaserx
Copy link
Author

greaserx commented May 3, 2022

i dont know how to do that i think

@argonlefou
Copy link
Owner

how are you running the game and demulshooter ? Frontend ? BAT file ? AHK Script ?

@greaserx
Copy link
Author

greaserx commented May 3, 2022

I'm running by ahk script and front-end I'm using it launchbox

@argonlefou
Copy link
Owner

you'll have to open the ahk script and edit the demulshooter's command

To debug it's best to use the fewer things as possible (no frontend, and run the softwares as directly as you can)

@greaserx
Copy link
Author

greaserx commented May 3, 2022

Oh sorry I'm not using a front end for it and I have it setup just like titchgamer has in his video

@greaserx
Copy link
Author

greaserx commented May 3, 2022

Uploading 20220503_180927.jpg…

@greaserx
Copy link
Author

greaserx commented May 3, 2022

17:40:45.758291 :
17:40:45.759291 : ---------------- Program Start -- DemulShooter v10.3.0.0 ----------------
17:40:45.759291 : Cmdline arg 0 : -target=windows
17:40:45.759291 : Cmdline arg 1 : -rom=hfa2p
17:40:45.759291 : Cmdline arg 2 : -v
17:40:45.766287 : Error: Impossible to get Button Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col06#8&102033dd&0&0005#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.767286 : Error: Impossible to get Value Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col05#8&102033dd&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.767286 : Error: Impossible to get Button Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col03#8&102033dd&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.767286 : Error: Impossible to get Value Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col02#8&102033dd&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.768285 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col03#8&32285f9&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.770285 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col04#9&9ab88f4&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.771284 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col02#8&32285f9&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.772283 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col01#8&32285f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.773283 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col02#9&9ab88f4&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.775281 : Error: Impossible to get Button Capabilities for device \?\HID#VID_1915&PID_AF11&MI_02#8&56039ef&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.776281 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col03#9&216f1539&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.777280 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col04#8&2635de30&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.778280 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col02#9&216f1539&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.780278 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col01#9&216f1539&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.781278 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col02#8&2635de30&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.782277 : Error: Impossible to get Value Capabilities for device \?\HID#VID_1915&PID_AF11&MI_01&Col02#8&23f82a3a&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.791273 : Found 21 available RawInput devices :
17:40:45.791273 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col06#8&102033dd&0&0005#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.791273 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col05#8&102033dd&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col03#8&102033dd&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col02#8&102033dd&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col03#8&32285f9&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col04#9&9ab88f4&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col02#8&32285f9&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col01#8&32285f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col02#9&9ab88f4&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.792272 : + [RIM_TYPEHID] \?\HID#VID_1915&PID_AF11&MI_02#8&56039ef&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col03#9&216f1539&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col04#8&2635de30&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col02#9&216f1539&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col01#9&216f1539&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col02#8&2635de30&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEHID] \?\HID#VID_1915&PID_AF11&MI_01&Col02#8&23f82a3a&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:40:45.793271 : + [RIM_TYPEMOUSE] \?\HID#VID_16C0&PID_0F39&MI_02&Col02#9&69a49e3&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.793271 : + [RIM_TYPEMOUSE] \?\HID#VID_16C0&PID_0F38&MI_02&Col02#9&290b5653&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.793271 : + [RIM_TYPEMOUSE] \?\HID#VID_046D&PID_C52B&MI_01&Col01#9&9ab88f4&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.794271 : + [RIM_TYPEMOUSE] \?\HID#VID_046D&PID_C52B&MI_01&Col01#8&2635de30&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.794271 : + [RIM_TYPEMOUSE] \?\HID#VID_1915&PID_AF11&MI_01&Col01#8&23f82a3a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.803266 : Configuration file succesfuly loaded
17:40:45.803266 : P1 mode = RAWINPUT
17:40:45.803266 : P1 device = \?\HID#VID_16C0&PID_0F38&MI_02&Col02#9&290b5653&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.803266 : P1 device plugged and found, Handle = 0x65596
17:40:45.804265 : P1 device : Unknown / SindenLightgun
17:40:45.804265 : P2 mode = RAWINPUT
17:40:45.804265 : P2 device = \?\HID#VID_16C0&PID_0F39&MI_02&Col02#9&69a49e3&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:40:45.804265 : P2 device plugged and found, Handle = 0x65598
17:40:45.804265 : P2 device : Unknown / SindenLightgun
17:40:45.804265 : P3 mode = RAWINPUT
17:40:45.804265 : P3 device =
17:40:45.804265 : P4 mode = RAWINPUT
17:40:45.804265 : P4 device =
17:40:45.808263 : LowLevelMouseHook installed !
17:40:45.808263 : LowLevel-KeyboardHook installed !
17:40:45.810262 : Setting Cover delta to screen border to 0.3
17:40:45.811261 : File "D:\SteamLibrary\steamapps\common\HeavyFireAfghanistan\x360kb.ini" successfully written !
17:40:45.811261 : Waiting for Windows Game hfa game to hook.....

@greaserx
Copy link
Author

greaserx commented May 3, 2022

17:45:52.327104 :
17:45:52.329102 : ---------------- Program Start -- DemulShooter v10.3.0.0 ----------------
17:45:52.329102 : Cmdline arg 0 : -target=windows
17:45:52.329102 : Cmdline arg 1 : -rom=hfa2p
17:45:52.329102 : Cmdline arg 2 : -v
17:45:52.335098 : Error: Impossible to get Button Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col06#8&102033dd&0&0005#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.336098 : Error: Impossible to get Value Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col05#8&102033dd&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.336098 : Error: Impossible to get Button Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col03#8&102033dd&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.336098 : Error: Impossible to get Value Capabilities for device \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col02#8&102033dd&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.337097 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col03#8&32285f9&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.339096 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col04#9&9ab88f4&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.340096 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col02#8&32285f9&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.341095 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col01#8&32285f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.342094 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col02#9&9ab88f4&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.343094 : Error: Impossible to get Button Capabilities for device \?\HID#VID_1915&PID_AF11&MI_02#8&56039ef&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.345093 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col03#9&216f1539&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.346092 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col04#8&2635de30&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.347092 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col02#9&216f1539&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.348091 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_02&Col01#9&216f1539&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.349090 : Error: Impossible to get Value Capabilities for device \?\HID#VID_046D&PID_C52B&MI_01&Col02#8&2635de30&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.350090 : Error: Impossible to get Value Capabilities for device \?\HID#VID_1915&PID_AF11&MI_01&Col02#8&23f82a3a&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.359084 : Found 21 available RawInput devices :
17:45:52.359084 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col06#8&102033dd&0&0005#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.359084 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col05#8&102033dd&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col03#8&102033dd&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col02#8&102033dd&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col03#8&32285f9&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col04#9&9ab88f4&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col02#8&32285f9&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col01#8&32285f9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col02#9&9ab88f4&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.360084 : + [RIM_TYPEHID] \?\HID#VID_1915&PID_AF11&MI_02#8&56039ef&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col03#9&216f1539&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col04#8&2635de30&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col02#9&216f1539&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_02&Col01#9&216f1539&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEHID] \?\HID#VID_046D&PID_C52B&MI_01&Col02#8&2635de30&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEHID] \?\HID#VID_1915&PID_AF11&MI_01&Col02#8&23f82a3a&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
17:45:52.361083 : + [RIM_TYPEMOUSE] \?\HID#VID_16C0&PID_0F39&MI_02&Col02#9&69a49e3&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.361083 : + [RIM_TYPEMOUSE] \?\HID#VID_16C0&PID_0F38&MI_02&Col02#9&290b5653&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.362083 : + [RIM_TYPEMOUSE] \?\HID#VID_046D&PID_C52B&MI_01&Col01#9&9ab88f4&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.362083 : + [RIM_TYPEMOUSE] \?\HID#VID_046D&PID_C52B&MI_01&Col01#8&2635de30&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.362083 : + [RIM_TYPEMOUSE] \?\HID#VID_1915&PID_AF11&MI_01&Col01#8&23f82a3a&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.371077 : Configuration file succesfuly loaded
17:45:52.371077 : P1 mode = RAWINPUT
17:45:52.371077 : P1 device = \?\HID#VID_16C0&PID_0F38&MI_02&Col02#9&290b5653&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.372077 : P1 device plugged and found, Handle = 0x65596
17:45:52.372077 : P1 device : Unknown / SindenLightgun
17:45:52.372077 : P2 mode = RAWINPUT
17:45:52.372077 : P2 device = \?\HID#VID_16C0&PID_0F39&MI_02&Col02#9&69a49e3&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd}
17:45:52.372077 : P2 device plugged and found, Handle = 0x65598
17:45:52.372077 : P2 device : Unknown / SindenLightgun
17:45:52.372077 : P3 mode = RAWINPUT
17:45:52.372077 : P3 device =
17:45:52.373076 : P4 mode = RAWINPUT
17:45:52.373076 : P4 device =
17:45:52.376075 : LowLevelMouseHook installed !
17:45:52.376075 : LowLevel-KeyboardHook installed !
17:45:52.379073 : Setting Cover delta to screen border to 0.3
17:45:52.379073 : File "D:\SteamLibrary\steamapps\common\HeavyFireAfghanistan\x360kb.ini" successfully written !
17:45:52.379073 : Waiting for Windows Game hfa game to hook.....
17:46:23.800487 : Attached to Process HeavyFire3_Final.exe, ProcessHandle = 752
17:46:23.800487 : HeavyFire3_Final.exe = 0x00400000
17:46:23.816478 : MD5 hash of D:\SteamLibrary\steamapps\common\HeavyFireAfghanistan\HeavyFire3_Final.exe = 3f49951ae8232817a91ef5503374d6b3
17:46:23.816478 : MD5 Hash is corresponding to a known target = Heavy Fire 3 - MASTIFF
17:46:23.818477 : Reading game memory setting from D:\DemulShooter_v10.3.0\MemoryData\windows\hfa\3f49951ae8232817a91ef5503374d6b3.cfg
17:46:23.820476 : Custom data will be stored at : 0x02A50000
17:46:23.822475 : Adding P1 X Axis Codecave at : 0x02A60000
17:46:23.824474 : Adding P1 Y Axis Codecave at : 0x041E0000
17:46:23.834468 : Adding P2 X Axis Codecave at : 0x041F0000
17:46:23.838465 : Adding P2 Y Axis Codecave at : 0x04200000
17:46:23.839464 : Memory Hack complete !
17:46:23.839464 : -
17:46:23.855456 : RawData event for Player #1:
17:46:23.855456 : Device rawinput data (Hex) = [ 000016E2, 0000B2C2 ]
17:46:23.855456 : PrimaryScreen Size (Px) = [ 1280x720 ]
17:46:23.856455 : OnScreen Cursor Position (Px) = [ 114, 502 ]
17:46:23.857454 : OnClient Cursor Position (Px) = [ 80, 468 ]
17:46:23.857454 : Game client window resolution (Px) = [ 1280x720 ]
17:46:23.858454 : Game Position (Hex) = [ 0050, 01D4 ]
17:46:23.858454 : Game Position (Dec) = [ 80, 468 ]
17:46:23.858454 : -
17:46:23.871446 : RawData event for Player #1:
17:46:23.871446 : Device rawinput data (Hex) = [ 00001712, 0000B2DE ]
17:46:23.871446 : PrimaryScreen Size (Px) = [ 1280x720 ]
17:46:23.871446 : OnScreen Cursor Position (Px) = [ 115, 503 ]
17:46:23.871446 : OnClient Cursor Position (Px) = [ 82, 470 ]
17:46:23.871446 : Game client window resolution (Px) = [ 1280x720 ]
17:46:23.871446 : Game Position (Hex) = [ 0052, 01D6 ]
17:46:23.871446 : Game Position (Dec) = [ 82, 470 ]
17:46:23.872446 : -
17:46:23.875444 : RawData event for Player #2:
17:46:23.876444 : Device rawinput data (Hex) = [ 00000000, 00000000 ]
17:46:23.876444 : PrimaryScreen Size (Px) = [ 1280x720 ]
17:46:23.876444 : OnScreen Cursor Position (Px) = [ 0, 0 ]
17:46:23.876444 : OnClient Cursor Position (Px) = [ -33, -33 ]
17:46:23.876444 : Game client window resolution (Px) = [ 1280x720 ]
17:46:23.876444 : Game Position (Hex) = [ FFFFFFDF, FFFFFFDF ]
17:46:23.876444 : Game Position (Dec) = [ -33, -33 ]
17:46:23.876444 : -
17:46:23.883439 : RawData event for Player #1:
17:46:23.884439 : Device rawinput data (Hex) = [ 00000000, 00000000 ]
17:46:23.884439 : PrimaryScreen Size (Px) = [ 1280x720 ]
17:46:23.884439 : OnScreen Cursor Position (Px) = [ 0, 0 ]
17:46:23.884439 : OnClient Cursor Position (Px) = [ -33, -33 ]
17:46:23.884439 : Game client window resolution (Px) = [ 1280x720 ]
17:46:23.884439 : Game Position (Hex) = [ FFFFFFDF, FFFFFFDF ]
17:46:23.884439 : Game Position (Dec) = [ -33, -33 ]

@argonlefou
Copy link
Owner

argonlefou commented May 5, 2022

Ok, thanks for the debug.
Could you download and use the latest version of DemulShooter ? (10.5.0)

There was a bug in HeavyFire recently but this should not concern you (bug in 10.4 + ), but just to be sure it's better to use the last version

Then I'd need to know in details what is going wrong :

  • Does sinden 1 move P1 cursor ?
  • Does sinden 2 move P2 cursor ?
  • Does sinden 1 buttons have effects ?
  • Does sinden 2 buttons have effect ?
  • Do you already had a working demulshooter setup with another game/emulator ?

@greaserx
Copy link
Author

greaserx commented May 5, 2022

After changing to demul 10.5.0 both gun control 1 player and its all the point it all messed up in game now
Demul has worked for everything.

@greaserx
Copy link
Author

greaserx commented May 5, 2022

Player 1 works perfect on 10.3.0 demul
Player 2 can move curser.. reload ,buttons, trigger doesn't work. Arrows work

@greaserx
Copy link
Author

greaserx commented May 5, 2022

And the patch for it not to auto detect controls doesn't work

@argonlefou
Copy link
Owner

argonlefou commented May 7, 2022

For DemulShooter 10.3.0 (which is corresponding to the debug you sent here) :

  • If both cursor are moving independantly, DemulShooter is working as it should.
  • Trigger and reload, for both players, are just keyboard keys input sent by DemulShooter. Keys are hardcoded in game for P1 (which is why they are working for you) and are configured on the x360kb.ini for P2 : Trigger is [ T ] and reload is [ U ]
  • You can try to use directly the keyboard to shoot and reload, but anyway you'll need the whole xinput1_3.dll/x360kb.ini thing to be loaded and working (did you install those files with DemulShooter_GUI ?). If for any reason the dll is not working, the keys will have no effect.... And unfortunatelly, I'm not the author of these DLL and have no clue how to debug that part

For DemulShooter 10.5.0 :

  • If this is not working at all, this is exactly the purpose of GitHub Issue to check and fix these things. A debug file for this version of DemulShooter could help

@greaserx
Copy link
Author

greaserx commented May 7, 2022

It makes me use my arcade stick as 2nd player. I can shoot if I push my arcade stick button but not keyboard f Ior 2nd player. If I don't have it arcade stick plugged in it doesn't recognize a 2nd player either

@argonlefou
Copy link
Owner

That's what I said, you need to get the whole xinput1_3.dll / x360kb.ini set up to be working in order to allow DemulShooter to controls 2P buttons.
And again, I can't help on these files as I'm not the author of the program

I can just point you to follow the Wiki for the setup and verify that these files are copied in the game folder.

dinput8.dll is the one blocking all other controllers
xinput1_3.dll / x360kb.ini are the ones faking another controller so that DemulShooter can interract with it

@greaserx
Copy link
Author

greaserx commented May 9, 2022

[Options]
UseInitBeep=0
Log=0
BackgroundMode=0
PadCount=1

[PAD1]
A=T
B=U
Left Trigger=Y
Right Trigger=T
D-Pad Up=Up
D-Pad Down=Down
D-Pad Left=Left
D-Pad Right=Right
Right Analog Left=I
Right Analog Down=O
Right Analog Right=P

@greaserx
Copy link
Author

greaserx commented May 9, 2022

that is what shows in the x360kb.ini file
show i change things around in there?

@greaserx
Copy link
Author

greaserx commented May 9, 2022

there is no pad 2-4 in the ini file

@argonlefou
Copy link
Owner

argonlefou commented May 9, 2022

The file is good, no need to change it.
There is only PAD1 because only 1 pad need to be created for P2 (P1=Mouse, P2=this virtual pad)

The problem is on the xinput1_3.dll side (not loading or not working on your computer) but I have no way to know why....there may be a handfull of possibility : Windows version, adminstrator issue, antivirus, software issue, library issue.....
And the fact that dinput8.dll is not working either is pointing at a system-wide issue

To be short :
Step 1 : with xinput1_3.dll / dinput8.dll working you should be able to control P2 with those keyboard keys (without demulshooter) and without having your other devices recognized
Step 2 : Once # 1 is working, DemulShooter will be able to control P2 like it should

@greaserx
Copy link
Author

greaserx commented May 9, 2022

I ran it has admin but and I can use the keyboard for player 2 but both guns control player 1 and tracking is all over the place

@greaserx
Copy link
Author

do you think im pretty much shit out of luck with this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants