This is my first post here, so I'd like to start by thanking all those involved in making X-Sim. I'm hugely impressed by the massive number of sims it supports and it must have taken a hell of a lot of work to get to this stage, so thanks very much guys!
The reason I'm posting is that I've just made a set of gauges designed to be displayed fullscreen on a 1280x1024 monitor:

I've been testing them in Live 4 Speed (as that's the only natively supported racing sim I own) but I've run into a few problems with the plugin and profiler and I'd be very grateful if Martin (or anyone else) could help:
BUGS
-Oil temp (3), Lap Number (5), Best Lap Time (6), Current Lap Time (7), Position (8), and Water temp (9), never change from zero, although the plugin table in the manual says these variables are supported in this sim.
-Fuel Remaining (2) is rounded down to a whole number so it's not possible to display it as e.g. 53.7 on the digital display. (I tried multiplying it by ten and adding a painted on decimal point but it seems the rounding occurs before the profiler receives the data so this didn't work).
FEATURE REQUESTS
-The Current Shown Flags (10) variable gives values according to this table:
#define OG_SHIFTLIGHT 1
#define OG_FULLBEAM 2
#define OG_HANDBRAKE 4
#define OG_PITSPEED 8
#define OG_TC 16
#define OG_HEADLIGHTS 32
#define OG_SIGNAL_L 64
#define OG_SIGNAL_R 128
#define OG_REDLINE 256
#define OG_OILWARN 512
#define OG_1 1024
#define OG_2 2048
#define OG_3 4096
#define OG_4 8192
#define OG_KM 16384
#define OG_BAR 32768
The values are added together so if, for example, you have fullbeam and the handbrake on then it will return a value of 6. Using this table I've been able to get the warning lights at the bottom of the panel partially working (basically each light is a stripe bar and I subtract the corresponding value above from variable 10 and then draw the illuminated version if the result is zero). The problem with this approach is that it only works if just one light is on -if you turn on traction control and the speed limiter then neither light will work.
Would it be possible to change the plugin and profiler so that they separate all these variables, giving a different number for each one? Then they could each have a value of 1 for on and 0 for off which would be a lot simpler (and would also be useful in that it would allow lights designed for one sim to work in all the others).
-Would it also be possible to enable export of oil pressure, turbo pressure, tyre temperatures, and blue/yellow/red/green flags in L4S?
-Finally, it would be really useful to be able to specify the format of a number for text gauges. Perhaps this might look something like this:
Format=XXX.Y
...which would display "019.4" if the input was 19.374231, or "005.3" if the input was 5.294123. Similarly:
Format=XX
...would display "19" if the input was 19.374231 or "05" if the input was 5.294123.
Many thanks,
DD



Czech Republic
Netherlands


News