Visual Setup Guide

This page uses content or is imported from the Setup Guide abandoned Miraheze counterpart of this page. You can view the original authors of this page Setup Guide?action=history here.

== The Sinden Lightgun Wiki Has Moved ==

## Welcome

Welcome to the Sinden software Setup Visual guide. This guide aims to guide you in a step by step process to setup the Sinden software in preparation for your emulator and/or games setup.

*Please note this setup guide is for a **single** Lightgun setup.*

For **DUAL** lightgun setup **TWO** instances of the software are required to be running at once from two **INDIVIDUAL** folders.

* Running the software twice from the same folder will not work.
* If you have two guns please setup **ONE** Lightgun at a time in order to avoid any potential conflict issues.

If you have **TWO** guns with the **SAME NAME** in the Sinden software gun selection screen *(example: **Both guns are named Player-2)*** you **MUST** change the name of one gun to something different.

This is done on the 'Select Lightgun' tab of the Sinden Software. SEE HERE

**If you are unsure Please contact someone on the Discord server).**

**Top Tip**

* **Make sure you click save before switching to the next tab when in the Sinden software setup.**
* **Avoid using USB hubs (powered or not) as there are known issues and the guns might not work!**

## **Sinden software installation**

Download the Sinden software from Sindenlightgun,com/drivers

The latest stable release is recommended. Currently v1.07.

**Do not download beta releases unless you are having specific issues and a experienced community member is helping you with the troubleshooting.**

 File:Sinden Software link.png

Unzip the file to a folder of your choice on your hard drive.

Now you can connect your lightgun. Use the USB ports on your computer/laptop.

Avoid using USB hubs as there are known issues (check the USB troubleshooting section in the Configuration section below)

If you are running Windows 7, 8 or .8.1 you will need to install Drivers for the Sinden Lightgun.

The next section explains how to install the drivers for Windows 7, Windows 8 and Windows 8.1. If you are running Windows 10

skip to [Windows Settings]

You should get a sound from Windows confirming it has detected your Lightgun.

Driver installation is not required for Windows 10 so you may skip this step if you are running Windows 10.

## Driver Installation

### **Disable driver signature enforcement**

#### Windows 7

***Windows Starter Edition, Home and Home Premium do not include gpedit.msc.***

If you have a version of Windows 7 stated above please see [No group policy editor]

Currently the driver is unsigned and contained as a .inf file in the release. Here is a workaround.

Enable the ability to install unsigned device drivers in group policy. (Or run windows in Test Mode)

Hold Windows key and press R to open this run box and type gpedit.msc as below then press enter.

 File:W7 Group Policy.png
Navigate to the location in the Image below.

User Configuration >>> Administrative Templates >>> System >>> Driver Installation.

On the right panel, double click on **Code signing for device drivers**.

 File:Code signing arrowed.jpg
Change the settings to match the following image.

 File:W7 Warn arrowed.jpg
Restart your PC.

##### No group policy editor

If you do not have have group policy editor available please follow these steps.

Restart your computer. Tap F8 until you get to the screen shown below. Follow the instructions in the image.

 File:Disable driver sign enforcement.jpg
Your Computer will restart. Continue to [Driver installation Windows 7, 8 and 8.1]

#### Windows 8 or 8.1

Currently the driver is unsigned and contained as a .inf file in the release. Here is a work around that is different to the Windows 7 solution.

On your Computer, right click the Microsoft Windows **Start** button and select **Search** from the list.

Type **startup options** to start searching for programs. Click on **Change advanced startup** options as highlighted below.

 File:Search sidebar startup options.png
Click on **Restart now** under **Advanced Startup** as highlighted below.

 File:Click restart now button.png
When your computer restarts, click on **Troubleshoot** as highlighted below.

 File:Click Troubleshoot.jpg
Click on **Advanced Options**.

 File:Click Advanced Options.jpg
Click on **Startup Settings**.

 File:Click Startup Settings.jpg
Click **Restart**. Your PC will reboot.

 File:Click restart.jpg
When your PC reboots you will be greeted with a new menu before it boots into windows.

Press 7 or F7 on your keyboard to disable **driver signature enforcement**.

 File:Press key 7 or F7.jpg
Press Enter to start Windows.

### Driver Installation Windows 7, 8 and 8.1

Now that your Window system is able to install the unsigned driver. These are the following steps to install the unsigned Sinden Lightgun driver.

Navigate to **Device Manager**. Windows key+R and type devmgmt.msc in the dialog box.

You should see this.

 File:W7 update driver device manager.jpg

Right click on SindenLightgun and select **Update Driver** from the menu. Make sure **Show All Devices** is selected as shown below.

 File:Show all devices.jpg
Click on next. On the following screen. click **Have Disk** as shown in the following image.

 File:Have disk.jpg
Navigate to the folder you downloaded and extracted the Sinden software . Select the SindenLightgunWindowsDriver.inf and

click open as shown in the image below.

 File:Select driver.jpg
The Driver should install. You may wish to enable driver digital signature enforcement again now the driver is installed.

**If you are running windows 7, 8 or 8.1 skip to [Mouse Settings] after completing this step.**

## **Windows Settings**

### Camera Permissions

There are some windows settings that will need to be changed before you can start the software for the first time.

You will need to give permission for the Sinden Lightgun software to access the camera on the Lightgun.

Navigate to: **Start menu>Settings>Privacy>Camera** as shown in the images below.

 File:Privacy.jpg
 File:CameraSettings.jpg
 File:App camera access.jpg  Scroll down until you see the setting in the following image.

 File:Desktop app camera permissions.jpg
If you do not have the **Allow desktop apps to access your camera** available as an option, it may be that your version of Windows is outdated. Check for windows updates.

The **optional updates** section of windows updates may have an update related to camera so check there too.

(**Note this fix has not been tested and may not fix your issue. Please ask for help in the Sinden community discord if this does not resolve your issue)**

### Mouse settings

**If you have a mouse with adjustable DPI you may wish to lower the DPI to slow the mouse down before proceeding with this step.**

Navigate back to **settings**. Click on devices.

 File:Settings-mouse.jpg
In the following window click on **Mouse** on the left panel. Set the **Cursor speed** to maximum as shown below then click on **Additional mouse options**.

 File:Mouse settings 1.jpg
Make sure the **pointer speed** is set to the Fastest possible. Turn off **Enhanced pointer precision** if it is enabled.

 File:Mouse settings 2.jpg

Click Ok. You are done with windows settings.

## **Sinden software Configuration**

Navigate to the Sinden Lightgun software you downloaded and extracted earlier. Run Lightgun.exe

 File:Start sinden app.jpg

#### **Home**

You will be greeted with the **Home screen** on the Sinden Lightgun software . Check the box to agree to the licencing terms and conditions as shown below.

**Do not click start yet.**

 File:Home screen start.jpg

#### **Select Lightgun**

Click the **Select Lightgun** tab at the top of the software.

Follow the steps in the following image as shown in order. You will need to update the Lightgun firmware if it is V1.4 or earlier.

This process is shown in the image. V1.5 is the current recommended version.

 File:Select lightgun check firmware and update.jpg
You may need to select the Lightgun again after updating the Firmware.

Once your Lightgun is selected and you have updated the firmware (if applicable) click the **Cursor Offset** tab.

#### **Cursor Offset**

Set your screen size as shown below.

 File:Cursor Offset tab.jpg
If you are running multiple monitors, please see the [Multiple monitors guide]

Once this is done Click **save settings**. Click on the **Configuration** tab.

#### **Configuration**

Before you do anything here it is time to check your screen settings.

If you are using a TV please turn off **ECO mode** if it is enabled. Turn any **automatic ambient light sensors** and **automatic backlight settings** off. This will cause issues if they are enabled.

You may need to adjust your TV's brightness which will be detailed in the border enabled section.

Disable **sleep mode** as it is currently known to potentially cause issues, as shown in the image below and confirm your video preview windows are active. If they are not check the

**show raw video**, **show processed video** and **show rectangle** options below the video preview windows.

Click **Start** in the top right of the software.

You should be **2x the screen width you are using away from the screen** when using the gun, including this setup section.

**At this point it would be a good idea to keep in mind that any light sources pointing or reflecting into the Lightgun camera may cause it to think that it is seeing your screen and**

**could move the** **mouse cursor. When selecting options and changing tabs point the gun at the floor or cover to the camera so you can use the mouse without interference.**

Your video preview windows should look as below when you point the Lightgun at the screen.

 File:Config camera preview no border.jpg
If your video previews are **flickering** and/or **glitching** with or without **weird colours** this is likely caused by a USB issue.

Unplug it and try plugging into a **different USB port**. It may take a while to find a USB port that works.

If you have a **rolling black bar** on the preview window you will need to change the **exposure setting** in the camera controls section on the bottom left.

If you still have issues with this please ask for help on the Sinden Lightgun community Discord server.

*Please note the Sinden Lightgun is extremely sensitive to light. Any ambient light sources, strong lights in your room and/or white/shiny/reflective paint on your walls could*

*cause issues. Trial and error with camera settings, border thickness and using an outer border in the **Border** tab can help deal with this. Trial and error will be required to find a setup*

*that works for your environment.*

Once your video preview windows look as above you should next **enable the border**. This is done by pressing the button on the right side of the Lightgun closest to the trigger.

Your video preview windows will now change and should look as below.

 File:Config camera preview with border.jpg
If you have issues as described above at this stage try the steps mentioned in the image and as detailed above.

In the raw video preview window if the border looks grey and not white and your Lightgun is having issues seeing the border you need to increase your **screen brightness**.

If you reach max brightness on your screen and the border is still grey and the camera is not tracking correctly and your cursor is VERY jittery change the settings in the camera

controls area in the top left to: contrast 60, brightness 120.

There will be a little bit of jitter from your hands not holding perfectly steady. This is normal. If there is still a lot of jitter switch to the **Border** tab and enable the outer border as detailed

below in the border section. You may be able to disable the outer border once your camera and screen settings are dialled in correctly.

You can do some trial and error with the camera and border settings to see what works for your environment. Please keep an eye on the **Camera** **fps** below the raw view preview.

If it drops below 45 you may find the gun tracking feels sluggish in games. 50+ fps is recommend. It is common to jump between 48-50fps and this is fine. If it is higher all the better.

My border settings from the **border tab** and an explanation of the settings are in the following image below.

**My settings may not work for you depending on your lighting and environment. Trial and error may be needed.**

 File:Border tab5.jpg
Once you are happy with the tracking move to the **Alignment** tab.

#### **Alignment**

The alignment tab is used to align your mouse with the sights of your Lightgun. Aim at the screen looking down the Lightgun sights.

If the cursor lines up with the sights perfectly you can skip this step, otherwise proceed with the following.

Follow the instructions in the following image.

 File:Alignment Tab.jpg
When you are happy with the alignment click **save alignment changes**.

Go back to the **configuration** tab and click Burn to Lightgun.

The Sinden Lightgun software default settings will read the alignment changes from the Lightgun on startup, so we need to save the settings directly onto the Lightgun. This will also

allow you to take the Lightgun to other computers and keep this setting correct.

 File:Burn to lightgun.jpg
**This completes the basic setup of your Sinden Lightgun software. You may wish to look at the extra** **steps below to customise some extra**

**settings. Especially if you have the recoil version.**

#### **Recoil Settings**

If you have a recoil unit you may wish to enable the recoil and adjust the settings. Go to the R**ecoil** tab to do this.

 File:Recoil tab.jpg

#### **Button Assignments**

In the **Button Assignments** tab you can change what the buttons on the side and the pump action of the Lightgun are assigned to as mouse and keyboard inputs. Changing these settings

can help if you have custom keybinds in your emulator setup or need different buttons for your needs. My personal setup is posted below.

 File:Button Assignments tab.jpg
Thanks for following the Sinden Lightgun Visual setup guide. Enjoy your new Lightgun!