Jamestown
Linux/Wine and XBox wired controller
Weird thing is that the game starts with 2 players, always. My single XBox 360 controller plays 1 & 2 players simultaneously.

Anyone else seen this? Is there a workaround?

Thanks,

Bill
< >
Showing 1-9 of 9 comments
Same thing here with a similar scenario. Linux Mint 16 with Wine 1.7.8.
Does anyone have a workaround ?
Do you get the same thing with the native (non-Steam) Linux version (e.g. from Humble store) ?
No I had no problems with the native version.
Thanks for the response. Hopefully they can put the native version up.
Hey guys, I know what's the problem you are experiencing.
https://www.playonlinux.com/en/issue-4198.html

When you enter the control section of Wine, you can disable either (js) or (event) of your controller. When both are active, Jamestown and other games recognize two controllers plugged.
It took me a while to solve this problem and I hope it helps you!
I still got a problem with button mapping. I could never manage to make it work properly.
I've read so many topics but still can't figure it out how to tweak the button mapping on Wine.
I have 2 wireless xbox controllers and 2 PS2 wired generic joysticks.
I have to use x360ce to make my controllers work but some games don't work with it, so... if anyone can help me with that, I'd appreciate it.
Originally posted by josekiller:
I still got a problem with button mapping. I could never manage to make it work properly.
I've read so many topics but still can't figure it out how to tweak the button mapping on Wine.
I have 2 wireless xbox controllers and 2 PS2 wired generic joysticks.
I have to use x360ce to make my controllers work but some games don't work with it, so... if anyone can help me with that, I'd appreciate it.

Assuming you are using xbox360cemu with xboxdrv to use your controller in wine

Edit xbox360cemu.ini
Under [PAD2] change Index=0,2 (whatever it is) to
Index=-1

If you do this and you can't get your controller working at all..

-THESE EXACT FILE NAMES AND WHAT THEY ARE ASSOCIATED WITH ARE SPECIFIC TO YOUR SYSTEM and COULD BE DIFFERENT-

You need to go to /dev/input AS ROOT

and DELETE js0, (maybe js1.. etc)

then DELETE the SAME NUMBER of event(0..) files as js(0..) files starting from the HIGHEST number DOWN. (event17, event16, ...)
So if you deleted js0, js1, and js2.. you'd delete event27, event26 and event25 assuming your highest event file was event27

There is a corresponding event file for every js file. Mine just happens to work out easily like this, your setup can be VERY different.

RUN xboxdrv

then RENAME the new js file it creates (js1, js2, ...js99, it will be the highest number*) to js0

*unless you do something to create a new file between RUNNING xboxdrv and RENAMING

DO IT EVEN IF IT ALREADY SAYS its "running at js0".. because if you check the folder (/dev/input/) you will see its not.. for some reason.


I'm guessing this is like plugging your controller into the first 'port' instead of the fourth on a console, but that's what I had to do to get mine working.

Assuming you are using xbox360cemu with xboxdrv to use your controller in wine

Edit xbox360cemu.ini
Under [PAD2] change Index=0,2 (whatever it is) to
Index=-1

If you do this and you can't get your controller working at all..

-THESE EXACT FILE NAMES AND WHAT THEY ARE ASSOCIATED WITH ARE SPECIFIC TO YOUR SYSTEM and COULD BE DIFFERENT-

You need to go to /dev/input AS ROOT
and DELETE js0, (maybe js1.. etc)
RUN xboxdrv
then RENAME the new js file it creates (js1, js2, ...js99, it will be the highest number*) to js0

Yes, EVEN THOUGH IT SAYS its "running at js0".. because if you check the folder (/dev/input/) you'll see its not.. for some reason.


*unless you do something to create a new file between RUNNING xboxdrv and RENAMING


I'm guessing this is like plugging your controller into the first 'port' instead of the fourth on a console, but that's what I had to do to get mine working.

Thanks for replying = )
Thank you for your willing to help. I understood what you showed me. With my PS2 controllers I bond actions with event, so it produces another js. I have to del js0 and js1 and move js2 and js3 created by xboxdrv. My xbox 360 work fine with xboxdrv (--detach-kernel-driver).

xboxdrv + x360ce works for many games. Castle Crashers recognize my controllers but the mapping is all wrong (x is a, b is y, LB is start, etc...). I don't have the tiniest idea how to tweak mapping of controllers on wine without x360ce.
I end up using x360ce and the problem is solved.

but there are some games that don't have support from x360ce like Polarity.
Polarity does not recognize my controllers at all.

It's a great number of variables that I don't find explanation, like: what libs should I install? dinput? dinput8? xinput? which of them should I use as native? as built-in?
what values should I put on registry of joystick? How can I change button mapping of controllers on wine?

OMG it's so hard to configure joysticks on wine haha
I wish someone with master knowledge in it created a topic explaining everything but I don't see much help online.
I like coop games with 1-3 friends so I have to find a way to make 4 controllers work.
"but there are some games that don't have support from x360ce like Polarity.
Polarity does not recognize my controllers at all.

It's a great number of variables that I don't find explanation, like: what libs should I install? dinput? dinput8? xinput? which of them should I use as native? as built-in?
what values should I put on registry of joystick? How can I change button mapping of controllers on wine?"

Sorry, I didn't help at all lol. I think I didn't even read your post... I probably meant to quote the other guy and was in a hurry.
Hopefully a lot of the work has been done already and it does not have to go that deep.
Do the testing and let us know!!!!
< >
Showing 1-9 of 9 comments
Per page: 1530 50