Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Valve just released Alien Swarm on steam, along with all the source code. I would love to build a version of it on my own machine and play a little bit with the code.

Has anyone here tried to build it yet? Is it easy enough to just build and run it?


share|improve this question

closed as too localized by Josh Petrie, bummzack, msell, ClassicThunder, Trevor Powell Apr 29 '13 at 10:17

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I wish I could downlaod alien-sward :( my internet suck. – speeder Jul 21 '10 at 23:41
+1. Woah. I'm checking this out. ;D – The Communist Duck Aug 9 '10 at 13:17
up vote 5 down vote accepted

The basic answer is that you first have to grab the Alien Swarm SDK. It should be a choice in the "tools" menu of your steam client. Download it, it's not very big. Then run it.

One of the options is "Create a mod". This extracts the source code to a useful location for you and sets up some config options. The help guide from that menu has info on how to compile and test it. Or you can view the info on the valve developer wiki. It's setup for visual studio 2005, but I was able to build it correctly with my copy of Visual Studio 2008. Seems pretty well set up for immediate modding.

share|improve this answer
This worked perfectly, thanks for the pointers. – malvim Jul 23 '10 at 8:31

In addition to Ben's answer, a bit of extra work is required to get it building in Visual Studio 2010. For the client project, you need to either change the name of the project from the default "Client (Swarm)" to just "client", or change the Target Name property to "client" from the default "$(ProjectName)". After this, it builds without a hitch.

share|improve this answer
Delta, thank you for your help. I am using VS 2010, and it all worked after renaming. Unfortunately, I can't accept two answers! :) – malvim Jul 23 '10 at 8:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.