I made a new d3d8.dll with alternative Analog Gauges for LFS.
Remember the state of this Tool is Alpha. When every Function is like me want to, it will be released. On that place thanks the testers.
*To Start*
- if you are new to this tool first download ver 0.12 and then the 0.17.
- if you just have 0.12 you only have to download 0.17.
- make a backup of an existing d3d8.dll
- extract the Archive to your LFS Folder
- start LFS like this target in your Link "C:\GAMES\LFS X\LFS.exe" /insim=29999
*Update 0.17*
- OK....I think one of the last Alpha Updates.
- You can set the direction Value to let the gauges change there dimension with values. F.e. RPM as digital lights. But there have to be covered. I put an example in the zip (bad graphic, I know )
#direction
# 0 = left
# 1 = right
# 2 = digital
# 3 = digital & left
# 4 = digital & right
# 5 = width left
# 6 = width right
# 7 = height up
# 8 = height down
- I fixed the TCP Connection so it will be stable.
*Update 0.16*
- Gear and speed could be shown as text. (Values for position, font, size, color).
- STRG+END load Values of the current car,for easier editing gauges.ini
- I add an example for BF1. There you can look in the gauges.ini how to manage.
- the font for example have to be unpack in windows\fonts - folder.
*Update 0.15*
- just unpack to LFS Folder if you have 0.12 installed.
- Add Value to set speed digital. Edit the following line in gauges.ini
direction=2
Then there have to be this line in gauges.ini. [FONT]
POS_X=300.0
POS_Y=400.0
FONTSIZE=40
If direction = 0 or 1 there´s no need for the FONT section.
First only font Arial and color = white. I have some problems with that.
*Update 0.14*
- Bugfixing. No need to press strg to move gauges.
- just unpack to LFS Folder if you have 0.12 installed.
*Update 0.13*
- Now we use a TCP Connection on Port 29999 and UDP on Port 30000.
- No need to set values in cfg.txt. See new Instructions above.
- with strg (ctrl) + pos1 (home) you can store the position values of the car.
*Update 0.12*[/B]
- New parameter ValueAsPercentage in gauges.ini. Only for position values.
- One Folder for each car. So you can put in different gauges for the cars. Gauges change automatic when changing car in LFS
- cleaned this post
*Update 0.11*
- Now you can cycle between 5 different Gauges in LFS. Press the ALT Key to cycle.
- There have to be at least the gauges.ini in each folder. If not LFS will crash.
*Update 0.10* - Values for position are in pixel now. Need to do this cause of problems with different resolutions. - Moved the Geargauge behind the backround.
*Update 0.09* - Now you can choose if gauges are visible or if only the needles are visible. If you want to make a backround with all gauges within. The only new Files are d3d8.dll and the gauges.ini. No need to overwrite everything else.
See AnaGauges.doc and Readme AnaGauges.txt for further information
Big thanks to
http://bloom.hsw.hu Bloom for the art! http://www.mikoweb.eu Michael Koch for his proxxy.dll and his help
Racer_S for his SourceCode of driftggauges screama for his nice graphics.
No, it means Visual Basic 2005 Express Edition (Sure that is a VB.Net Version too).
But that´s not the problem.
I know your library and love it. But the problem is that the d3d8 injection is done with Visual C++ 2005 Express Edition. The DirectX is no problem.
But now I have the graphics in the game but do not know how to get the Data to animate them.
First i thought to start InSim and the UDP with my VB Tool and then only listen to the UDP Port inside d3d8.dll. But the Tool crashes before i can receive anything.
Is there a way to use your library with Visual C++ 2005 Express Edition ??
I managed to implement "my own graphics" in LFS. Using a modified d3d8.dll.
Works fine.
As i did all other tools with vb2005 i am not good enough with vc++2005 to create a UDP Client. Means, i am not able to get the Information (Speed, RPM, Fuel) from LFS. In vb no problem, in c++ ... no chance.
If someone could give me a hint, a piece of code how to get the OutGauge Data please post it.
Here is a InGame Tool with new Button System for Patch X.
In the File config.xml (must be in the same Folder as InGame.exe) you can change some parameters.
To start.
In LFS type in /insim 29999 (or the Port specified in config.xml) or start LFS with command line /insim=29999.
UDP use one port above. So 29999 and 30000 f.e.
The ip given in the config.xml have to be the PC LFS is running.
Net Framework 2.0 have to be installed.
Update:
-------
New Version 1.0.0.5
- Bugs fixed
- Add information if you are laped by leader
- Add display the time the leader is "behind" you. Time to be laped. After first Lap.
- Shift+B now allows the user to bring up buttons or hide
Version 1.0.0.4
- Bugs fixed
- Added Number of laps possible with fuel (works fine after 2 laps)
- Change size of Shift- and Pitlimiter Button
Version 1.0.0.1
- The position of each information can be set in config.xml