libretro / mame2016-libretro

Late 2016 version of MAME (0.174) for libretro. Compatible with MAME 0.174 sets.
Other
33 stars 40 forks source link

Core doesn't support multimouse #45

Open jhaleit opened 4 years ago

jhaleit commented 4 years ago

I noticed there's an issue with multimouse support not working. Just wanted to add this here.

B0RGS commented 3 years ago

You running on a Linux environment too? I'm also not getting it to work even with the udev driver and indices set properly.

markwkidd commented 3 years ago

@B0RGS just to confirm, are you running the latest RetroArch nightly or building from source?

There are instructions on how to add a PPA that allegedly provides the nightly builds. I can't vouch for this myself: https://www.retroarch.com/index.php?page=linux-instructions

B0RGS commented 3 years ago

I've been updating it the conventional way via retropie's UI. Not sure what setup script it's using for that. Will look into the instructions you provided though. Hoping to get this resolved before this weekend, but I may be out of luck until retropie updates things on their end.

B0RGS commented 3 years ago

@markwkidd

Still no dice here. don't know if it was coincidental, but after I installed 1.9.6, all my indices changed. I tried to remap my inputs in accordance with the event# as I did before, but that wasn't working anymore, so I tried the mouse# instead.

When doing that, I tested all the relevant indices on player 1's input binds and each device was detected in MAME as Mouse 1 as before, but MAME still won't detect any of them when bound to the other player input's.

I can get it to detect multiple mice inputs if I use the new feature where you can redirect input binds to another player, but that doesn't solve my problem. I want to play games like pong using two spinners which both use a mouse X-axis, so I need MAME to actually see them as separate mice. They'll all show as "Mouse 1" doing it this way

Here is log since the update:

[INFO] RetroArch 1.9.6 (Git 4a6dc36) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Jul 8 2021 [INFO] Version: 1.9.6 [INFO] Git: 4a6dc36 [INFO] ================================================= [INFO] [Input]: Found input driver: "udev". [INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so" [INFO] [Overrides]: No core-specific overrides found at "/home/borgs/.config/retroarch/config/MAME 2016/MAME 2016.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "/home/borgs/.config/retroarch/config/MAME 2016/arcade.cfg". [INFO] [Overrides]: No game-specific overrides found at "/home/borgs/.config/retroarch/config/MAME 2016/arkanoidu.cfg".

[INFO] [Remaps]: Remap directory: "/opt/retropie/configs/arcade/". [INFO] [Overrides]: Redirecting save file to "/home/borgs/RetroPie/roms/arcade/arkanoidu.srm". [INFO] [Overrides]: Redirecting save state to "/home/borgs/RetroPie/roms/arcade/arkanoidu.state".

[INFO] [Environ]: SYSTEM_DIRECTORY: "/home/borgs/RetroPie/BIOS". [INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/home/borgs/.config/retroarch/downloads".

[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own. [INFO] [SRAM]: Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ 2560x1440 [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] [Vulkan]: Vulkan dynamic library loaded. [INFO] [Vulkan]: Found vulkan context: vk_x [INFO] [Vulkan]: Detecting screen resolution 2560x1440. [INFO] [X/Vulkan]: Window manager is GNOME Shell. [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [X/Vulkan]: Using Xinerama on screen #0. [INFO] [X/Vulkan]: X = 0, Y = 0, W = 2560, H = 1440. [INFO] [X/Vulkan]: Using true fullscreen. [INFO] [Vulkan]: Found GPU at index 0: GeForce GTX 970 [INFO] [Vulkan]: Using GPU index 0. [INFO] [Vulkan]: Using fences for WSI acquire. [INFO] [Vulkan]: Using GPU: GeForce GTX 970 [INFO] [Vulkan]: Queue family 0 supports 16 sub-queues. [INFO] [Vulkan]: Using resolution 2560x1440 [INFO] [Vulkan]: Using RGB565 format. [INFO] [Shaders]: Specific shader preset found at /home/borgs/.config/retroarch/config/global.slangp. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-first-pass-linearize-crt-gamma-bob-fields.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #0. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-scanlines-vertical-interlacing.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #1. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-bloom-approx.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #2. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/blurs/blur9fast-vertical.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #3. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/blurs/blur9fast-horizontal.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #4. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-mask-resize-vertical.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #5. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-mask-resize-horizontal.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #6. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-scanlines-horizontal-apply-mask.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #7. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-brightpass.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #8. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-bloom-vertical.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #9. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-bloom-horizontal-reconstitute.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #10. [INFO] [slang]: Compiling shader "/home/borgs/.config/retroarch/shaders/slang-shaders-master/crt/shaders/crt-royale/src/crt-royale-geometry-aa-last-pass.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #11. [INFO] [Vulkan filter chain]: Creating framebuffer 1024 x 1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 1024 x 1440 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320 x 240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320 x 240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320 x 240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 64 x 90 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 120 x 90 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 1920 x 1440 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 1920 x 1440 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 1920 x 1440 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 1920 x 1440 (max 4294967295 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 1920 x 1440 (max 1 level(s)). [INFO] [udev]: Added Device Keyboard#0 Telink Wireless Receiver (/dev/input/event5) . [INFO] [udev]: Added Device Keyboard#1 Ultimarc I-PAC 4 (/dev/input/event9) . [INFO] [udev]: Added Device mouse#0 Telink Wireless Receiver Mouse (/dev/input/event2) . [INFO] [udev]: Added Device mouse#1 Ultimarc UltraStik Ultimarc Ultra-Stik Player 1 (/dev/input/event19) . [INFO] [udev]: Added Device mouse#2 Ultimarc UltraStik Ultimarc Ultra-Stik Player 1 (/dev/input/event20) . [INFO] [udev]: Added Device mouse#3 Ultimarc SpinTrak (/dev/input/event22) . [INFO] [udev]: Added Device mouse#4 Ultimarc U-Trak (/dev/input/event26) . [INFO] [udev]: Added Device mouse#5 Ultimarc UltraStik Ultimarc Ultra-Stik Player 2 (/dev/input/event16) . [INFO] [udev]: Added Device mouse#6 Ultimarc UltraStik Ultimarc Ultra-Stik Player 2 (/dev/input/event17) . [INFO] [udev]: Added Device mouse#7 Ultimarc SpinTrak (/dev/input/event21) . [INFO] [udev]: Added Device mouse#8 Ultimarc UltraStik Ultimarc Ultra-Stik Player 3 (/dev/input/event24) . [INFO] [udev]: Added Device mouse#9 Ultimarc UltraStik Ultimarc Ultra-Stik Player 3 (/dev/input/event25) . [INFO] [udev]: Added Device mouse#10 Ultimarc UltraStik Ultimarc Ultra-Stik Player 4 (/dev/input/event7) . [INFO] [udev]: Added Device mouse#11 Ultimarc UltraStik Ultimarc Ultra-Stik Player 4 (/dev/input/event8) . [INFO] [udev]: Added Device mouse#12 Ultimarc I-PAC 4 (/dev/input/event12) . [INFO] [udev]: Pad #0 (/dev/input/event18) supports 0 force feedback effects. [INFO] [udev]: Pad #1 (/dev/input/event15) supports 0 force feedback effects. [INFO] [udev]: Pad #2 (/dev/input/event23) supports 0 force feedback effects. [INFO] [udev]: Pad #3 (/dev/input/event6) supports 0 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev".

B0RGS commented 3 years ago

I was able to get this issue resolved using mame2003-plus [https://github.com/libretro/mame2003-plus-libretro/issues/1086]

However, this version of MAME does not appear to support some of the multi mouse games I'd like to play, like pong, and I still can't get mame2016 to respond.

2003-plus apparently automatically binds the mouse bound to a given retropad input to the corresponding player input in MAME. The MAME UI does not indicate any of this so I'm not clear as to what its doing to get it to respond.

Is mame2016 supposed to do the same thing?