Difference between revisions of "Light Guns"

From EmuVR Wiki
Jump to: navigation, search
m
m
Line 3: Line 3:
  
 
== Enabling Light Gun Input for a System in Game Scanner ==
 
== Enabling Light Gun Input for a System in Game Scanner ==
Simply click the little <span style="font-size:120%;>&#x2630;</span> button to bring the [[Installation_Guide#Core_Options_.28Advanced.29|Core Options]] window and enable the "Lightgun" option. For most cores, that's it, you're done.
+
Simply click the little <span style="font-size:120%;>&#x2630;</span> button to the right in Game Scanner to bring the [[Installation_Guide#Core_Options_.28Advanced.29|Core Options]] window and enable the "Light Gun" option. For most cores, that's it, you're done.
  
You should move your light gun games into a separate folder for that system, e.g. <b>"Games\PS1 (Lightguns)"</b>, as enabling that option will affect all games under the folder to receive input as light gun games, and they won't work with normal controls if they're common games. '''Enabling light gun input for common controller games will disable their input.'''
+
When [[Installation_Guide#Copying_Your_Games|adding your games]], you should move your light gun games into a new '''separate folder''' for that system, e.g. <b>"Games\PS1 (Light Guns)"</b>, since enabling this option will affect all games under that folder to receive input as light gun games, and they won't work with normal controls if they're common gamepad games. '''Enabling light gun input for common controller games will disable their input.'''
  
 
=== Device Code ===
 
=== Device Code ===
You'll notice there's a "Device code" field under your "Lightgun" option, showing a number. That number defines the ID for which virtual controller the core will see, such as a gamepad, a mouse, or light guns. Each core can have their own different ID numbers to define which is which.
+
You'll notice there's a "Device code" drop-down below your "Light Gun" option, with a number. That number defines the ID for which virtual controller the core will see, such as a gamepad, a mouse, or light guns. Each core can have their own different ID numbers to define which is which.
  
'''Game Scanner has an internal database with those default values for each core.''' When you enable "Lightgun" input, it will automatically select the default light gun device code for you. All the games under that folder will automatically use that input device in Retroarch, which means you don't need to mess with Retroarch's input settings to save core overrides/remaps manually.
+
'''Game Scanner has an internal database with proper values for each core.''' When you click to enable "Light Gun" input, it will automatically select the default light gun device code for you.
  
Some cores have multiple different light guns models. E.g. some PS1 games, like Time Crisis, will work only with the "Guncon" model, while others, like Area 51, will work only with the "Justifier" model, and each gun has its own device code. You can choose it from the "Device code" drop down in Game Scanner, or manually type a new unknown ID in the field if needed.
+
Some cores have multiple different light guns models to choose from. E.g. some PS1 games, like Time Crisis, will work only with the "Guncon" model, while others, like Area 51, will work only with the "Justifier" model. Each gun has its own device code. You can choose it from the "Device code" drop-down in Game Scanner, or manually type a new unknown ID in the field if needed.
  
<b>TL;DR: If you see your light guns but can't shoot, try another device code from the dropdown.</b>
+
<b>TL;DR: If you see your light guns but can't shoot, try another device code from the drop-down.</b>
  
 
== Light Gun Supported Cores ==
 
== Light Gun Supported Cores ==
 
Not all cores have light gun support. This is a list for which cores you need to choose for the systems you want to play with light guns.
 
Not all cores have light gun support. This is a list for which cores you need to choose for the systems you want to play with light guns.
  
'''Any cores not listed here will most likely not have light guns support.'''
+
'''If any core is NOT listed here, it will most likely NOT have light gun support.'''
  
 
{| class="wikitable table-row-hover" border="1"
 
{| class="wikitable table-row-hover" border="1"
Line 26: Line 26:
 
| 3DO || Opera
 
| 3DO || Opera
 
|-
 
|-
| Arcade[[#Arcade_.2F_MAME_Games.2A|*]] || "MAME" or "MAME (Current)", no numbers.<br>MAME 2003-Plus<br>FinalBurn Neo<br> FB Alpha 2012 (Any flavor)
+
| Arcade[[#Arcade_.2F_MAME_Games.2A| *]] || "MAME" or "MAME (Current)", no numbers.<br>MAME 2003-Plus<br>FinalBurn Neo<br> FB Alpha 2012 (Any flavor)
 
|-
 
|-
 
| NES || FCEUmm
 
| NES || FCEUmm
Line 54: Line 54:
 
When you [[Controls#focus_input|focus input]] into a game with light gun input enabled, your hands will turn into light guns. Just press the trigger to shoot! When [[Controls#unfocus_input|detaching]] from the game, you'll see your hands again.
 
When you [[Controls#focus_input|focus input]] into a game with light gun input enabled, your hands will turn into light guns. Just press the trigger to shoot! When [[Controls#unfocus_input|detaching]] from the game, you'll see your hands again.
  
=== Handless ===
+
=== No Hands ===
 
If you're playing with keyboard / mouse or controllers, your "nose" will be your gun and you'll see a crosshair when gazing into a screen running a light gun enabled game. You'll automatically switch between "nose" and hand modes by pressing any respective controller button, even while already attached to a game.
 
If you're playing with keyboard / mouse or controllers, your "nose" will be your gun and you'll see a crosshair when gazing into a screen running a light gun enabled game. You'll automatically switch between "nose" and hand modes by pressing any respective controller button, even while already attached to a game.
  
 
=== Juggling Multiple Screens ===
 
=== Juggling Multiple Screens ===
  
If you have multiple TVs running light gun games, you can seamlessly shoot and switch between all of them, if you have [[Controls#focus_input|focus input]] to any light gun game. You can shoot a single screen with both hands, or any screen with any hand. Non light gun screens will be ignored when shooting their TVs.
+
If you have multiple TVs running light gun games, you can seamlessly shoot and switch between all of them, if you're currently [[Controls#focus_input|controlling]] any light gun game. You can shoot a single screen with both hands, or any screen with any hand. Non light gun screens will be ignored when shooting their TVs.
  
 
=== Reload ===
 
=== Reload ===
There are games where you "reload" by shooting off screen, and that's exactly how do it in EmuVR as well: shoot off screen.
+
There are games where you "reload" by shooting off screen, and that's exactly how do it in EmuVR as well: ''shoot off screen.''
  
 
Just be careful to not shoot another screen which is also running another light gun game while trying to reload, or else you'll switch to it instead of registering an off-screen shot to your currently controlled game.
 
Just be careful to not shoot another screen which is also running another light gun game while trying to reload, or else you'll switch to it instead of registering an off-screen shot to your currently controlled game.

Revision as of 04:30, 12 April 2021

Through this page you will learn how to enable Light Gun input for games, and how to play them.


Enabling Light Gun Input for a System in Game Scanner

Simply click the little button to the right in Game Scanner to bring the Core Options window and enable the "Light Gun" option. For most cores, that's it, you're done.

When adding your games, you should move your light gun games into a new separate folder for that system, e.g. "Games\PS1 (Light Guns)", since enabling this option will affect all games under that folder to receive input as light gun games, and they won't work with normal controls if they're common gamepad games. Enabling light gun input for common controller games will disable their input.

Device Code

You'll notice there's a "Device code" drop-down below your "Light Gun" option, with a number. That number defines the ID for which virtual controller the core will see, such as a gamepad, a mouse, or light guns. Each core can have their own different ID numbers to define which is which.

Game Scanner has an internal database with proper values for each core. When you click to enable "Light Gun" input, it will automatically select the default light gun device code for you.

Some cores have multiple different light guns models to choose from. E.g. some PS1 games, like Time Crisis, will work only with the "Guncon" model, while others, like Area 51, will work only with the "Justifier" model. Each gun has its own device code. You can choose it from the "Device code" drop-down in Game Scanner, or manually type a new unknown ID in the field if needed.

TL;DR: If you see your light guns but can't shoot, try another device code from the drop-down.

Light Gun Supported Cores

Not all cores have light gun support. This is a list for which cores you need to choose for the systems you want to play with light guns.

If any core is NOT listed here, it will most likely NOT have light gun support.

System Core
3DO Opera
Arcade * "MAME" or "MAME (Current)", no numbers.
MAME 2003-Plus
FinalBurn Neo
FB Alpha 2012 (Any flavor)
NES FCEUmm
PlayStation Beetle PSX
Beetle PSX HW
Sega Master System Genesis Plus GX
(Use device code 260 for SMS)
Sega Genesis Genesis Plus GX
Sega CD Genesis Plus GX
Sega Saturn Beetle Saturn
Sega Dreamcast Flycast
SNES "Snes9x", or "Snes9x (Current)" no numbers.
bsnes (Any flavor)

Arcade / MAME Games*

More often than not, 3D games can be glitchy in the MAME core. Usually your best course of action is to use a home console port of your arcade game instead, for better compatibility.

E.g. try playing House of the Dead 2 on Dreamcast (Flycast) instead of arcade (MAME).

How to Play

Starting

When you focus input into a game with light gun input enabled, your hands will turn into light guns. Just press the trigger to shoot! When detaching from the game, you'll see your hands again.

No Hands

If you're playing with keyboard / mouse or controllers, your "nose" will be your gun and you'll see a crosshair when gazing into a screen running a light gun enabled game. You'll automatically switch between "nose" and hand modes by pressing any respective controller button, even while already attached to a game.

Juggling Multiple Screens

If you have multiple TVs running light gun games, you can seamlessly shoot and switch between all of them, if you're currently controlling any light gun game. You can shoot a single screen with both hands, or any screen with any hand. Non light gun screens will be ignored when shooting their TVs.

Reload

There are games where you "reload" by shooting off screen, and that's exactly how do it in EmuVR as well: shoot off screen.

Just be careful to not shoot another screen which is also running another light gun game while trying to reload, or else you'll switch to it instead of registering an off-screen shot to your currently controlled game.

With your keyboard / mouse / controller "nose" gun, you can reload in the same way too, but there's also a shortcut button for easier off-screen shooting (also easier on your neck).

Extra Buttons

Some games need auxiliary buttons on your light gun, such as pressing Select to add a coin, or Start to begin the game, D-Pad to use menus in some Dreamcast games, or a button to take cover and reload in Time Crisis. Each hand holds all auxiliary buttons for that light gun, which means you can use them independently on each screen. The buttons will affect the latest screen you shot, for each hand. Check the button layout below.

Gunslinger / Spin Gun

If you want to show off or just feel cool, press the Grip button with a flick of the wrist to spin your guns! If you just press it with no flick, the gun will just fall hanging from your finger with physics, and then you can spin it from there. You can even shoot while spinning, can you hit your targets like that?

You can configure or disable this in the Settings Menu.

Light Gun Settings

There are a lot of settings to tweak your gunplay.

If you don't want to use the grip buttons to spin your gun, you can repurpose them to trigger a reload or to press Aux buttons instead.

You can make it so that by just pointing your gun Up or Down it will reload or press an aux button for you, which you can use for example to simulate stepping on the Time Crisis pedal to take cover.

There are also settings to toggle haptic feedback (controller vibration) when you shoot, to control gun recoil, and to show only one gun at a time instead of dual wielding.

Controls

Control Touch Index WMR Vive Gamepad Keyboard / Mouse
Shoot Trigger Trigger Trigger Trigger A / RT Left Click / Space
Aux A A / X A Trackpad [Down] Trackpad [Down] X Z
Aux B B / Y B Trackpad [Up] Trackpad [Up] B X
Aux C Analog [Up] Analog [Up] Analog [Up] Menu Button Y A
Start Analog [Right] Analog [Right] Analog [Right] Trackpad [Right] Start Enter
Select Analog [Left] Analog [Left] Analog [Left] Trackpad [Left] Select Right Shift
D-Pad
(Dreamcast)
Grip + Analog Grip + Analog Grip + Analog Grip + Trackpad D-Pad Arrows
Reload Shoot off screen Shoot off screen Shoot off screen Shoot off screen LT
or Shoot off screen
Left Shift
or Right Click
or Shoot off screen
Spin Grip Button
(Configurable)
Grip Button
(Configurable)
Grip Button
(Configurable)
Grip Button
(Configurable)
Detach from game Press both Analog Sticks Press both Analog Sticks Left Trackpad [Left] + Right Trackpad [Right] Press both Menu Buttons
(only in light gun mode, or else press both Grips)
Press both Analog Sticks Ctrl + Space