Lfs Rev Limiter v0.9
====================

What you need
=============
.Net framework 2.0 at least

Intall guide
============
1) LFS
- Open your cfg.txt file located in main LiveForSpeed folder
- Somwhere at the bottom you will find:
  (...)
  OutGauge Mode ?
  OutGauge Delay ?
  OutGauge IP ?.?.?.?
  OutGauge Port ?
  OutGauge ID ?
  (...)
  Where ? stands for a number
- Change it to:
  OutGauge Mode 2
  OutGauge Delay 5
  OutGauge IP 127.0.0.1
  OutGauge Port 11222
  OutGauge ID 2
*Note that "Outgage Delay" has some impact on program response - experiment with it (values between 1 - 50 or more)

2)Files
- Copy "LfsRevLimiter.exe", "LFS_External.dll" and "settings.xml" anywhere on your disk, but DO NOT SEPARATE THOSE FILES. LfsRevLimiter.exe uses LFS_External.dll to catch outgage packets and it must be in the same dir.
- Also, check if the folder doesn't have "read only".

3)Start up lfs, then lfs revlimiter. 

4)Change the trackbars value at the bottom of program to suit you - its the delay in ms between each "I" key press_and_depress cycle.
note: it's a tricky part, first set it quite high (around 50) and test if it works good in lfs, then lower it a bit and test again - do it until you find lowest value where lfs_revlimiter doesnt get out of sync with lfs. Perfect value depends on computer.

settings will be stored in "settings.xml" file so you don't have to set them again on another program start.


NOTES
=====
- Program works best if rev limiter is set quite high - close to real rev limiter. 

BUGS
====
- lfsrevlimiter going out of sync with cars engine state 
Problem is that there is no possibility to read if the cars engine is on or off. Assuming that its "on" while program starts, every time "I" is pressed, it changes engines ignition. Problem is that when key is pressed for shorter time then 17ms (at least on my computer) it sometimes isnt recognised by lfs, so it goes out of sync while emulating oldschool revlimiter - pressing "I" manually puts it back in sync again for short time.
Workaround? I could read if user is pressing gas pedal and asume that if revs are dropping that it has gone out of sync... but what if your in the middle of climbing a hill etc.

- nullpointer exception caused by lfs_external library... didn't have time to properly debug it, but turning lfs and lfsrevlimiter off and on again does the job
