Showing posts with label IL2 on a Mac. Show all posts
Showing posts with label IL2 on a Mac. Show all posts

May 5, 2009

Run IL2 on a Mac

NOTE: This post is the answer to a guy who wants to run IL2 on a MacBook with 4GB of RAM, but it would work for any Unix-based systems (Mac, Linux, *BSD, etc).
You need at least 2GB of physical RAM to do this. Much better if you have 3GB or more.



Postedby neuro: Tue May 05, 2009 7:10 pm Post subject: Re: My stats stink because of.....
You have to install a VM (Virtual Machine) inside your Mac, install Windows in your VM, and IL2 in your virtualized Windows.
A virtual machine lets you install a whole OS that runs in a window. maximize that window, and there you have it: "Win-in-Mac".

One virtualization software that offers the a good overall performance and at the same time is pretty straightforward and easy to use is VMware, which costs money. Another problem, at least it is for some of us, is that VMware is closed source (no access to the source code) meaning that _anything_ could be in there for, what we know... but on the other hand, that's true of Windows and MacOSX too.

The good news: VMware supports 3D acceleration, so you can play games on a Mac (and on almost any other OS, for that matter). It's very easy to set up and use.

There are many software solutions for virtualization, I don't know how many of them have a Mac version but some of them are open source, and if you can get the source code you can compile it for your OS.

Virtualbox is a fairly good alternative to VMware, it doesn't cost money but I dont think it's open source either. It's made by Sun Microsystems, same guys who make Java. I dont know if there's a Mac version, google it. It's not as easy to use as VMware but still not difficult. It does 3d acceleration but (at least on my Linux system) it has some issues.

Qemu is open source, meaning that even if there's no Mac version, you can always compile it yourself. on the other hand, it's not so good at 3D acceleration, it solves it ( *nix systems like Linux, *BSD, etc) loading a couple of kernel modules, but I don't know how you do that on a Mac
On the other hand, the Mac is Unix-based after all. Much of the 'magic' is very similar to *nix.
Qemu is also less easy to use, compared to Virtualbox and most of all to VMware.

Those are not the only existing options but the ones I could name right away (OK, I can name Xen too... but that's definitely not what's you're looking for). Do some research and figure out what's the best choice for you.

Whatever virtualization software you decide to use, some things are always the same:
You need a lot of RAM. I don't know how much RAM a MacBook has (I would never buy a Mac and dont understand why people do) but I know that you need at least 2G _for the VM alone_ in order to play games and get acceptable performance.

That means, you have to set up your VM to use up to 2GB of ram (more, if possible), and you need more memory to run MacOSX where the VM runs.
With a 4GB Macbook you should be OK. You can set your VM to use 3GB of RAM, and shut down all the programs that you don't need before launching the VM.
Or, you could set the VM to use up to 2GB of RAM and leave another 2GB for MacOSX.
This way you wouldn't need to shut down everything before launching the VM... at least for the RAM (but what about CPU?).
I would go for the "extreme" solution: 3GB for the VM and shut down just about _everything_ that isn't needed to keep OSX up. That would translate to max performance, but the bad news is that you'd need to go through a checklist before every gaming session
After the session, the easiest way to restore everything is to simply reboot, but going through your checklist "in reverse" would work too.

Also, tweak the Windows OS that you install in the VM: there's a lot of stuff that Windows runs by default "just in case", that you wont need on a gaming-dedicated OS. Have a look at http://www.tweakxp.com

Even if you tweak your virtualized Windows to the limit, and take the time to shut down everything that you dont need (on OSX) before launching the VM, games that run in a virual machine never have the same performance of the same game running on a "real" (physical) box with the same specification of your VM (in other words, you probably won't be able to run Perfect mode)
And of course, run XP in that VM. Dont even _think_ of running Vista.

NOTE: this is NOT a guide at _all_, I'm just pointing you in the right direction. Do your homework!