I heard about Cedega utility for Linux (http://transgaming.com) which somehow emulates DirectX functions and dynamically linkes Win32 code and implements Win32 API. But how about performance? Have anybody ever tested it?
On its homesite is posted LOONG list of "working" games.
(I don't believe it so much - DX emul under Linux???... strange)
Theres been a number of threads about this in the past. Most of them on RSC, but one or two here as well.
In short yes it does run (sometimes), but not with great performance. I was running a really old CVS build of wine (what cedega's based on) and it worked perfectly. Since then its been getting poor performance.
The game runs very well. I get between 30 and 60 fps. I am using Cedega 5.02, with the registry from Wine 20050725. The wine install is the default Ubuntu package installed with Synaptic. LFS gets better fps using the cedega reg file but you can't unlock the game. I have been though the reg files of both, and cannot locate the difference between them that allows you to unlock. I have AF set at 4x and AA set to 4xBilinear. I think that using the cedega reg file would give better performance. LFS needs a Linux port. I know quite a few people who would pay double to get it. I would, if that is an incentive.
I've included one more screenie. I really just wanted to prove it works. I circled the FPS counter in the LFS window, it's below 30 because the screenshot program maxes out the CPU when starting. I have the perf mon up to show the mem usage and CPU cycles. The machine is an Athlon XP 3000, 256mb ram, 200gb HD, TV card, 2 nics, ieee, usb2, dvd, cd-rw, NV Gforce 5600 FX 256mb. This OS and Machine are very stable. I could run 2 instances of LFS in window mode and still play or do other work. Linux rocks.
Have you edited your synaptic/apt sources at all (either through synaptic itself, or manually editing /etc/apt/sources.list) at all? (Just want to know as this affects what package is installed by synaptic)
Other than that, very nice work on the report dude :up: Might be time to start playing with LFS client on linux again
I'm using Gentoo Linux with Wine 0.9.2 and Cedega 5.0. In Cedega, to unlock the LFS, you need put in the system.reg the missing key: "ProductId"="12345-oem-0000001-54321"
[Software\\Microsoft\\Windows\\CurrentVersion] 1134101496 "CommonFilesDir"="C:\\Program Files\\Common Files" "FirstInstallDateTime"=hex:21,81,7c,23 "ProductId"="12345-oem-0000001-54321" "ProgramFilesDir"="C:\\Program Files" "RegisteredOrganization"="Change preferred organization in ~/.wine/system.reg" "RegisteredOwner"="Change preferred owner in ~/.wine/system.reg"
I'm registered in the http://appdb.winehq.org and include LFS in database to vote. More votes, more chance to the devs of wine to make more compatible.
I did modify /etc/apt/sources.list by rewriting the whole thing with this sources.list from ubuntulinux.org unofficial guide.
------cut here-----
#deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu breezy universe
deb-src http://archive.ubuntu.com/ubuntu breezy universe
other than that I found wine in synaptic and told it to install. wine will not run video but sound worked.
I downloaded the cedega-engine-5.0.2-local-update.i386.cpkg as well as the cedega_5.0.1_i386.deb file from transgaming. I believe the wineX cvs would suffice though. I can use the gui to launch LFS but prefer the CL because of the feedback.
Thank you for the code. I threw my hands in the air with glee when I saw it. I have been looking for it since I began playing LFS. I bow down before you.
I will vote for this on the winehq board, but I do wish the devs would allow us a client. I pay the monthly fee for cedega because I want to play this game. I just as gladly would pay the devs the same fee for a naitive client.
Hey Scawen. If you read this, take a look in the http://winehq.org/site/winelib about Winelib. Winelib is a development toolkit which allows you to compile your Windows applications on Unix.
I am now trying and using Linux most of the time. I use PCLinuxOS www.pclinuxos.com << very easy to try and/or install. Download and burn the Live Cd for trying without installing anything.
Anyway, I have been trying wine and I too can only get sound to work. no GUI for me to navagate through (just a black window) When the game starts I see the LFS logo but when the car starts to drive I see the Forces mode of the car for a spit second then its all black.
if someone could please write a tutorial on what is needed to install LFS on a Linux box.. and what files need to be edited It would be greatly appreciated!
For those of you who have never tried Linux or have tried it in the past but was not impressed I encourage you to go do some investigating. Linux has made some great leaps recently in making life alot easier for us non code junkies
"Live CD" is a term you will see alot with Linux. It means you can load a CD in your CD tray and reboot your machine. (if your BIOS is set to read CD drive before HD) Upon reboot your machine will read the CD and load Linux into your memory (not your Hard Drive) and you can try Linux without putting anything on your PC. The more memory you have the better. If you decide to install things run alot faster from the hard drive. Linux is much more efficiant than Windows.
Linux is just a kernal.. but you will find alot of diffrent distributions of that kernal packaged with tons of free software. Like I said above I use PCLinuxOS. It is geared towards Windows users wanting to try or convert to Linux. It has great FREE support. Donations are welcome but not mandatory.
if you are intrested in trying things.. do a search for "Linux Live CD" and you will find plenty of ISOs to download. Only a few of them have a price.. most are Community developed and therfore are free of cost and copyright. You are actualy encouraged to copy/share/edit/and distribute!
Unfortuantely due to the nature of Free / Libre and Open Source software, there are many alternatives for almost everything at every layer of the stack - including the kernel. This means that making a 1 stop DIY guide very, very difficult.
For example, if you use anything Redhat derived you use YUM to do your package management, if you're doing things on a Debian derivative box (like you should) it probably uses APT. If you like compiling things, which I very much doubt if you're asking for a guide, then its not going to be easy. It then comes down to the fact that we dont know if you're using Wine, WineX, or Cedega for the Windows API / DirectX emulation, what distro you're using, what repositaries you have enabled, what graphics card (and whether you have any inhibitions of running non-Free binary drivers).
@ Crumbut: Are you using a LiveCD to try out Linux to run LFS? I've never used PClinux but I'm prepared to stake my (rather poor) reputation that it doesnt allow you to upgrade various packages. In the past several versions of Wine either break, kill or maim LFS totally....
no, as I pointed out I have PCLinuxOS installed. I understand about the diffrent distributions using different things.. but most share the common elements that allow 3d games to run (I assume so anyway). There are a few that are free and available including Duke Nukem 3d and Scorched earth 3d. Both run on my machine in Linux.
Sorry Crumbut, I totally missed out on the fact you have PCLinux installed - must be all these late night moshing sessions. I'll dump PCLinux on a Virtual Machine later today and have a quick play, see what its all about and if I can come up with any ideas. Out of interest, does GLXGears work (dumping "glxgears" into a term should be enough to invoke it if you have the package installed)?
Jakg, I'll do a little rough tutorial for Breezy today too, if I get the time. Its all down to how many customers interrupt me at the moment...
I'm afraid I think in debian terms, as thats what I've primarily run over the years. And by default its usually installed with the X window system and OpenGL.
I assume you're doing this from a terminal/console (if pclinux lets you do that?)? If so are you trying it all in lowercase? Does "glxinfo" throw anything back at you either?
@Jakg and others - I'm doing a little howto on installing LFS and Wine under ubuntu tonight (as soon as qemu starts playing).
are you going to run lfs on wine on ubuntu on [k]qemu?? will u get more than 1 fps? great combo though i've been running various live cds on kqemu (win32) and it's pretty fast, for a vm, nowhere near playable for 3d games though i'd say... and last time i've checked vmware was still quite faster. i know it's not oss, but it's fast
I use qEmu for a lot of my testing. I've not got a full working distro on my main desktop at the moment (thats what I get for playing with Arch Linux this month), and my headless debian server isnt exactly ideal for testing WINE and LFS
I've had LFS running "ok-ish" under Ubuntu before, but I cant remember the exact steps I went about, so running a quick install of ubuntu on a VM should help me get the steps right for those who arent familiar with linux Yes VMware is faster, but its not Free and I dont happen to have a copy at the moment That said I do have access to MS Virtual Server 2005 at work Which is very very fast But I wouldnt bother running anything serious X wise on it.