Skip to content
Gildas edited this page Sep 19, 2022 · 4 revisions

Installing the PS3Eye

  • ShootOFF will not recognize the PS3Eye properly until the Code Laboratories (CL) CLEye drivers are uninstalled. Please use the Control Panel in Windows to uninstall the CL drivers and then follow these instructions. You will know if you still have the CL drivers installed if you try to configure the camera (by right clicking on the feed) and you can't move any of the adjustment sliders.

  • You will need to install the Visual Studio 2015 Visual C++ runtime libraries from here:

https://www.microsoft.com/en-us/download/details.aspx?id=48145

Choose the version for your OS. In Windows, you can check your computer's OS version by going to the properties in My Computer. Get the x64 file for 64 bit Windows.

  • Follow the instructions to install the proper PS3Eye USB driver from this link (use WinUSB NOT libusb-win32):

https://github.com/cboulay/psmove-ue4/wiki/Windows-PSEye-Setup

  • You will need a program called Zadig to help install the usb driver:

http://zadig.akeo.ie/downloads/zadig_2.2.exe

Missing from the Zadig instructions is to click on the Options menu and click "List All Devices" so that you can see the PS3Eye camera in the first place.

  • Download SDL2.dll and ps3eye_sdl.exe found at:

https://github.com/cboulay/psmove-ue4/tree/master/Binaries/Win64

  • Run ps3eye_sdl.exe and test your setup.

  • Start ShootOFF and it should see the PS3Eye.

You can right click on the feed to bring up the configure camera menu and adjust the gain and exposure. You can also toggle "auto gain" on and off and see the current FPS there.

Troubleshooting the PS3Eye:

  • Windows has a habit of changing USB drivers whenever it wants. Because of this, you may have to go through the steps to re-install the USB driver using Zadig without any warnings other than your camera stopped working.
  • Make sure eyeCam32.dll and eyeCam64.dll are in the ShootOFF root folder (where ShootOFF.jar resides).
  • Try unplugging and re-plugging in the PS3Eye from the USB port and running ShootOFF again.
  • Make sure the Visual Studio 2015 Visual C++ runtime is installed.

If you need to see the details of the PS3Eye driver initialization from ShootOFF you can follow these steps:

  • If a text editor is not assigned to open xml files, then you will have to associate that file extension with notepad.
    -- First, create an empty folder and double click on that folder.
    -- Then right click inside that open folder and create a new text file by going to New->Text Document.
    -- Next, name that file newXML.xml by right clicking on the file name New Text Document.txt and selecting Rename. You have to delete the whole name (including the .txt part) before you start typing in newXML.xml Windows will warn you about changing file name extensions, click on YES.
    -- Right click on newXML.xml and go to Properties (at the very bottom). In the window that pops up, click on the "change" button and then click on notepad.exe.

  • Once you can edit xml files, download and install a zip program called 7Zip that allows you to look inside Java JAR files from here:

http://www.7-zip.org/download.html (get the right type 32 or 64 bit for your Windows OS)

  • Once 7Zip is installed, open 7Zip and navigate to the where you installed ShootOFF. Find the ShootOFF.jar file and double click it to open it up and see what it contains. There should be a file called logback.xml. Double click it to open it. There are two lines to edit inside logback.xml. Change where ever it says to (there are two places where it says that).

  • Once the changes are made inside notepad, click File->Save and then exit. Once you exit, 7Zip will ask if you want to update logback.xml in the archive, choose OK.

  • Now run shootoff from the command line and you will see the trace messages to see if the drivers were found and are being used by ShootOFF.

  • To run from the command line, click the windows start button and type CMD. From the dark window with the prompt, change folders by using the "cd" command until you get to the folder where ShootOFF is installed. For example, if my command prompt started at the users\Tim folder and my ShootOFF folder was in my 3.9Final folder on my desktop, I would type the commands like this: C:\Users\Tim>cd Desktop C:\Users\Tim\Desktop>cd 3.9Final C:\Users\Tim\Desktop\3.9Final>java -jar ShootOFF.jar

  • Lastly, type java -jar ShootOFF.jar to see the trace messages used to help debug ShootOFF problems.

  • Don't forget to go back and change the trace back to warn in logback.xml inside ShootOFF.jar when you are done troubleshooting.