The online racing simulator
Searching in All forums
(851 results)
rane_nbg
S3 licensed
Got to to love reviving a 20 year old thread Smile We may actualy be quite close to getting this dream realized in lfs.
rane_nbg
S3 licensed
Quote from Bose321 :Can't you add a TPM 2.0 module?

I wish this was the case, but as far as I know it's an inbuilt hardware feature of a modern cpu and motherboards. It can't be added without changing these two core parts of a PC. It basicaly means changing the entire PC, since you also need new ram, then comes new gpu, then most probably also new psu and a new pc case.

If one's lucky, he could get away with a minimal change that is cpu, mb and ram, while reusing everything else. Then later on, one could upgrade the rest..
Last edited by rane_nbg, .
rane_nbg
S3 licensed
This is great, tnx man.
rane_nbg
S3 licensed
How about showing your c# button code here such that someone else may use it in the future?
rane_nbg
S3 licensed
Ah, I see that maybe there might be a misunderstanding. What I meant to say is that my gaming PC does not support Windows 11 due to TPM 2.0 and I'm not willing to upgrade its hardware just so I could install Windows 11 on it. On other computers that support it, I ofc have Win11, but those I only use for work stuff as they don't have good graphics cards.
rane_nbg
S3 licensed
I'm also not willing to upgrade my gaming win10 PC from 2018, that still works perfectly fine and runs lfs maxed out without any sweat.

I'm seriously considering linux mint, but I'll probably try it on my old laptop from 2014 first and then decide what to do.

Considering all this TPM 2.0 bs and more shenanigans, I'm now convinced that microsoft is an evil company. Ever since they made a fkup with onedrive that caused a huge file deletion and duplicate mess with my very important work files, which I have accumulated durrring the past 8 years.
Last edited by rane_nbg, .
rane_nbg
S3 licensed
I find best smoothness with fps limited ingame at 120, on a 60Hz screen. It is actualy smoother than fps limit at 100 with 50Hz screen, don't ask me why.
rane_nbg
S3 licensed
The best is just to reduce car steering lock in car setup in garage. Start off by reducing by 50% and see from there where is the sweat spot that allows for best balance of manuveability vsrsus steering precision. For XFG on BL1 you may even go down to 12deg and still be able to complete a lap without any issues, just pit exit will be somewhat tricky.
Last edited by rane_nbg, .
rane_nbg
S3 licensed
Hi, you need to give more detailed info about what kind of display this is. Lfs supports only normal monitors and VR headsets natively, however...

Quick google search shows me that a CM2 screen is just a raw display with its display controler, that usualy needs to be connected to a microcontroler with specific firmware via SPI or i2C bus which sends data to it. Then through virtual serial port (over usb connection) a microcontroler gets the actual data from a special app on PC. For example SimHub is able to receive telemetry from LFS once it is configured in cfg.txt to output outSim or outGauge packets, through LFS internal inSim protocol that utilizes UDP or TCP connection. So in principle, one can say that LFS does "support" such displays and it is possible to send data like car angles, velocity, tyre and engine temps, speed, gear, rpm and much more, but it's not such a straight forward task. In moza wheels I guess their main microcontroler stm32F407 is able to do this feature as well along with handling DirectInput - axis, buttons and ffb.

So look into SimHub program and see if it supports your display. If not, you could even use your phone and SimHub can send telemetry from LFS over your home wi-fi to it and display data in a very convenient way to look like car dash display. They have many different nice looking plugins and it works great, but you need to figure out a way how to hold your phone above your wheel base.
Last edited by rane_nbg, .
rane_nbg
S3 licensed
This may be an issue of the wheel itself. In DIY community when people make their own DD wheel, a lot of times similair problems happen because of electromagnetic interferrence. To run the motor a high current is passing at a high frequency through the motor coils. If the wiring is not done with extreme care to shield and ground everything the interferrence is strong enough to dissrupt usb comms. Ground loops are also a thing, so as correct earthing.

You can check if this is the case simply by setting the FFB to zero. If you don't get any disconnects without ffb, then I would say it's clear where the issue is. The usb suspend is very fishy, because this is only active if the computer is sleeping or if the usb device is not being actively used (this is very unlikely to trigger durring normal operation of a wheel).

I don't want to say that guys at moza didn't do their electrical homework correctly, just that it may be possible. Or particulair user issue where improper earthing or ground loops where accidentaly created.
Last edited by rane_nbg, .
rane_nbg
S3 licensed
There should be a setting for minimum amount of players to accept voting.
rane_nbg
S3 licensed
You have to allow your inSim host to connect to lfs.net server host. You have to specify allowed IP address.
rane_nbg
S3 licensed
Can you please say what you did to solve the issue? It's very valueable for others whom may have similair problem.
rane_nbg
S3 licensed
It's pretty obvious, your texture is too big, you have to downsize it such that it doesn't go over 5M pixel limit. The current one you have is close to 6M pix.
rane_nbg
S3 licensed
Quote from Bokujishin :..I think you could improve it by feeding the output of the speed PID to a throttle PID and a brake PID to allow smoother braking..

That is exactly how a PID loop works - its output is fed back to the input in a certain way and multiplied by 3 constants, each corresponding to a particular contribution: P-proportional, I-integral, and D-differential. Making it slower/faster/smoother is a matter of tuning a PID loop, where those 3 constants are adjusted for the particular system and desired performance. The PID loop for XFG in the video is very well tuned, as the set speed is reached quite quickly without any overshooting or undershooting.

If he tunes it such that the car brakes or throttle more smoothly, it will result in a slower acceleration/deceleration, which may be ok for a traffic NPC car. That can easily be done by lowering P and I constants.

In a very similar way, a PID loop can be used for steering to allow the car to follow a predefined path - this is what AI in LFS does at the moment.
Last edited by rane_nbg, .
rane_nbg
S3 licensed
Obviously, knowing various algorithms is a must.

Well done with that PID loop, it's tuned quite well.
rane_nbg
S3 licensed
Try to remove the alpha channel from the texture and try again.
rane_nbg
S3 licensed
I think he needs the commands for said functions.
rane_nbg
S3 licensed
We're also renting a linux host and doing "mono Airio.exe".
rane_nbg
S3 licensed
I'm not sure what exactly is going on, can be anything. I simply have not enough info to tell you what to do.
rane_nbg
S3 licensed
Hi man, long time no see, I'm glad you're still around.

To solve this, you have to allow your airio host to connect to the lfs server hosted by lfs.net. You can still do it even if it's a free server and here's how.

Once you start your lfs server, login to lfs.net and go to "hosting" tab, then "your hosts" tab. Click on your server and go to "access control" tab, and type in the IP address of your airio host into section for allowed IP addresses to connect to inSim port. Note that if your airio host doesn't have a static IP address you'll have to repeat the process each time with a new dynamicaly assigned IP address. However, a range of IP addresses can also be specified.
Last edited by rane_nbg, .
rane_nbg
S3 licensed
Maybe it's just a matter of program not being able to access it, due to admin rights.
rane_nbg
S3 licensed
I'm very sorry. From now on I will only comment above your post.
rane_nbg
S3 licensed
I think we're going off topic.
rane_nbg
S3 licensed
Who won?
FGED GREDG RDFGDR GSFDG