If your drive can also burn disks, you can try UDF formatted media.
If your drive supports writing DVD-RAM disks, it may be even better, as these disks are very reliable. I bought a DVD-RAM disk in 2004, used it frequently for backups, and it works perfectly to this day. It outlived several normal +/-RW DVD disks, and even my DVD drive
I can't introduce Perl without golf, these things are unseparable
You can get rid of "not" operators by changing expression order in the ternary operator. Separate path for "FizzBuzz" is not needed, you can make it by joining "Fizz" and "Buzz". Loop variable initialization is not needed (PHP will complain in server logs but I don't care :razz, and loop variable incrementing can be stuffed into the main expression. After all these changes and getting rid of unneeded parentheses it will look like this:
It's a matter of personal priorities. I'd rather stop playing LFS than go through the hassle of buying and installing Windows, and restarting the computer just to play a game.
Thanks It didn't fit well, mostly due to big tyre fenders on UFR. Anything placed on the fenders gets heavily distorted, so I moved/scaled stuff to avoid it where possible. Unfortunately I couldn't do it with the car illustration, and it looked really weird at most angles, so I decided to just smudge the areas overlapping fenders.
Low resolution, as the original artwork scans were low quality. I spent most time reconstructing damaged lettering and trying to improve quality and readability. As I didn't wanted to spend more than 1 evening on it, I opted for a simple cut and recombine with minimum overlap. If I had more time, I would probably try to completely separate logos from background and draw missing parts of the illustration.
I set the graphics settings same as yours, and my fps dropped a little. I found out it was caused by the high res shadow. Car shadow is broken for me anyway, turning it off gains around 5 fps for me.
I couldn't set screen refresh rate as high as yours, because my LCD monitor when connected by DVI cable has very limited refresh rate settings. Shouldn't be a problem though, few months ago I've been playing LFS on Wine at 85Hz on my old CRT monitor and it wasn't any slower.
It seems you are getting a lot of errors from wine. Strange, as I get only a couple (screenshot attached). I wonder what is the cause for these errors.
Only Z-buffer is 16-bit (must have been like this by default as I don't remember changing it). The color depth is 32-bit, so I think the bottleneck may be somewhere else...
Kernel 2.6.17.13, NVidia drivers 1.0.9746, wine 0.9.32
Related Wine and LFS settings attached as screenshots.
I think it's normal with too low fps, however I noticed sound in LFS was working better on Wine with U version. When LFS changed the sound code to DirectSound, it got much worse, more laggy and crackling more often.
Looks like a messed up Wine installation. If you're building Wine from source, make sure the configure script finds OpenGL and builds all DirectX dlls properly. If you're installing from binary packages, make sure your installation is complete. It's not unusual for binary distributions to move non-essential parts of Wine, like DirectX dlls, into separate sub-packages.
Start with a clean ~/.wine directory, or use a different WINEPREFIX dedicated for LFS. I prefer the second option, so I can be sure that whatever I install in my default profile won't mess up my LFS installation. It's like having 2 separate Windowses, each with its own directories, registry etc.
My driving isn't good enough to have any racing replays like this, but I have something funny. Have you ever seen a shocked wrecker? I mean, these guys have seen everything, the worst crashes. Is there anything that can amaze them?
Watch the driver aptly named "SmAsH", as he smashes into another car in lap 2, and then sits on a backstraight corner waiting for his prey...
No one taught me how to do it, so I have no idea how to teach other people
All I can do is to observe what am I doing, and try to explain it. So can you, as there are replays available to watch.
This is how I see it:
I start at around 40-50km/h in 2nd gear. I turn the steering wheel left a bit, aiming for a wide circle (can be right as well, the set is symmetric, but I prefer left). Then I press throttle, start accelerating and tightening the turn. When I feel my rear starts to go sideways, I unwind the wheel a bit to keep the rear from drifting. If you are successful at preventing the rear from drifting, and you still accelerate, you will reach a point at which the grip budget of both outer wheels deplete. Release the throttle. The outer wheels will start to alternate between slipping and regaining grip, while the inner wheels will start bouncing up and down due to all the weight shifting and suspension resonating.
This is the time to use the "rapid steer" technique I described in an earlier post. You have to do it when inner wheels are bouncing as high as possible, but if you wait too long the outer wheels will start bouncing too. It will transition from "slide-bounce" to "just bounce", and when all wheels are bouncing it's just like riding on a wild horse, without control.
The technique, in a nutshell, is: wheels go up, you move the steering full-lock to the other side; wheels go down, you move the steering wheel back to normal.
Here is a movie from one of the replays (sorry for poor quality, I have an old and slow computer at home, and I have no Windows here so it is recorded running on Linux/Wine).
After you lift the wheels up, just steer to keep it upright. Acceleration and braking is tricky, so try without it at first. Train driving XFG on 2 wheels, so when you finally succeed lifting XRG wheels up you don't waste it
This description may be incomplete or inaccurate, so take it with a grain of salt.
Good luck!
Last edited by StuntCarRacer, .
Reason : spelling error
My 2 wheels xrg sets and a replay. One set is softer, the other one harder. Softer set is easier to lift the wheels up, but more difficult to drive in a straight line, because with softer tyres it is easier to accidentally scratch the tarmac with wheel rims.
What do you mean? OpenGL offers everything DX10 offers, with extensions like EXT_geometry_shader4, EXT_gpu_shader4, EXT_bindable_uniform, EXT_draw_instanced, and few more, which are adopted by all major vendors, and available now on all platforms, not only Vista. There are also many vendor specific extensions if you need some specific hardware feature.
I started a project to translate winmm calls used by LFS to directsound. The idea was to make a DLL than implements these calls, and then just modify LFS binary to import this DLL instead of winmm. Unfortunately the project stalled due to several reasons. I have too much other work recently, and I no longer have any Vista machine, thus I no longer have much motivation to work on it. There's not much done, only the patching utility, and all the needed calls stubbed out, so the patched LFS runs but without sound. I realize the usefuleness of it is near zero, anyway, here it is:
In my work I tried many VPN solutions, and IMO anything is better than the built-in Windows VPN. The VPN is built on PPP tunnelled over TCP connection, which maybe was a nice 5-minute hack 10 years ago when you had no other tools, but a really bad idea for anything requiring either low latency or high bandwith.
Applications using UDP will not work well in case of any packet loss, because the underlying TCP transport layer will retransmit lost packets, and block any other packets from reaching the application until the lost packets arrive. They may not even work well in case of no packet loss, because of the underlying TCP protocol's Nagle algorithm.
Applications requiring bandwitch will choke in case of any network congestion, because TCP flow control algorithms have terrible properties when layered on top of another TCP connection. Basically, any lost packets in the lower layer will cause build-up of retransmission packets in upper layer, wasting the bandwith, and causing the upper layer to either back-off to a crawl, or loose connection.
For me, trying Windows VPN was a wasted time, because it turned out to be unusable for anything other than checking email (provided there were no big messages in my mailbox ).
I am currently using OpenVPN. It supports, among other things, compression, encryption, tunnelling over UDP, tunnelling ethernet frames (ethernet bridging), and works well for me even in poor network conditions.
If you suppy your clients with ready to use configuration files, setting it up is a breeze. Basically just click through the installer, then click on the *.ovpn configuration file, and that's it.
Clearly you either do not have a proper directory structure in ~/.wine, or the files/directories there are not accessible. You can try to:
Remove ~/.wine directory and try to run wine again. It will create a new directory automatically.
If ~/.wine directory does not exists and wine can't create it, you probably do not have "wineprefixcreate" utility installed. It usually comes with wine, but maybe for some reason it is in a different package, so search for a package named like wine-programs, or wine-utils, or wine-tools, something like that.
If it still does not work, try running wineprefixcreate manually and see what it says. Also check your WINEPREFIX environment variable, maybe it is set to something stupid.
Properly created ~/.wine directory should look like this:
Wishful thinking. This case was easy, as the cheater wasn't hiding the fact that he is cheating. The car clearly had a lot more power and grip than other cars. However, there is a possibility that a smart cheater could improve his car only marginally, just enough to win. How would you distinguish someone who is cheating from someone who has a better setup and skills then?