Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.11

Questions about Wine on macOS.
Locked
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.11

Post by darklord »

Hi I realize joystick support is not quite there, but I was wondering if someone had any advice for this. Thing is the joystick calibration goes to the wine controller window which detects the joystick just fine. but as soon as I try to enter in game the game gets an error that no joystick is detected. this is for all versions, 1.0-2.0 (BoP) My joystick is a Logitech 3d extream pro, and does work in some other games in mac wine, e.g. Wing Commander Prophecy.

I have tried using the native dinput.dll to no avail as with switching between x11 and mac drivers.
the wine log leaves no errors regarding direct input.

Code: Select all

Jan 21 16:23:21 My-MacBook-Pro.local X-Wing vs. Tie Fighter664127741Wine[46753] <Error>: The function `CGContextErase' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
fixme:win:EnumDisplayDevicesW ((null),0,0x33f534,0x00000000), stub!
Jan 21 16:23:27 Joshuas-MacBook-Pro.local X-Wing vs. Tie Fighter664127741Wine[46787] <Error>: The function `CGContextErase' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
fixme:coreaudio:get_channel_mask Unknown speaker configuration: 16
fixme:coreaudio:get_channel_mask Unknown speaker configuration: 16
fixme:cdrom:CDROM_StopAudio not supported on this O/S
fixme:ntdll:server_ioctl_file Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
fixme:cdrom:CDROM_StopAudio not supported on this O/S
fixme:ntdll:server_ioctl_file Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
fixme:ddraw:ddraw7_FlipToGDISurface iface 0x14c4c8 stub!
fixme:cdrom:CDROM_StopAudio not supported on this O/S
fixme:ntdll:server_ioctl_file Unsupported ioctl 24008 (device=2 access=1 func=2 method=0)
fixme:ddraw:ddraw7_FlipToGDISurface iface 0x14c4c8 stub!
X-Wing vs. Tie Fighter664127741Wine(46771,0x401f9000) malloc: *** error for object 0x3003e8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Correction, turns out this doesn't work in linux either, with any game in the xwing collectors series. So this thread should probably be moved. I don't get it, Wine Control finds the joystick just fine. Any ideas on what I can do for either linux or osx.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

does no one have a copy of either xing95, tie95 or xvt they could try this out on either mac or linux?
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Is there some more sort of information I can give to get to the bottom of this? Why this is being completely ignored is a little beyond me, as joysticks are a basic part of wine functionality. Is anyone other then me willing to ask questions? I simply don't have the know how to get to to the bottom of the intricacies and quirks of wine. But I'm pretty sure this isn't the only game effected by, in my experience, lackluster joystick support. Again this is not just about the mac version, as I got the same results off of a clean install on Ubuntu Linux, same version of wine.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Now that Xwing and Tie fighter are both released on GoG, can someone please look into this? Again, wine detects the joystick, but the game doesn't.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Someone described the problem succinctly:

https://www.codeweavers.com/compatibili ... ;msg=93593
I've had a deeper look
at it - it's seemingly application dependent ; Mac HID input does
work 'correctly' in some many games ; not at all in others. It depends
on whether the win32 app is trying to access the hardware device
itself, or else gets it's data via x_input instead (I think?). If
that's the case, is more of an 'as yet unimplemented feature' one
supposes...not really a bug...you can work around it by remapping
inputs with 'usb overdrive' or such, but it's not a 'real' fix.
Seeing as the game will not launch unless the OS (wine) relays the joystick connection, the workaround is not applicable here.

Can someone PLEASE look into this.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Oh good lord... It's been over a year since I posted this topic. 2500 views, so there is clearly some interest in this subject, but no one but me can say anything?!?

Look, I understand things take time. Everyone is busy with their own projects. I get it, it's completely understandable. What isn't understandable is in over a year no one can take 3 seconds to say, "Hi". And not one dev can explain to me why this shouldn't be working. A simple "I don't know" should suffice. At least its a start to finding a solution where others can benefit. Ignoring questions is of no benefit to anyone.

Completely unacceptable
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by olivierfrdierick »

You should fix that arrogance issue first.
Demanding attention and ranting because you get none is of no benefit to anyone either.
While you calm down and think about patience and humility you may want to read and subscribe to that bug report:
WineHQ Bugzilla - Bug 18424 - Mac OS X Joystick support doesn't work
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Well I thank-you for responding non the less. And thank-you for posting a link. For the record I hit the same issue while in linux Ubuntu.

But arrogance is on you. If this were paid software I'd expect a response within the hour. Non paid, a whole year is more then enough time before saying. Hey Something is Wrong Here! Would you have posted anything if nothing was said? Look all around this forum. On the first page alone I count 23 threads without responses. Whatever resembles government around here needs to get together and say, "hey we need take the time to fix this." It's a problem, more so then then my joystick issue.
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by olivierfrdierick »

Oh, I see what's wrong: You think it is some kind of helpdesk. It is not! This is an open user forum. This means that it is users that reply to other users, on free will. You cannot blame anyone for not getting a reply to your thread, like nobody can blame you for not getting a reply to his thread.
For the record I hit the same issue while in linux Ubuntu.
Then it may be something else.
I don't have a Mac and I don't have XWing Collector series to test, but I used to play XWing Alliance with a joystick in Ubuntu years ago.
I had 3 input devices: /dev/input/js0 to js2.
The game only saw /dev/input/js0, joystick was /dev/input/js2.
I had to switch /dev/input/js0 and /dev/input/js2.

I don't know if Mac uses /dev/input, but it might be worth to check.

Code: Select all

$ ls -l /dev/input/js*
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Well I suppose I was confused by the forum being called "Wine Help" But if no wine devs ever look at this forum, that is a bit of a misnomer.

No OSX handles it differently.
Hmm it's possible both OS's failed for entirely two different reasons. That's a good thought for the linux side of things. I'll be sure to give it a shot.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Is winmm even implemented for osx yet? There are many ancient sources saying no. That would indeed be a problem.
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

I guess not!
http://wine.1045685.n5.nabble.com/Bug-1 ... 50i80.html
I'll be sure to give Ken's Patches a try!
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by olivierfrdierick »

His patch has already been accepted in Wine. It is in current git, and will be in next release (1.7.39).
darklord
Level 2
Level 2
Posts: 25
Joined: Sun Dec 08, 2013 11:10 pm

Re: Joystick not detected, "Xwing vs Tie-Fighter" Wine 1.7.1

Post by darklord »

Yup! And they work beautifully! Joystick now works great in XvT games and XWA.
Locked