Difference between revisions of "Light Guns"

From EmuVR Wiki
Jump to: navigation, search
m
m
(17 intermediate revisions by the same user not shown)
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 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 the *available* 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 [https://en.wikipedia.org/wiki/Konami_Justifier#Compatible_games "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>
+
'''Hint:''' If you ever need to change from the default code, chances are it's a '''Justifier''' game (usually code '''516'''). Here's a list of [https://en.wikipedia.org/wiki/Konami_Justifier#Compatible_games games that use this gun].
 +
 
 +
<b>TL;DR: If you see your light guns but can't shoot, try another device code from the drop-down.</b>
 +
 
 +
''(Currently there is only one 3D model for light guns, the Zapper, being used for all systems and device codes.)''
  
 
== 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" border="1"
+
{| class="wikitable table-row-hover" border="1"
 
! System !! Core
 
! System !! Core
 
|-
 
|-
 
| 3DO || Opera
 
| 3DO || Opera
 
|-
 
|-
| Arcade[[#Arcade_.2F_MAME_Games.2A|*]] || MAME (no year, just "MAME")<br> FB Alpha 2012 (Any flavor)<br>FinalBurn Neo
+
| Arcade[[#Arcade_.2F_MAME_Games.2A| *]] || MAME (Current), no year.<br>MAME 2003-Plus<br>FinalBurn Neo<br> FB Alpha 2012 (Any)
 
|-
 
|-
 
| NES || FCEUmm
 
| NES || FCEUmm
 
|-
 
|-
| PlayStation || Beetle PSX<br>Beetle PSX HW
+
| PlayStation || Beetle PSX<br>SwanStation (GunCon support only)
 
|-
 
|-
| Sega Master System || Genesis Plus GX
+
| Sega Master System || Genesis Plus GX<br>''(Use device code 260 for SMS)''
 
|-
 
|-
 
| Sega Genesis || Genesis Plus GX
 
| Sega Genesis || Genesis Plus GX
Line 42: Line 46:
 
| Sega Dreamcast || Flycast
 
| Sega Dreamcast || Flycast
 
|-
 
|-
| SNES || Snes9x (not 2010, no year, just "Snes9x")<br>bsnes (Any flavor)
+
| SNES || Snes9x (Current), no year.<br>bsnes (Any)
 
|}
 
|}
  
Line 54: Line 58:
 
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.
 +
 +
=== Changing Hands ===
 +
While using the default ''One-Handed'' mode, you can always change which hand is holding your gun at will by just ''pressing the trigger'' on the other hand while still controlling the game.
 +
 +
You can also enable [[Settings#Dual_Wielding|Dual Wielding]] mode in the settings menu to use two guns simultaneously.
  
 
=== 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.
Line 83: Line 92:
 
You can make it so that by just pointing your gun [[Settings#Point_Up_Action|Up]] or [[Settings#Point_Down_Action|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.
 
You can make it so that by just pointing your gun [[Settings#Point_Up_Action|Up]] or [[Settings#Point_Down_Action|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 [[Settings#Haptic_Feedback|haptic feedback]] (controller vibration) when you shoot, to control [[Settings#Recoil|gun recoil]], and to show only [[Settings#One-Handed|one gun at a time]] instead of dual wielding.
+
There are also settings to toggle [[Settings#Haptic_Feedback|haptic feedback]] (controller vibration) when you shoot, to control [[Settings#Recoil|gun recoil]], and to wield [[Settings#Dual Wielding|two guns at the same time.]]
  
 
=== Controls ===
 
=== Controls ===
 
+
{| class="wikitable table-row-hover" style="text-align:center;
If you're using '''Index Controllers''' or '''WMR Controllers''', the Touch buttons below will be translated like this: [[Controls#Mapped_Controls|Mapped Controls]]
+
!style="width: 150px;"|Control !! Touch !! Index !! WMR !! Vive !! Gamepad !! Keyboard / Mouse
 
+
{| class="wikitable" style="text-align:center;
+
!style="width: 150px;"|Control !! Touch !! Vive !! Gamepad !! Keyboard / Mouse
+
 
|-
 
|-
| Shoot || Trigger || Trigger || A / RT || Left Click / Space
+
| Shoot || Trigger || Trigger || Trigger || Trigger || A / RT || Left Click / Space
 
|-
 
|-
| Aux A || A / X || Trackpad [Down] || X || Z
+
| Aux A || A / X || A || Trackpad [Down] || Trackpad [Down] || X || Z
 
|-
 
|-
| Aux B || B / Y || Trackpad [Up] || B || X
+
| Aux B || B / Y || B || Trackpad [Up] || Trackpad [Up] || B || X
 
|-
 
|-
| Aux C || Analog [Up] || Menu Button || Y || A
+
| Aux C || Analog [Up] || Analog [Up] || Analog [Up] || Menu Button || Y || A
 
|-
 
|-
| Start || Analog [Right] || Trackpad [Right] || Start || Right Shift
+
| Start || Analog [Right] || Analog [Right] || Analog [Right] || Trackpad [Right] || Start || Enter
 
|-
 
|-
| Select || Analog [Left] || Trackpad [Left] || Select || Enter
+
| Select || Analog [Left] || Analog [Left] || Analog [Left] || Trackpad [Left] || Select || Right Shift
 
|-
 
|-
| D-Pad<br><i>(Dreamcast)</i> || Grip + Analog || Grip + Trackpad || D-Pad || Arrows
+
| D-Pad<br><i>(Dreamcast)</i> || Grip + Analog || Grip + Analog || Grip + Analog || Grip + Trackpad || D-Pad || Arrows
 
|-
 
|-
| Reload || Shoot off screen || Shoot off screen || LT<br><i>or Shoot off screen</i> || Left Shift<br><i>or</i> Right Click<br><i>or Shoot off screen</i>
+
| Reload || Shoot off screen || Shoot off screen || Shoot off screen || Shoot off screen || LT<br><i>or Shoot off screen</i> || Left Shift<br><i>or</i> Right Click<br><i>or Shoot off screen</i>
 
|-
 
|-
| Spin || Grip Button<br>''([[Settings#Grip_Button_Action|Configurable]])'' || Grip Button<br>''([[Settings#Grip_Button_Action|Configurable]])'' ||  ||  
+
| Spin || Grip Button<br>''([[Settings#Grip_Button_Action|Configurable]])'' || Grip Button<br>''([[Settings#Grip_Button_Action|Configurable]])'' || Grip Button<br>''([[Settings#Grip_Button_Action|Configurable]])'' || Grip Button<br>''([[Settings#Grip_Button_Action|Configurable]])'' ||  ||  
 
|-
 
|-
| Detach || Press both Analog Sticks || Press both Menu Buttons<br>(only in light gun mode, or else press both Grips) || Press both Analog Sticks || Ctrl + Space
+
| Detach from game || Press both Analog Sticks || Press both Analog Sticks || Left Trackpad [Left] + Right Trackpad [Right] || Press both Menu Buttons<br>(only in light gun mode, or else press both Grips) || Press both Analog Sticks || Ctrl + Space
 
|}
 
|}
 +
<nowiki>*</nowiki> Where it says ''Analog [Left]'', ''Analog [Right]'', ''Analog [Up]'', it means ''"Move the thumbstick / analog stick on your controller to the Left, Right, Up."''

Revision as of 17:33, 14 May 2022

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 the *available* 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.

Hint: If you ever need to change from the default code, chances are it's a Justifier game (usually code 516). Here's a list of games that use this gun.

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

(Currently there is only one 3D model for light guns, the Zapper, being used for all systems and device codes.)

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 (Current), no year.
MAME 2003-Plus
FinalBurn Neo
FB Alpha 2012 (Any)
NES FCEUmm
PlayStation Beetle PSX
SwanStation (GunCon support only)
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 (Current), no year.
bsnes (Any)

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.

Changing Hands

While using the default One-Handed mode, you can always change which hand is holding your gun at will by just pressing the trigger on the other hand while still controlling the game.

You can also enable Dual Wielding mode in the settings menu to use two guns simultaneously.

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 wield two guns at the same time.

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

* Where it says Analog [Left], Analog [Right], Analog [Up], it means "Move the thumbstick / analog stick on your controller to the Left, Right, Up."