FFB plugin (v2.5.4 - 20.12.2017) [Linux]

User avatar
50keda
SCS Software
Posts: 2231
Joined: 07 Dec 2012 11:59

FFB plugin (v2.5.4 - 20.12.2017) [Linux]

#1 Post by 50keda » 18 Dec 2017 00:01

Hello all,

for a long time now I've been wanting to have some FFB in Linux versions of game. Thus I kindly asked Supric for it's source code of famous FFB plugin and started working.
Today I am finally happy with the result and features that Linux counter part has, so release is finally here!

However to clarify, this is still "only" a port of Supric FFB plugin but also includes some "sugars" from me (for any info on original plugin check this page: viewforum.php?f=109).

My additional features:
1. Support for "any" steering wheel. Linux port should work with steering wheel of any brand as long as it's linux driver supports constant force application.
2. Usage of first green LED light as blinker indicator. By default this is switched on, you can switch it off by setting "use_for_blinker" property in "real_ffb.ini" to 0.
3. Standalone Button Finder application (found inside "button_finder" directory, just double-click "run_button_finder.sh" and select "Run in terminal"). This application serves as getter of button codes. I'ts needed if you want to use feature of changing LED modes during the gameplay.

Code: Select all

System Requirements
===========================

1) Euro Truck Simulator 2 v 1.17 or higher, American Truck Simulator v 1.0.0 or higher.
2) 64-bit version of the game


Installation
===========================

Download archive and extract all files and folders.
Put *.so & *.ini files into the folder: "..\Euro Truck Simulator 2\bin\linux_x64\plugins\".

If “plugins” folder doesn’t exists – just create it there. If plugin located correctly – you will see info game 
message about third-party applications. In the game.log.txt you’ll see information about plugin initialization.


Settings
===========================

Plugin can be tweaked with settings stored in "real_ffb.ini" file. For more information download original 
plugin & take a look at Readme_eng_2.5.rtf saved in downloaded archive. All settings are properly described 
there.

Additionally this package is also providing "button_finder" application which can help you find button code
for real time LED mode switching. To get it working just double click "run_button_finder.sh" and choose
"Run In Terminal". After that program will start and will give you further instructions.


Logitech LEDs not working, what now?
===========================

We can get this fixed, no worries! Just double click on script "run_persm_rules_fix.sh" found inside "leds_permission_fix" and choose Run in Terminal. Then type in your computer password and that's it!
Script will tell you what has been done and then kindly ask you to press a key to finish.


Credits
===========================

Supric - for original plugin: https://forum.scssoft.com/viewtopic.php?f=109&t=49772
50keda - for Linux port
DOWNLOAD v2.5.4

DOWNLOAD v2.5.3

DOWNLOAD v2.5.2

Enjoy,
50k
Last edited by 50keda on 20 Dec 2017 20:30, edited 3 times in total.

Stuferus
Posts: 235
Joined: 22 Dec 2012 00:37
Location: Germany

Re: FFB plugin (v2.5.2 - 18.12.2017) [Linux]

#2 Post by Stuferus » 18 Dec 2017 12:43

thank you very much.. now i finally can play ets2 in linux if i get my g27 to work on my slackware :D
Image

User avatar
donfede
Posts: 29
Joined: 03 Feb 2017 03:55
Contact:

Re: FFB plugin (v2.5.2 - 18.12.2017) [Linux]

#3 Post by donfede » 19 Dec 2017 03:54

Many thanks to your (50keda) and Supric's efforts with this mod.

Positive report from my debian old-stable (8.9) OS, with a G27. I typically avoid windows, so I've never experienced that version of FFB, and frankly have gotten pretty used to the wheel with no FFB (I ended up lowering the steering_force down to 50). The LEDs didn't work, but that's no big deal (they do light up briefly during bootup). I'm mildly curious what the engine vibrations would be like. PM me if you'd like a hand with code or other hacking.

GNU/Linux OS details:

Code: Select all

donfede@slave-i:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.9 (jessie)
Release:	8.9
Codename:	jessie
donfede@slave-i:~$ uname -a
Linux slave-i 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux
donfede@slave-i:~$ 
WoT profile: https://www.worldoftrucks.com/en/online ... ?id=967992

Running ETS2 and ATS on Debian GNU/Linux old-stable "jessie" 8.9 64bit

User avatar
50keda
SCS Software
Posts: 2231
Joined: 07 Dec 2012 11:59

Re: FFB plugin (v2.5.2 - 18.12.2017) [Linux]

#4 Post by 50keda » 19 Dec 2017 09:18

@dontede: LEDs don't work because you don't have proper permission. I am already figuring it out. It's similar problem as Feral Interective has for their F1 2017, however they provided this solution: http://support.feralinteractive.com/doc ... udev_rules

I will most probably incorporate some script so you will have to run it once ;)

User avatar
50keda
SCS Software
Posts: 2231
Joined: 07 Dec 2012 11:59

Re: FFB plugin (v2.5.2 - 18.12.2017) [Linux]

#5 Post by 50keda » 19 Dec 2017 19:53

@dontede: Ok I got new version out! It includes script to fix your LEDs problems :)

mattem
Posts: 45
Joined: 28 Feb 2016 19:06
Location: Sweden

Re: FFB plugin (v2.5.3 - 18.12.2017) [Linux]

#6 Post by mattem » 20 Dec 2017 17:18

I have a Logitech Driving Force GT that worked with your beta, but not with this version. If I change back to the old real_ffb_x64.so it functions with FFB again

Code: Select all

lsb_release -a                     # Full release info of any LSB distribution
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 18.3 Sylvia
Release:	18.3
Codename:	sylvia

Linux Haswell 4.13.0-19-generic #22~16.04.1-Ubuntu SMP Mon Dec 4 15:35:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



User avatar
50keda
SCS Software
Posts: 2231
Joined: 07 Dec 2012 11:59

Re: FFB plugin (v2.5.3 - 18.12.2017) [Linux]

#7 Post by 50keda » 20 Dec 2017 19:54

Can you show us the "real_ffb.log"? You can find it in "<game-install-dir>/bin/linux_x64"

EDIT: @mattem: download 2.5.4 it should work again for your wheel ;) I was ignoring devices if they didn't have leds support. Now you should have writen in log file that leds won't work but rest of the things should work properly ;)

mattem
Posts: 45
Joined: 28 Feb 2016 19:06
Location: Sweden

Re: FFB plugin (v2.5.4 - 20.12.2017) [Linux]

#8 Post by mattem » 20 Dec 2017 20:56

Works lika a charm now, thanks a bunch :mrgreen:

User avatar
donfede
Posts: 29
Joined: 03 Feb 2017 03:55
Contact:

Re: FFB plugin (v2.5.4 - 20.12.2017) [Linux]

#9 Post by donfede » 21 Dec 2017 23:45

Success report with the LEDs working after permissions were corrected with the udev rules. No surprise, but I also tested it with ATS and everything was OK there also in my environment. Thanks 50k+!
WoT profile: https://www.worldoftrucks.com/en/online ... ?id=967992

Running ETS2 and ATS on Debian GNU/Linux old-stable "jessie" 8.9 64bit

User avatar
John
Posts: 625
Joined: 20 Dec 2012 14:27
Location: Bournemouth, UK

Re: FFB plugin (v2.5.4 - 20.12.2017) [Linux]

#10 Post by John » 23 Dec 2017 21:24

T500 really needs this, just a shame I'm not on Linux :(

Post Reply

Return to “Steering wheel + pedals”

Who is online

Users browsing this forum: No registered users and 2 guests