Page 3 of 4

Re: Multiple instances, inter-process communication

Posted: Tue Jan 20, 2015 6:30 pm
by mrangry777
Thx, for info I will try it out ASAP :)

Re: Multiple instances, inter-process communication

Posted: Thu Jan 22, 2015 3:47 pm
by mrangry777
I have a small issue concerning the network API. You wrote that byte[1] should have value of 124. When i try it out I get

Code: Select all

adapter_network_read: wrong packet size
I did some diggin' around and found out that this value should actually be set to

Code: Select all

sizeof(adapter->axis)
So depending on adapter used it will change. Could you clarify this for me? And give me all possible values? Or is just a constant?

Re: Multiple instances, inter-process communication

Posted: Thu Jan 22, 2015 4:35 pm
by Matlo
You are right, the value is wrong.

For the official 3.5 version, byte[1] has to be 120.
For the test version, byte[1] has to be 128.

I'll clarify this on the wiki.

Re: Multiple instances, inter-process communication

Posted: Fri Jan 23, 2015 6:00 pm
by mrangry777
I tried out WinUSB drivers. The workaround you described does not work. The second instance fails to lunch with:

Code: Select all

libusb_open: other error
Both DYI work if lunched separately.

Re: Multiple instances, inter-process communication

Posted: Fri Jan 23, 2015 6:02 pm
by Matlo
Did you plug one DS4 controller for each instance?

Re: Multiple instances, inter-process communication

Posted: Fri Jan 23, 2015 7:37 pm
by mrangry777
Of course, and I can confirm they are both up because:
1) The workaround I described earlier still works (but only using libusbK using WinUSB same error)
2) In zadig I see two DS4 controllers

Re: Multiple instances, inter-process communication

Posted: Sun Feb 08, 2015 8:14 am
by mrangry777
any chance of further work on the problem?

Re: Multiple instances, inter-process communication

Posted: Sun Feb 08, 2015 7:21 pm
by Matlo
Don't expect something in a near future.

Did you try with multiple GPP instances?

Re: Multiple instances, inter-process communication

Posted: Thu Feb 19, 2015 6:12 pm
by mrangry777
Hi,
Sorry for a late response but I was on holidays for a while. I made some preliminary testing and it looks ok :) One thing though I use gimx from command line and the value for --port is a bit long ;) plus I dunno if it does or does not change through system restarts. I will do so more testing during this weekend.

P.S Could you start a fund raising for features related with this thread? I would like to chip in as a thank you for all your hard work:)

Re: Multiple instances, inter-process communication

Posted: Thu Feb 19, 2015 7:50 pm
by Matlo
Hi,
Microsoft is responsible for the length of the device name ;)
Hopefully it should not change between reboots.
I added a donate button in my signature.