nukeykt / NBlood

Reverse-engineered ports of Build games using EDuke32 engine technology and development principles (NBlood/Rednukem/PCExhumed)
613 stars 78 forks source link

Gamepad support under Linux broken #483

Open skynettx opened 3 years ago

skynettx commented 3 years ago

Hi,

on Arch Linux 64 bit rednukem don't start after options window when ps3 gamepad is connected to usb port. Pcexhumed starts but ps3 gamepad is without functionality.

I had the same problem as with rednukem with eduke32 but the joystick branch fixed this. Rednukem recognizes the gamepad in logfile.

Extract from rednukem.log

Game controllers:

  1. PS3 Controller Using controller PS3 Controller

The same entry is also in the pcexhumed.log. I had compiled the current NBlood master branch.

Is this a known bug with NBlood?

CommonLoon102 commented 3 years ago

Hi,

What joystick branch are you referring to? NBlood doesn't have controller support.

skynettx commented 3 years ago

I mean this branch: https://voidpoint.io/sirlemonhead/eduke32/-/tree/joystick Okay thanks for your answer.

Jan200101 commented 3 years ago

I mean this branch: https://voidpoint.io/sirlemonhead/eduke32/-/tree/joystick

the joystick branch for eduke32 has since been merged into master. NBlood, exhumed, etc. have no or very basic gamepad support

skynettx commented 3 years ago

I have tested the rednukem-gamepad branch with Redneck Rampage and Redneck Rampage: Rides Again and gamepad support works great with this 2 games.

sirlemonhead commented 3 years ago

Thanks for testing it! Can you check if anything is missing at all? especially in the menu settings for the controller?

Is the auto-aim working?

skynettx commented 3 years ago

Aim Assist is turned off in the controller setup menu and cannot be activated either. Otherwise i played both games for an hour each and i didn't notice any problems.

skynettx commented 3 years ago

In Redneck Rampage: Rides Again second chapter Homeward Bound level 1 the boat controls are not fully functional. The forward and backward controls doesn't work with gamepad. Steer to the left, right and shoot is working with gamepad.

sirlemonhead commented 3 years ago

Would you mind testing again with the latest branch updates? the boat and motorcycle should be working now. Not sure if anything else broke from this change as I'm a bit unfamiliar with the Redneck Rampage games so your testing would be really helpful :) thanks!

skynettx commented 3 years ago

Vehicle controls works fine now in Redneck Rampage: Rides Again. In Redneck Rampage i noticed the crowbar is not selectable with controller (On keyboard key = 1), this works in Rides Again.

skynettx commented 3 years ago

I have tested Duke Nukem 64, it also works well with controller.