#GitHub - WilliamVenner/gmcl_rekinect: Ki...

1 messages · Page 1 of 1 (latest)

lethal oriole
#

360 kinect works great, xb1 kinect isn't picked up

dusky shale
lethal oriole
dusky shale
#

Think u forgot to install the other DLLs

lethal oriole
#

pretty sure i used the xb1 last but if not i can go test it again to grab a proper one

dusky shale
#

Hm are u using rekinector?

lethal oriole
#

ye

#

used the win64 version on the 64 bit branch

#

32 didn't work

dusky shale
#

@lethal oriole

lethal oriole
#

👌

#

no difference sadly

dusky shale
#

Ah ok sorry the problem wasn’t missing libraries. It thinks there’s no Kinect connected

lethal oriole
#

odd

#

kinect studio sees it at least

dusky shale
#

annoying

#
HRESULT WinSdkKinectV2::InitializeDefaultSensor()
{
    HRESULT hr = GetDefaultKinectSensor(&m_pKinectSensor);
    if (FAILED(hr))
    {
        return hr;
    }

    if (m_pKinectSensor)
    {
        // Initialize the Kinect and get coordinate mapper and the body reader
        IBodyFrameSource *pBodyFrameSource = NULL;

        BOOLEAN available = FALSE;
        hr = m_pKinectSensor->get_IsAvailable(&available);

        if (SUCCEEDED(hr) && !available)
        {
            hr = E_FAIL;
        }

        if (SUCCEEDED(hr))
        {
            hr = m_pKinectSensor->Open();
        }

        if (SUCCEEDED(hr))
        {
            hr = m_pKinectSensor->get_CoordinateMapper(&m_pCoordinateMapper);
        }

        if (SUCCEEDED(hr))
        {
            hr = m_pKinectSensor->get_BodyFrameSource(&pBodyFrameSource);
        }

        if (SUCCEEDED(hr))
        {
            hr = pBodyFrameSource->OpenReader(&m_pBodyFrameReader);
        }

        SafeRelease(pBodyFrameSource);
    }

    if (!m_pKinectSensor)
    {
        return E_FAIL;
    }

    return hr;
}
#

i dont see anything wrong with this heh

#

idk why they seemingly dont have any emulation tools

#

i dont really wanna spend £50 on an xbox one kinect for this :V

#

it returns E_FAIL for you apparently

#

hhhhh what if maybe get_IsAvailable has to be called after m_pKinectSensor->Open()

lethal oriole
#

at the very least it does something different

#

that difference is crashing on map load

dusky shale
#

thats a good sign!

#

thats one issue fixed. i suppose :-)

#

can u check if theres a panic log in the same place as the other log file?

lethal oriole
#

that's everything in there

dusky shale
#

that log file should be different :S

#

we're in the same timezone are u british?

lethal oriole
#

ye

dusky shale
#

if u dont mind sending me your deeply personal information we could employ royal mail to arrange a borrowing of an xbox one kinect so i can fix this
i dont mind paying for the shipping x

lethal oriole
#

i was about to say i actually have a spare xb1 kinect and adapter lmao

#

mocap is a lot better with 2 of them

dusky shale
#

awesome, i would ship it back to you once it's fixed of course

lethal oriole
#

yeah solid

dusky shale
#

add me brother

lethal oriole
#

👌