Tried just for the fun of it, and it works.
Here's the setup:
Host: E8400/4G/GTX260/XP32-SP3
Virtualbox: Version 3.1.2
Guest: Windows 7 Ultimate 32
Although Win7 should include DirectX by default, IIRC LFS wouldn't run, and so I've downloaded and installed the latest DirectX 9.x.
LFS would now run, but way too slow (1 fps or less). I guess it Does Direct3D in pure software due to missing proper [virtual] hardware drivers.
Virtualbox does support (if enabled) 3D acceleration via OpenGL. So OpenGL commands on the guest are redirected to the Host hardware acceleration layer. As such, OpenGL games (such as Half-Life 1) run perfectly well on this setup and in full speed (60FPS), but not so with DirectX games.
Here comes the Wine project for help. It has a translation layer that converts Direct3D to OpenGL commands, and they have precompiled binaries for windows too. If installed on this setup (guest), it then redirects the guest Direct3D commands to the guest OpenGL, which translates into the Host's OpenGL hardware accelerated layer using Virtualbox own translation layer. So it works.
I got around 10 FPS in cockpit view of an open wheeler, and around 20 FPS in wheels view. Some world textures are a bit messed, but not too bad. I didn't try to play though, just connected to an online server and watched for a while.
Here's how it looks:
Interesting
Here's the setup:
Host: E8400/4G/GTX260/XP32-SP3
Virtualbox: Version 3.1.2
Guest: Windows 7 Ultimate 32
Although Win7 should include DirectX by default, IIRC LFS wouldn't run, and so I've downloaded and installed the latest DirectX 9.x.
LFS would now run, but way too slow (1 fps or less). I guess it Does Direct3D in pure software due to missing proper [virtual] hardware drivers.
Virtualbox does support (if enabled) 3D acceleration via OpenGL. So OpenGL commands on the guest are redirected to the Host hardware acceleration layer. As such, OpenGL games (such as Half-Life 1) run perfectly well on this setup and in full speed (60FPS), but not so with DirectX games.
Here comes the Wine project for help. It has a translation layer that converts Direct3D to OpenGL commands, and they have precompiled binaries for windows too. If installed on this setup (guest), it then redirects the guest Direct3D commands to the guest OpenGL, which translates into the Host's OpenGL hardware accelerated layer using Virtualbox own translation layer. So it works.
I got around 10 FPS in cockpit view of an open wheeler, and around 20 FPS in wheels view. Some world textures are a bit messed, but not too bad. I didn't try to play though, just connected to an online server and watched for a while.
Here's how it looks:
Interesting