BlackMesa in VirtualBox on Ubuntu host - no startup

Hi guys, first of all thanks a lot for your work! As you probably have guessed, I am one of the nostalgia addicts which played Half-Life. However, I’ve tried to install it in VirtualBox, all is well with a DirectX 9.0c on a XP machine. SDK 2007 is installed (and can access it, logo is shown) Steam sees the game, but when I launch it, unfortunately it pops up a black screen and then minimizes and closes.

My guess is maybe the video card since its Virtual Box Oracle emulated one. So far, I’ve given it 128 mb of ram and went for 3rd and 2d support as well as all other futures that are available.

Host specs: core i3 (3 cores reserved for the machine), 4 gb of ram (1.5 gb of ram is reserved for the machine), Intel video card with HD support and all that stuff that comes with Intel I3. Since there is no support for Linux (yet?), I am really trying to run this how I can.

Any ideas? By the way, I don’t have SDK 2006 installed, is that required?

Later edit: Well it seems that SDK2006 is required as well in order to play it.

Later:
Well … after fully getting 2006 as well, seems that I have the same issue, so this wasn’t necessary to be fully downloaded only left partially as it was from 2007.

I am stuck now. Help! I’ve tried to run it with +mat_forcehardwaresync 0 -dxlevel 90 but still the same issue.

Trying another option and installing Source SDK simple as seen in troubleshooting faq screenshot.

Later edit:
And so I’ve tried everything, the -window, the -fullscreen, the -dxlevel, all SDK installed, etc. I know the FAQ says it doesn’t get well with Intel HD cards but is really no other way at least to play it at a low reso?

I assume you have tried running it in Wine, right?

Also, I’ve read of some really hackish way to do a GPU pass-through (eject it from host and let the VM use it exclusively) but that was a discrete card and the setup was a nightmare, requiring a second GPU or SSHing into the host when the GPU is ejected.

Just install XP on a 5Gb partition and you’re good.

Hi! Thanks for your time to make a post. Yes indeed, I’ve tried to run it in wine, when trying to install the SDK it prompted me with “Your OS is not supported” or something like that.

I will do some research on this.

This thread is about an XP machine in VM which is the guest and is on a Ubuntu 12.04.2 LTS host.

Any further ideas maybe the more simplistic way (if there is one) to not get into complex stuff like GPU sharing and such?

Later edit: I will try with steam from winetricks and maybe this will do it, I will return with feedback.

I am feeling like a fool now. I followed this YouTube video tutorial and encountered the sha sum problem with SteamInstaller.msi to which I found a solution here. It is getting SDK right now.

It works :slight_smile: kind of slow for High settings (Source stress test confirmed), well I’m glad I didn’t waste several days on this. So hopefully is fine now.

Thanks for everything!

Sorry for double posting, but it seemed to me more clean this way, if it is wrong, please merge with my above reply.

So I’ve just finished Black Mesa at least this first part until Xen and I enjoyed it very much.

For those of you which run Intel I3 processor’s video card and run it with Wineprefixes but encounter crashes this is my story:

  1. Game detects High settings as default and recommended, obviously, this isn’t the case, so you will play several levels with those settings but you will encounter one of the following: a) game crashes often when Loading between stages ; b) game crashes in certain scenarios where you do something (shoot, bomb etc.) and a monster is spawning or you are moving fast the pointer etc. - try to lower the settings to Medium when it gets worse and you encounter very often the situation

  2. After playing with recommended settings, I’ve always launched with +fps_max 66 the game, moreover, I didn’t had any issues turning on flashlight and getting crashes or anything similar, however, in certain scenarios it will crash very bad in which you cannot recover, for example, you cannot even switch to another terminal emulator screen (CTRL + ALT + F6/7/8 for Ubuntu 12.04.2 LTS), from now on I’ve ran it with -window and configured my launch bar and windows bar (the top and above) to autohide then I specified the resolution for the window and it was almost like playing in full screen

  3. From a specific level, I would get very often crashes, from stuff like just changing the weapons and then shoot, or just moving the mouse to an area to which it was more graphic consuming (lots of stuff, like flames etc.), this is the point where I started to play at Low settings, especially the Shadows settings

  4. When you quick save and try to load from a saved game you will get crashes with different messages, like cannot allocate certain amount of bytes memory etc. even if the stage where you load is just a passage so nothing big which requires a lot of resources to load - this problem was solved for me with Low settings

  5. You get crashes a day after or whatever when you try to load the game, what I noticed was that the settings were reset to default and got High settings again, lower them again to what was before and you should be set.

  6. Sometimes, the crashes make your screen flash, or do weird stuff, in this case most probably (at least in 95% of my cases) compiz had crashed and if you try to spawn it (compiz &) in terminal you will get a Segmentation fault with core being dumped, in this case I have bad news: reboot :slight_smile: sometimes logging out and logging in again worked, but rare. The happy cases where when it was just crashing without any error or message and could just open it again normally and load it from last saved game.

This is pretty much it, my advice is to save very very often! F6 is your friend.

All the best! And thanks again to the developers and everybody who worked on the game, very good work!

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.