RA’s lightgun support is ---steaming pile of meadow muffin---.
Use standalone emu’s instead.
Well that's a bit melodramatic, no?
thanks for reading,
im trying to setup latest retroarch to work with mouse bindings( loosely following this guide https://sindenlightgun.miraheze.org/wiki/Retroarch
)
when trying with beetle-saturn, i can get mouse/crosshair to move, but the bindings for "start game" wont work. ive tried remapping the binds to a kb key, but they seem to be ignored ingame.
when i try in duckstation-psx, i get crosshair/mouse movements, but fire/jump/reload are using kb keys only
many thanks in advance,
Dam0
While I don't have a gun working myself yet, I at least know RetroArch well enough to understand how it works. So, we should try and go through the process step-by-step.
Go to your options menu/category, then Drivers. Inside this submenu, check the "Input" selection - it might be on
dinput by default, so try changing it to
raw.
Save the configuration (
Main -> Configuration File -> Save Current Configuration) and exit, since we need to power cycle RetroArch to enact the new input driver.
Next, go back to the options menu, then
Input -> Port 1 Controls. Unless you're also using a gamepad, the only settings you'll want to concern yourself with are the
Gun Controls.
Try mapping the main functions -
Trigger, Aux, Etc. - with the gun controller.
If that doesn't work, you'll want to change the
Mouse Index setting at the top end of this menu; it might be set to your actual mouse, so set it to the
other device corresponding to the Samco, which may be
Index #1 or
#0.
Remember to save this configuration in the same menu (
Save Controller Profile), then just to be safe, power cycle RetroArch again by exiting and re-opening it.
Now, load your game as usual. But
before doing anything, check your core settings.
To do that, open up the in-game Quick Menu (F1 on Keyboard by default), and go to the
Controls subsection, which should be towards the bottom along with
Cheats, Disc Control, etc..
Then, go to
Port 1 Controls - here, the only thing we want to concern ourselves with is the
Device Type; on DuckStation, this will be defaulted to the Digital or Analog Controller. Change it to
Namco Guncon.On Dreamcast with the Flycast core, it's a similar principle - change default device
Controller to
Light Gun.
Either way, once selected, all the controller mapping options aside from the topmost three on this screen should disappear entirely when set to a gun mode, which is normal.
Go back one screen to the Port Selection submenu, still within
Quick Menu -> Controls, and save either the
Core Remap File to apply to the core as a whole, or
Game Remap File to only apply to this game; otherwise, none of these changes will stick when you exit.
For now (until the core updates to rectify this), note that DuckStation only works for Guncom compatible games - those that only work with the Konami Justifier aren't supported and will instead need Beetle-PSX. The process is wholly the same, but you'll want per-game configs depending on GCon or Justifier compatibility.
For non-Naomi-based arcade games, I only recommend trying this with MAME 2003-Plus as it's the only one anywhere near half-decently integrated with RA. This is one situation where MAME works better if your hardware is capable, so I recommend that (but obviously the steps are much different).
If, at any point in this process, you're still stuck somewhere, feel free to report back. That's how the process should ideally go for RetroArch, so if it's a bust, it might be your gun.