Problem with Kinect taking screenshot

Discussion in 'Computer Games and General Discussion' started by Delta517, Jan 11, 2011.

Jan 11, 2011
  1. Delta517
    OP

    Member Delta517 Its okay...Im a ninja ;)

    Joined:
    Nov 25, 2008
    Messages:
    1,327
    Country:
    Norway
    So what I'm trying to do is this, but I cant even get the Kinect to take a screenshot! [​IMG]
    I have installed the drivers for Kinect, Python 2.6 and PIL for it. When I try to start the getSnapshot scrip this is what I get back:

    CODETraceback (most recent call last):
    ÂÂFile "C:\Users\Atle\Desktop\Minecraft Kinect Hack\getSnapshot.py", line 40, in
    ÂÂÂÂkinect = ctypes.cdll.CLNUIDevice
    ÂÂFile "C:\Python26\lib\ctypes\__init__.py", line 423, in __getattr__
    ÂÂÂÂdll = self._dlltype(name)
    ÂÂFile "C:\Python26\lib\ctypes\__init__.py", line 353, in __init__
    ÂÂÂÂself._handle = _dlopen(self._name, mode)
    WindowsError: [Error 126] The specified module could not be found

    Anybody have a clue? [​IMG]

    Here's the getSnapshot script btw:

    Warning: Spoilers inside!
     
  2. Delta517
    OP

    Member Delta517 Its okay...Im a ninja ;)

    Joined:
    Nov 25, 2008
    Messages:
    1,327
    Country:
    Norway
    Nobody knows? [​IMG]
     
  3. Revrick

    Newcomer Revrick Newbie

    Joined:
    Jan 12, 2011
    Messages:
    2
    Country:
    United States
    Put the CLNUIDevice.dll file in the same directory as the script.

    -Nate
     
  4. Delta517
    OP

    Member Delta517 Its okay...Im a ninja ;)

    Joined:
    Nov 25, 2008
    Messages:
    1,327
    Country:
    Norway
    I found the file in "C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Bin", but when I try to run the script now, I get this:

    Warning: Spoilers inside!

    ???
     
  5. Delta517
    OP

    Member Delta517 Its okay...Im a ninja ;)

    Joined:
    Nov 25, 2008
    Messages:
    1,327
    Country:
    Norway
    So I tried again, but now I'm getting this crap [​IMG]
    Please help me? Is there no one here that has ever tried to take a picture with it before? [​IMG]
     
  6. Revrick

    Newcomer Revrick Newbie

    Joined:
    Jan 12, 2011
    Messages:
    2
    Country:
    United States
    From the error message it looks like it is finding the .dll, but isn't able to find a function that is in their specs detailed at http://codelaboratories.com/forums/viewthread/442/

    Is there any chance you installed an older version of their library? I don't believe that function existed in their November release.

    For whatever reason the hacked kinect .dlls aren't working properly on your machine. To optimize your chances, completely remove what you have currently.. Download and install the 1210 verion of the NUI drivers.. move the CLNUIDevice.dll into the current script directory and/or the system32 directory, and give it another go.

    Hopefully you can actually get past the driver install issues and actually get to the script. I have it working on multiple win7 machines and havn't had any of these issues, i wonder what else could be causing them.

    -Nate

     

Share This Page