Multiple instances, inter-process communication

Discuss everything to do with GIMX here
mrangry777
Posts: 20
Joined: Thu Jan 08, 2015 6:40 pm

Re: Multiple instances, inter-process communication

Post by mrangry777 »

Thx, for info I will try it out ASAP :)
mrangry777
Posts: 20
Joined: Thu Jan 08, 2015 6:40 pm

Re: Multiple instances, inter-process communication

Post 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?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Multiple instances, inter-process communication

Post 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.
GIMX creator
mrangry777
Posts: 20
Joined: Thu Jan 08, 2015 6:40 pm

Re: Multiple instances, inter-process communication

Post 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.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Multiple instances, inter-process communication

Post by Matlo »

Did you plug one DS4 controller for each instance?
GIMX creator
mrangry777
Posts: 20
Joined: Thu Jan 08, 2015 6:40 pm

Re: Multiple instances, inter-process communication

Post 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
mrangry777
Posts: 20
Joined: Thu Jan 08, 2015 6:40 pm

Re: Multiple instances, inter-process communication

Post by mrangry777 »

any chance of further work on the problem?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Multiple instances, inter-process communication

Post by Matlo »

Don't expect something in a near future.

Did you try with multiple GPP instances?
GIMX creator
mrangry777
Posts: 20
Joined: Thu Jan 08, 2015 6:40 pm

Re: Multiple instances, inter-process communication

Post 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:)
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Multiple instances, inter-process communication

Post 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.
GIMX creator
Post Reply