The online racing simulator
Searching in All forums
(976 results)
MadCatX
S3 licensed
Quote from rane_nbg :Hi guys, first of all, thank you very much Scawen and Eric for your efforts to improve the sim, it's highly appreciated.

I'm extremely pleased with the increased resolution and refresh rate of FFB, it really does make a noticeable difference even on G29. However, there are still a few tiny and easy features that need to be implemented which I really miss.

[1] minimal force adjustment (advanced: FFB mapping or LUT option)
[2] FFB clipping indicator (advanced: FFB real-time monitor)

Pretty much all non Direct Drive wheels have the problem of low forces being covered in the wheel's inherent friction. Unfortunately, manufacturers do not care about this and do not offer such corrections. As a basic version, the minimal force slider (Fig 2) would solve this once and for all so that we can enjoy the sim even more. The advanced version would include more points so that we would even be able to map the FFB to our wheel and compensate for its force nonlinearity, similar to what they did with the look-up table in Assetto Corsa.

I do not even want to stress how important is not to clip the FFB. As very basic, an FFB clipping LED indicator is enough. An advanced option, allowing to visually inspect the forces being sent to the wheel would be immensely helpful. Something like fps real-time monitor (Fig 1) is more than enough, nothing fancy.

I hope that Scawen will seriously consider this and implement at least the basic versions of such features, as their value for all wheel users will be enormous. If needed, I can offer more details and also some example code, since I have already implemented these features in my DIY FFB wheel.

This would be very easy to implement as a mod. All you need is to proxy dinput8.dll and intercept the force feedback calls. Once you have that, you can do whatever you want with the force commands that get uploaded to the wheel.
MadCatX
S3 licensed
You're connecting to InSim but you want OutGauge data. Enable OutGauge in LFS configuration and connect to it directly.
MadCatX
S3 licensed
I do not believe there would be any licensing issues if any real tracks were distributed free of charge and created by hobbyist modders with no affiliation to the LFS team.

Given the current state of LFS a bit more openness towards modding could be beneficial. I am, however, not so naïve to think that people would rush back to LFS in a stampede just because of a track editor.
MadCatX
S3 licensed
Quote from lfsrm :Well if someone is fully ready to pay for LFS and at the same time being reluctant to invest into some cheap 40/50$ used GTX 660 or HD 7850 to play the game, I find that a little bit ironic...

Scawen is here to take advantage of the new features and enhancement to make his life easier, and at the same times delivering those features faster, but you guys are dragging him down with stone age hardware just because why not...

Simracing games are probably one of the most expensive genra to play properly, you need to understand that at least.

HD 7850 and the entire Southern/Sea Islands family definitely won't cut it under Linux because its Vulkan support in the drivers is experimental possibly not even enabled by default on some distros. The GTX 600 series should be OK though.

Someone with a hi-tech simracing set is probably not going to run Linux on their gaming machine in the first place.

Given the bump on GPU requirements that come with DX11 I wonder if having gone straight to Vulkan instead of DX wouldn't have been a better call. Regardless, its very nice to see LFS adopting new technologies.
MadCatX
S3 licensed
As far as I remember the G920 cannot be switched to XBox mode, nor does it need to be. When the G920 powers up, it sets itself to the XBox mode by default. If it's connected to a PC, the driver then picks up the device's ID and switches it to PC mode with a magic packet.

From your post it is not entirely clear what is happening. XBox is not really good for diagnosing this though. Does the G920 show up at all if you plug it into a PC? If it's not even listed in the Device manager, you may be looking at a faulty HW. You shouldn’t be looking for the G920 in the default mode amongst HID devices because the XBox mode doesn't work as a HID device.
MadCatX
S3 licensed
It kind of looks like a Z-fighting issue. In fact, the rendering is not entirely OK even with 24-bit Z-buffer depth, you can see the poles holding the turn signs protruding through the signs in a few places. It happens even with DXVK so it's probably a glitch in the game itself. Weirdly enough, the problem doesn't go away even with 32-bit Z-buffer but actually becomes a bit worse than with 24-bit depth. FWIW I tested with POLARIS10 chip.
MadCatX
S3 licensed
Just FYI: Neither of the videos play for me on an iPhone with iOS 12.1.4, regardless of the browser. I guess it is a codec issue.
MadCatX
S3 licensed
Quote from THE WIZARD DK :these are just sound filters. try the Dolby Atmos 3D sound. i can make sounds like this too,just using filters.

No, they are not. The sound is generated by a computer simulation that calculates the physical effects responsible for making the water make its distinctive sound. That is quite interesting although apparently very far from practical use at this point.
MadCatX
S3 licensed
OK, my first impression was that of an overwhelming "WOW". I really wanted to jump into XRT and take it for a spin around a night South City. Unfortunately then I realized that the year is 2019 and nVidia has working consumer hardware with support for real raytracing lighting. Uhat LFS seems to have is a static lighting model with lightmaps and textures. It still looks pretty good but it is the technology of late nineties and you can tell. For instance the cockpit shot of SO looks pretty unnatural. I know that this is a WIP and things will improve until it's released but real dynamic lighting just looks better, especially when things are in motion.

Quote from KeiichiRX7 :Finally a name or two i recognize

Damn straight, right? It was so weird seeing all these people here with pre-2010 registration dates whom I haven't heard of in years...
MadCatX
S3 licensed
Blade element theory is useful only for calculating forces acting upon a flying airfoil. Calculating tyre grip is a completely different ballgame and Scawen already has a pretty good approach to that. Also, there is this "new tyre physics" that may be released some day Smile
MadCatX
S3 licensed
You can sell your user account to someone else if you want to quit playing.
MadCatX
S3 licensed
If this laptop really has a RC350-based Radeon GPU (check with lspci) there really isn’t much you can do. These GPUs were not OpenGL 2.0 nor D3D9 compliant and that is what you need to run LFS. Since these old ATI GPUs were never supported very well you might have better luck on Windows. If the GPU really doesn’t suport D3D9, I’m afraid you’re out of luck regardless of what you try...
MadCatX
S3 licensed
Quote from Scawen :For me, having a good life and plenty of free time to do the things I like is far more important than being rich. If being rich was a high priority there are many other jobs I could have done, and probably would have had to work 9 to 10 hours a day and only have a few holidays a year. But what's the point in that? So I could wear a fancy watch or clothes with logos on them so other people would be impressed? I don't get it. Life has to be about doing the things you like to do, not wasting money on expensive crap to show off to other fools.

This reads even better when you can see the manifestation of this philosophy in LFS itself. No hasty releases, no random additions to accomodate the latest fads and no 3rd parties pushing you around and demanding stuff. Too bad that not all of us get to live their lives entirely on their own terms...
MadCatX
S3 licensed
Quote from RC-Maus :It requires new version Smile

We have had bugfix versions released quickly without a test patch phase, 0.6T2 could carry such a fix...
MadCatX
S3 licensed
Perhaps resetting the read only bit like this wouldn't require a whole new round of test patches?


DWORD allowedBits = 0x31A7;
LPSTR pszFileName = "copied_file.dat";

DWORD attrs = GetFileAttributes(pszFileName);
if (attrs & FILE_ATTRIBUTE_READONLY) {
attrs &= ~FILE_ATTRIBUTE_READONLY & allowedBits;
SetFileAttributes(pszFileName, attrs);
}

Completely untested, used SetFileAttributes docs as reference. The "allowedBits" field is used to clear any extra bits that GetFileAttributes() may return but SetFileAttributes() cannot work with. MSDN does not seem to mention whether such bits would be ignored or cause SetFileAttributes() to fail.
MadCatX
S3 licensed
pthread library bundled with Event Control is outdated and unnecessary. Development toolchain that comes with CodeBlocks should include a working pthread library. Just use that one and you should be good to go.
MadCatX
S3 licensed
If it is a test patch issue you should report in to the test patch thread instead of here.
MadCatX
S3 licensed
Position of the steering wheel alone is not enough to get the force acting on the wheel. What kind of a wheel you have? Is it a commercial kit or something that you built yourself? In the first case there is a good chance that it comes with a DirectInput driver and it will work fine with LFS without any hassle. If you built it yourself you may need to write a force feedback-aware driver for it.
MadCatX
S3 licensed
Does this work in Python?


rpmBytes = "{.1f}".format(rpm).encode("latin1")
ser.write(rpmStr)

I assume that you need to send an array of bytes down the socket and float or Python 2 string cannot be treated as such directly.
MadCatX
S3 licensed
Quote from Abone :Make sense.LFS have a long discuss about D3D11 around years because cant do nothing with it ,i also remember read something like "Iracing still use D3D9 also....".so my video card already separate processes in parallel and D3D9 from LFS "lieing" for my video card nvidia (with d3d11.4) to use and take more efficiency on multicore system,right?i think LFS can work really well with new tyre physics like he is , you think can having more advantage converting LFS in a real multicore app or "tune" D3D is enough?

This parallelization done by the GPU drivers can only do so much and its efficiency depends a lot on how the rendering engine of a game works inside. In some cases it can even hurt performance. It can also only help with the rendering speed. If a game needs a lot of CPU power for something else (advanced AI, complex physics) the GPU drivers obviously cannot help with that. A proper parallelization implemented in the game itself will always be more efficient.

There are plenty of ways what LFS could do to take real advantage of multicore CPUs. Perhaps the easiest one would be to decouple physics and rendering loops and have them run on separate threads. The physics loop itself could then use one thread per car. This would theoretically scale very well with the size of the racing grid which is pretty much exactly what we need.
MadCatX
S3 licensed
Quote from Abone :Yes is a single core app, but are modify for more potencial on multi core system, right? LFS use more than one core in my Laptop , so i cant understand what you mean with "jump to multi core", I recommend you install LFS 0.6E and watching the difference..

btw i don't know so much about computers, i appreciate good explain Tongue

LFS 0.6E used Direct3D 8 for rendering, 0.6F and beyond use Direct3D 9. Increased use of multiple cores most likely comes from the graphics drivers trying to process the command stream in parallel. nVidia definitely does this with OpenGL, I imagine they have done something similar with D3D because until D3D11 there was no easy way for programmers to create multithreaded display lists. Direct3D 8 code path most likely does not make use of this behind-the-scenes parallelism because multicore CPUs were not around back in those days. When LFS moved to D3D9, it got a little bit of parallelism for free so to speak.
MadCatX
S3 licensed
I understand where you are coming from but imposing this sort of global restriction is IMHO not a very good solution. If we introduce this in the Programmers' section, one might suggest that we add similar restrictions to other sections of the forum. Also, what should the driven distance be for a person to be allowed to access the Programmers' section? What would stop the crackers from running a phoney server where they could easily amass the required kms? Putting together a non-trivial InSim application is indefinitely more difficult than driving around in circles for an hour. There are a few mods available on this very forum that could even automate this to a great extent.

IMHO I think that we as a community have been doing a pretty good job at keeping the crackers away from the cake. Yeah, it is annoying to bust yet another leecher but the human common sense can tell a cracker from a fair demoer far better than a series of restrictions.
MadCatX
S3 licensed
I don't know the code you're working with but it looks like "components" is an object of "IContainer" type. AFAIK in C# a variable that refers to an object can be either "null" (object does not exist) or not null (the variable references an object). You can do only "someObject == null" or "someObject != null", anything else does not make sense.
MadCatX
S3 licensed
Crackers could just set up a VPN with LAN address range. It would raise the bar a bit until somebody wrote up a step by step tutorial how to do it, it's not that difficult. I had been using this for years back in the days to fool various LAN range restrictions. "Fixing" LFS to make life more difficult for crackers treats the symptom, not the actual disease. Every copy protection mechanism gets broken sooner or later if there is enough people who want to break it.

A LAN server lookup feature would be a nice feature to have nonetheless.
MadCatX
S3 licensed
If this is for a demo server, banning both by the username and IP is the only way make the ban actually effective. The question of cutting innocent people off is not that easy to answer. Some networks can hide a lot of computers behind NAT and an IP ban would affect everyone behind that NAT. Some university and corporate networks are structured like this.
FGED GREDG RDFGDR GSFDG