NoGripRacing.com
User Controls
Welcome Guest
Username:

Password:

Remember Me
Lost your password?
or Register now!
Nogripracing On Facebook
Support NoGrip
Please support NoGripRacing, our monthly server bill is $595

Donate

Donated this month: $315
Advertising
Downloads » rFactor » Mods

LeoFFBLoadIni

File Details
Authorzaphman (See all uploads by zaphman)
Size288 kB ( 294515 bytes )
Added5:51pm, 19th January 2012
Version0.3
Downloads661
Description [hide]
Plugin to automatically load a specific LeoFFB.ini, dependent on the car used, from within the sim.
Download [hide]
Screenshots [hide]
No screenshots have been added for this file.
Readme [hide]
=
LeoFFBLoadIniPlugin First Public v0.3
=
Author: zaphman 2012-01-15

An rFactor plugin used to automatically place/load a specific
'LeoFFB.ini' for the cosen car, if one exists, as 'Plugins/LeoFFB.ini'
prior of entering the asphalt - meaning no more coping/renaming of
files prior of starting the sim.

Installation
=

1. Full Installtion
-

Unpack the supplied ZIP archive in the rFactor installation
directory, which places

a) binary and support files under 'Plugins':

LeoFFBLoadIniPlugin.dll - The plugin itself.
LeoFFBLoadIni/* - Some sound files, played when plugin has
done its job.

b) a number of my collected 'LeoFFB.ini' files, gathered from
different locations around Internet, under 'GAMEDATA\VEHILCES', and
the corresponding m mod subfolder.

Note that extra mod folders, with a single 'LeoFFB.ini' file, may
be created, in case you don't have the mod installed:

GAMEDATA\VEHILCES\55F1
GAMEDATA\VEHILCES\BMW E90
GAMEDATA\VEHILCES\BMW320_E21
GAMEDATA\VEHILCES\EnduranceSeries (SP2)
GAMEDATA\VEHILCES\Gallardo GT3
GAMEDATA\VEHILCES\Hankook_MX5_Cup
GAMEDATA\VEHILCES\Megane
GAMEDATA\VEHILCES\NAGT
GAMEDATA\VEHILCES\PCC_997
GAMEDATA\VEHILCES\VHR

Note: These files my be inaccurate according to the latest
information around and your preferences. You can twaek them as you
like. If you need to install this plugin again, remember to to make
a partial installation to ensure to not overwrite your own tweaks.


2. Partial Installation
-

In case you already have the LeoFFBLoadPlugin installed, and don't
want to overwrite your installed collection of 'LeoFFB.ini' files,
just open the ZIP archive and only extract/drag the requiered
folder/file to the corresponding place inside the rFactor
installation.

Manage of 'LeoFFB.ini' files
=

Ensure to Place the default 'LeoFFB.ini' (the one supplied from the
LeoFFB developer - or your own tweaked one) in
'<rfactor>\GAMEDATA\VEHICLES'. This will assure the default
configuration is used for mods/cars where there is no specific
configuration available.

Your specific 'LeoFFB.ini' files then goes inside the corresponding
mod folder, under '<rfactor>GAMEDATA\VEHICLES\<MOD>'. If a mod has
more than one car/class and the 'LeoFFB.ini' is different among these,
place the 'LeoFFB.ini' in the car/class subfolder inside the <MOD>
folder.

With this approach, my hope is it will be very natural to add LeoFFB
support for any mod available - a new LeoFFB is added per mod.

How Does it Work
=

When entering a session, and scoring begins, LeoFFBLoadIniPlugin kicks
in and tries to find the car's VEH file(s) under
'<rfactor>\GAMEDATA\VEHILCES\', by looking up the latest information
in the player's PLR file. When the corresponding VEH file is found,
this file's folder is used as base to find a corresponding
'LeoFFB.ini' file. This is done by searching from the folder itself
and upwards in the folder hierarchy. The first 'LeoFFB.ini' found is
then copied as '<rfactor>\Plugins\LeoFFB.ini' - the more specific
LeoFFB needed, the closer to the VEH file it should be placed.

A voice 'LeoFFB configuration loaded' should be heard when the plugin
has done its work. If there where no configuration found (or something
failed), a 'LeoFFB missing' should be heard.

When entering the track (enter realtime), LeoFFB loads (as far as I
can see) the '<rfactor>\Plugins\LeoFFB.ini', which means you should
stay in the garage for a while, before entering the track, to let the
plugin find the correct 'LeoFFB.ini', before LeoFFB tries to grab one.

Logging
=======

To investigate which 'LeoFFB.ini' was engaged, consult the log output
in '<rfactor>\LeoFFBLoadIniPlugin.log'.

Considerations
=

The existing 'LeoFFB.ini' is overwritten when the first session is
joined (as soon as scoring starts) after start of the sim, and when
the car is changed. i.e. you exit the current session, choose another
car and enters a game session again.

Ensure you are allowed to write files in the 'Plugins' folder. This
could mean you keep your rFactor installation outside of any 'Program
Files' folder. Instead, use 'C:\Games\rFactor'.

TODO
====

* Integrate with Leo's FFB Tuner (LFT), and be able to read exported
files from this tool.

* I really would like to extract all needed settings from the
underlying data files and also from the current garage settings in
use, to generate an 'LeoFFB.ini' dynamically.

My knowledge of rFactor internlas is a bit out of my scope
unfortunately.

Legal
=====

This software is released AS-IS.
Version History [hide]
Version Released Downloads
0.3 3:12pm, 19th January 2012 661
Thanks [hide]
9 members have left thanks.

Comments
Please Log In to view the comments for this file.

Cookie Policy

We use cookies on our website to give you the best user experience. Please read our Cookie Policy to learn more about what we use cookies for.

You may wish to learn more about managing cookies. If you continue without changing any settings you will receive all the cookies used on this website.