berarma / ffbtools

Set of tools for FFB testing and debugging on GNU/Linux
GNU General Public License v3.0
61 stars 10 forks source link

"ffbtools-master/bin/ffbwrap: invalid option -- 'n'" #16

Closed GreatBigWhiteWorld closed 4 years ago

GreatBigWhiteWorld commented 4 years ago

Hello, when I run Dirt rally 2.0 (proton 4.11) with the launch option as follows: ffbtools-master/bin/ffbwrap --update-fix /dev/input/by-id/usb-Logitech_G29_Driving_Force_Racing_Wheel-event-joystick %command%

The game closes itself upon launching, with errors shown in console as follows:

-path-/ffbtools-master/bin/ffbwrap: invalid option -- 'n' -path-/ffbtools-master/bin/ffbwrap: invalid option -- 'o' -path-/ffbtools-master/bin/ffbwrap: invalid option -- 'v' -path-/ffbtools-master/bin/ffbwrap: invalid option -- 'r'

OS: opensuse 15.1. The complilation of the tool went through fine. OK OK need "--" before %command%

GreatBigWhiteWorld commented 4 years ago

I think you must put "-- %command%" instead "%command%"

Exactly. I find it myself in the last minute. Finally the wheel is working great!! Yeeee!

GreatBigWhiteWorld commented 4 years ago

Question, what if I need to use "gamemoderun %command%"? Where do I put "gamemoderun"?

leillo1975 commented 4 years ago

I think you must put "-- %command%" instead "%command%"

Exactly. I find it myself in the last minute. Finally the wheel is working great!! Yeeee!

I deleted the message because I see that you fixed the problem. About your last question, I'm also interested.

berarma commented 4 years ago

Question, what if I need to use "gamemoderun %command%"? Where do I put "gamemoderun"?

Then you should use:

ffbtools-master/bin/ffbwrap --update-fix /dev/input/by-id/usb-Logitech_G29_Driving_Force_Racing_Wheel-event-joystick -- gamemoderun %command%