Slashdot Mirror


Freespace 2 Source Code Released

Initri writes "I read a news article (here) on Gamespot that the Freespace 2 source code has been released by Volition. You can download it there, or you can also download it here. Since I don't have the game installed anymore, I wasn't able to try out the code, but it did successfully compile under MSVC 6.0. Looks like there's a lot of learning potential here." Freespace 2 was one of my favorite games, and I wasted many hours playing it.

46 of 162 comments (clear)

  1. License? by xer.xes · · Score: 3, Interesting

    Under what license is this released? And is it the full sourcecode (with other words: is the 'engine' code also included)?

    I don't want to download the whole file through a dial-up connection...

    --
    xer.xes -- 4181
    1. Re:License? by ceejayoz · · Score: 2, Informative

      The art and models and whatnot aren't included. You have to either own FS2 or make your own... but it certainly opens up a lot of modding opportunities, as long as they're not sold for profit.

    2. Re:License? by martissimo · · Score: 3, Informative

      Gamespot has gone to a pay for use service, try the 2nd link to download. And as to downloading the "whole file", its listed at 3.84 MB...even on 56K thats not much of a DL

  2. here it is by GutBomb · · Score: 4, Informative

    this place has more information, and the code for free download. it's only a 4MB download so it won't take long. let's see how fast it gets slashdotted...

    http://www.freespace-2.com/ddn/sources/freespace2

  3. Re:In other news by ceejayoz · · Score: 2, Interesting

    People may have stopped playing Freespace, but they certainly haven't stopped playing Freespace2! Just look at the fansites - FS2 has a very active modding community and plenty of people still play multiplayer.

  4. Freespace 2 by 56ker · · Score: 2

    As I've never heard of the game before this /. article - would somebody mind filling me in as to what type of game it is - what it's about etc?

    1. Re:Freespace 2 by ceejayoz · · Score: 2, Informative

      Freespace2 is a space combat simulator - take a look at the official site for some info and screens.

      Beautiful graphics, huge battles between capships, great gameplay and a fun story. :-)

    2. Re:Freespace 2 by Ephemeriis · · Score: 4, Informative

      Freespace 2 is a space flight sim, vaguely similar to the Wing Commander type games. The storyline is basically linear, though there are a few branching points here and there, a few optional missions. You have numerous opportunities to earn medals throughout the game, you can finish with a ton of medals, or none at all. There's a good selection of ships and weapons to choose from, and a very interesting storyline, good graphics, all-around a very satisfying arcade flight sim. Not terribly realistic though. Freespace 2 also has some very good multiplayer modes, from a traditional deathmatch to some mission-oriented games, even a multiple mission storyline to play through. Again, you can earn medals and like kinds of things in multiplayer. There was also a very nice editor for the game. I wasted several months of my life to this game, it was great fun. Unfortunately, it's hard to find a multiplayer game anymore..... I've still got it sitting on my HD though, and I still play it fairly often. Still haven't seen another space flight sim this good.

      yrs,
      Ephemeriis

      --
      "Work is the curse of the drinking classes." -Oscar Wilde
    3. Re:Freespace 2 by 56ker · · Score: 2

      Just because I run a gaming site doesn't mean I therefore automatically have knowledge of all games ever written! Have a thought as to what you're writing before you post it next time.

  5. Quoth the code... by ceejayoz · · Score: 5, Informative

    /*
    * Copyright (C) Volition, Inc. 1999. All rights reserved.
    *
    * All source code herein is the property of Volition, Inc. You may not sell
    * or otherwise commercially exploit the source or things you created based on the
    * source.
    *
    */

    1. Re:Quoth the code... by Jacek+Poplawski · · Score: 2

      Is that mean, that no Linux version is possible? AFAIR Doom engine is GPL, but what about Heretic/Hexen/etc ? Source was released, but who (and how) ported non-GPL sources to Linux?

    2. Re:Quoth the code... by rodgerd · · Score: 2

      You can't benefit comemrcially. So you could indeed port it to Linux if you were so inclined, but you couldn't sell it (although you couldn't be compelled to release the source code if you wanted to do a binary only release).

    3. Re:Quoth the code... by lemox · · Score: 2

      Why the hell does code have to be GPL to be ported to Linux? You've been listening to Ballmer and Gates a little too much.

      --

      "We obviously need a new moderation category: (-1, Woo-fucking-hoo)" --Mr. AC

    4. Re:Quoth the code... by Jacek+Poplawski · · Score: 3, Informative

      Why the hell does code have to be GPL to be ported to Linux?

      When code is under GPL -> it can be changed and distributed -> ported to Linux. When code is not under GPL -> it's under another license. Some licenses allow to change and distribute changed code, some doesn't. What is license of FreeSpace2 code?

    5. Re:Quoth the code... by ceejayoz · · Score: 2, Informative

      The FS2 code does not appear to have a license agreement, other than that statement that you may not use the source for commercial gain. Porting it to Linux, making a new game using the engine, etc are within the limits of that copyright statement as long as they are distributed for free.

    6. Re:Quoth the code... by mark_lybarger · · Score: 2

      gpl only requires that if you distribute binary versions, you also make the sources available. and the recipient of those sources can make and distribute changes to those sources (only under the same license terms).

      i don't think it is feasable for all gpl code to be ported to linux (gnucleus, virtualdub, etc).

      as noted above, freespace2 license appears to allow modifications to the source, and allows for redistribution. it restricts any commercial profit from the product. this seems to disallow linux distros from including it w/o special licensing.

  6. The secret to hard encryption by Traa · · Score: 5, Funny

    line 447, projects\freespace2_public\code\Parse\Encrypt.cpp

    "ushort haha_you_dumbass = 0xe2A8;"

  7. Fileplanet Mirror by ceejayoz · · Score: 3, Informative

    I've mirrored the code on FilePlanet for those of you who can't download from 3DDownloads. Enjoy!

  8. The Situation Around this by greg2000 · · Score: 5, Interesting

    As a major contributor to the fan community of Freespace 1/2 I'll give you the background on this. Freespaces 1 and 2 were Originally relesed when Volition used Interplay as their Publisher. Since then Volition has been bought by THQ, a rival publisher although Interlplay still heald the rights which is why thes has been a bit sluggish. Interplay, as you know, was consumed by Titus recently and with a lot af campaigning by Dave Baranec (Head Programmer for Volition), on behalf of the fan community managed to get it relesed. Go over to http://www.3dap.com/hlp (Hard Light Productions) which is where the main hub of FreeSpace Development exists now since Volition's official BB was closed due to abuse. And don't forget to check out the forums. There is also a project going to create a Freespace Like game from scratch.

  9. Descent development by shannara256 · · Score: 5, Informative

    Well, first off, there's more information at http://www.freespace-2.com/ddn/sources/freespace2/ , along with a rar version that's about 2.7 meg.

    The source code for Descent 1 and for Descent 2 has also been released, and you can find them at http://www.freespace-2.com/ddn/sources/freespace2/ , along with information about the engine and a mailing list.

    I'm not entirely sure, but since Parallax developed Descent 1 & 2 for Interplay, and Volition developed the Freespace games for Interplay, I think that Interplay would be the one to get credit, at the very least for convincing the other two to release the source. Interplay is earning major karma points...

    -Jason-

    1. Re:Descent development by Jimmy_B · · Score: 2
      I'm not entirely sure, but since Parallax developed Descent 1 & 2 for Interplay, and Volition developed the Freespace games for Interplay, I think that Interplay would be the one to get credit, at the very least for convincing the other two to release the source. Interplay is earning major karma points...
      No, the credit goes to Parallax, of which Volition is one of two divisions. After Descent 2, when Parallax opened a second office, they decided to that the two offices would remain the same company, but would work on separate projects; they're known as Outrage and Volition. Volition works on Freespace, and Outrage on Descent.

      Of course, Interplay may have a part, but the fact that both games were written for Interplay isn't evidence in itself.
  10. Favorite game, eh? by zCyl · · Score: 4, Funny

    Freespace 2 was one of my favorite games, and I wasted many hours playing it.

    Weakling. It isn't a good game unless you have wasted YEARS playing it. %-)

    1. Re:Favorite game, eh? by 56ker · · Score: 2

      If you prefer posting to /. instead - you can't be that addicted yet!

  11. Freespace Developer's Communities by greg2000 · · Score: 3, Informative

    For is interested in developing MODs and whatnot for this game I'll stick a load of links to the fan communities for this game and with some info about them.





    Hard Light Productions It has only been going for about a year but this is where the main development for freespace goes on with active forums containing Render art mods and general discussion.


    Freespace Watch The freespace branch of Volitionwatch, a large fan site covering all volition games with fairly strong links to Volition themselvs. Volition frequent the forums there. The place is slightly less MOD oientated than HLP but there are still lots of projects hosted including one total conversion for Babylon 5 which is well underway.

  12. Check Out The Game Profile Page: by citizenc · · Score: 4, Interesting
  13. Re:In other news by 0x0d0a · · Score: 2, Informative

    People have stopped palying[sic] FreeSpace about 3 years ago

    That doesn't stop people from learning from the code and making neat projects with it.

    Open Source isn't just about getting a free dinner...it's about getting to play around with code. We just covered Wolf 3d and Doom algorithms in our graphics course when covering older graphics techniques.

    If you want direct, practical, non-developer benefits, it's led to Linux ports of neat games, such as Bungie's Marathon/Aleph One. It's led to improved games, like PrBoom. It's revived development interest in various projects, such as zsnes (still the only Linux snes emulator that can do Seiken Densetsu 3).

    Besides, maybe you're the type that plays games for a bit, but there are also people (myself included) that don't play new releases much, but love going back and playing an old nostalgic game now and then. :-)

    I guarantee you that people will be poking around at and playing with Freespace 2 much longer because of the source release. I suspect that most people would have forgotten about neat games like Abuse had it not been for its open-sourcing. The result of an open-source clone -- Exult has produced quite a bit of Ultima 7 playing again. The same goes for scummvm, the clone of Lucasart's engine used in Day of the Tentacle and Sam and Max. Plus AGIL and Sierra's AGI system.

    Open Source is generally a Good Thing. Please don't rag on people for doing good things like this -- sit back and enjoy it, or if you aren't yet interested, wait until someone hacks around with the code a bit. Then enjoy. :-)

    I wanna know if this will compile under gcc.

  14. A few questions... by gklinger · · Score: 2, Interesting
    I read the (brief) article at Gamespot and I also looked at the Freespace 2 website but I'm still not clear on a few things.

    Since I don't have the game installed anymore, I wasn't able to try out the code, but it did successfully compile under MSVC 6.0.

    Is this the complete source code of the game and if so, why couldn't the author try out the code without having the game installed?

    Also, I had never heard of this game before now (I live under the third rock on the left) so I'm wondering if it is still available for sale somewhere or if I need to start scouring the web for a used copy? From the screenshots, Freespace 2 appears to be similar to Homeworld and Terminus. The latter is noteworthy as a there are versions for Linux and Mac OS 9. I was quite suprised (and very pleased) to find all three versions included in the same box.

    1. Re:A few questions... by Drakin · · Score: 2, Insightful

      Like most releases of source code for commercial engines, the data for sounds, maps, textures, models etc is not released with the code. that's why it couldn't be run.

    2. Re:A few questions... by ProfMoriarty · · Score: 2
      Like most releases of source code for commercial engines, the data for sounds, maps, textures, models etc is not released with the code. that's why it couldn't be run.

      Ahhhh ... but if you go to Descent Developer Network you can select the FreeSpace 2 link, and receive specifications on how the data is comprised for the sounds, maps, textures, models etc.

      Granted you STILL WOULDN'T be able to play the game, but you now have more insight on the data to mod the current game ...

      --
      Karma? Karma? I don't need no stinkin' karma.
    3. Re:A few questions... by Fweeky · · Score: 4, Informative

      > why couldn't the author try out the code without having the game installed?

      Like Quake, Doom, etc, the data files were not released, only the code for the engine/exe.

      > I'm wondering if it is still available for sale somewhere

      Yes. I bought the Virgin Interactive "White Label" edition, which includes FreeSpace 1 and 2 for under £10 a few months ago. You should be able to pick up a copy. £10's damn good concidering that's 6 CD's worth of game :)

      > From the screenshots, Freespace 2 appears to be similar to Homeworld [sierra.com] and Terminus [vvisions.com].

      Not quite. FreeSpace 2 is more like a space flight sim; you get to fly about in a fighter craft, often around big-ass capital ships you either get to protect, destroy, or run away from. Sometimes in quite yummy nebula's (quite a sight when you see the shadow of an enemy superdestroyer come into view, filling half the sky before melting one of the destroyers you're escorting in one shot :)

      The beam weapons are lovely and substantial; get hit by an anti-fighter beam and you get knocked about like a tin can while you desperately try to get out of it's way.

      There are a few very good quality mods too. I can personally recommend the truely excellent Derelict; VolitionWatch is down at the moment though.

  15. Re:This is bull shiz by 0x0d0a · · Score: 2, Interesting

    Assuming it isn't using MFC, it probably could be ported to gcc in a week tops.

  16. kernel, compiler, and other OS Components by yerricde · · Score: 5, Insightful

    I have seen many VB apps claim to be under the GPL; but since Visual Basic has no open source compiler, no sir, they are not.

    It doesn't need a free compiler to be free software. (Wasn't Emacs GPL'd before GCC was finished?) The GNU GPL, section 3, states that "However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable." So as long as you distribute Visual Basic's runtime separately from the application, it's possible to GPL a VB app. (VB.NET makes this even easier because the .NET runtime is available from Windows Update.) However, a free app that relies on a non-free compiler is still useless to the Free World.

    --
    Will I retire or break 10K?
  17. robotech by blank · · Score: 2, Informative
    robotech mod

    there's a robotech mod for freespace. very neat. i'm hoping the source to freespace will help them out.

    --

    bah. start over

  18. Re:This is bull shiz by silverbax · · Score: 2, Interesting

    You can compile VB apps without the VB IDE.

  19. Hours Wasted? by gambit3 · · Score: 3, Funny

    Time playing Freespace 2 was NEVER wasted.

  20. Re:This is excellent news by MisterBlister · · Score: 2, Informative

    It would take quite a lot of effort to port it to Linux -- its all written in DirectX 5 and the rendering code isn't particularly well abstracted.

  21. confusing license by Trepidity · · Score: 2

    That makes it a bit unclear what you can do with it. On the one hand it says "All rights reserved", which means you can't distribute derivative works without Volition's consent. But on the other hand, it explicitly says you can't sell or otherwise commercially exploit derivative works, which sort of implies that you can distribute them as long as you're not doing it for profit. But it'd be nice if this were more explicitly stated.

  22. Re:This is excellent news by rmull · · Score: 2, Informative

    There's also a glide backend. And one of the links posted in another comment said that there's also a bare-bones opengl renderer, so it sounds like the whole thing's pretty well abstracted.

    --
    See you, space cowboy...
  23. Game Backlog by rubinson · · Score: 2

    Okay, my gaming backlog has gotten seriously out of control. They've released the source code for a game that I haven't even gotten around to playing yet! I really need a few weeks off from real life to catch up. (Of course, I probably need to upgrade my Pentium 200 first.)

  24. Re:Can't DL it from GameSpot by styrotech · · Score: 2, Funny

    Does that mean that Gamespot are commercially exploiting the source? ;-)

    (I was refering to the copyright notice mentioned above)

  25. what it's really about by moosesocks · · Score: 2

    This is what Open Source should be about. Granted, there will never be a day where all software is free and source code is available. The simple idea of that is balderdash. Most of the software industry would grind to a halt. But I digress.

    This is definitely a step in the right direction and should be viewed as a giant step in the right direction for the open source movement. Granted, the code isn't free to use commercially, and only the engine is included in the source; the point is that several free projects have this engine to work off of, and programmers-in-training can examine the code and learn from it.

    This should be seen as 'doing a good deed' and 'helping the community'. It's there so everyone can learn from it and boost the overall gaming industry.

    It is also a giant leap in the right direction for free software in that companies are acknowledging the free software movement and releasing the sources to the products which no longer are sold or generate a substantial revenue. If the BeOS source were to be released, the community as a whole would benefit greatly. Not to serve as flamebait, but BeOS is superior to almost all othe Operating systems today, and if the source were released, it would have a good chance of becoming #1 if the vollunteer developers put enough effort into it. Other projects benefit from seeing the source, as well. They may choose to intergrate certain elements (the BeOS UI on linux.. *wipes drool off keyboard*), or they may choose to simply examine the technique of how an operating system SHOULD be written. Heck, the thing boots in less then 5 seconds on my slightly dated pc.

    This is certainly a nice change from the game publishers requesting that sites such as The Underdogs take down full versions of titles produced by independent developers whose assets were purchased by the publisher after they went bankrupt.... and the games are no longer sold in any stores, and the publisher refuses to sell them or provide a copy if contacted. and many of these games were made over 10 years ago. Sometimes lobbying them to make the games free works, but there is a little-known organization which is the software world's equivilant to the RIAA which urges companies not to release their dated products free with the thinking that other companies may follow and unintentionally destroy the software industry.

    Isn't that pathetic.

    But why would the publisher want people to learn from their code? They could be worried the person may found his own gaming company, release a product which puts them out of business (highly unlikely :) ). Chances are they won't. Chances are, if they become familiar with the code enough and learn enough about game programming, there is a good chance the person may seek employment from that company. So it does have potential to benefit the company.

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
  26. Hack it all by loki4eng · · Score: 3, Insightful

    No you are not an idiot. The hell with school and just hack like a mofo. Seriously, in the end, all professionals are self-trained. Best of luck.

    --
    It's nota my planet, monkey-boy - Dr Lizardo.
  27. This sucks... by Danse · · Score: 2

    I just dug this game out again a few days ago and was looking forward to playing again. Then I found out I was missing Disc 2. Aaargh!! Now this story shows up just to rub salt in my wound. :(

    --
    It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
  28. Bug Report by GregWebb · · Score: 2

    OK, now the source is out, let's see if anyone can help me here :-) (Or direct me to the better people to talk to)

    Neither Freespace game works on my PC. This sucks, because they've always seemed really cool when playing them elsewhere. However, it misreads my joystick. Despite nominally taking its config from Windows, it puts the centre quite some distance off meaning the hands off attitude is a spin and I have a very low possible turn angle in one direction.

    This, as you can imagine, is irritating, especially as tech support, once I'd confirmed latest DX, took the 'oh, it does that sometimes' position.

    I already own a legal but useless copy of Freespace 2 and a Cyborg 3D, so can test it pretty extensively. I like this sort of game and want to be able to play it. If anyone wishes to debug this problem I will gladly assist with playtesting any fixes produced, debug info from my PC as required, whatever is needed beyond actual code because I'm not too hot at C++ :-)

    Anyone?

    --

    Greg

    (Inside a nuclear plant)
    Aaaarrrggh! Run! The canary has mutated!

    1. Re:Bug Report by GregWebb · · Score: 2

      This Cyborg's one of the older gameport models, not USB. Besides, I've had it work with this Cyborg on other machines before, it's just something peculiar to my setup (possibly the no name sound card) which mucks up the joystick for both Freespace games but nothing else.

      Hence my suggestion - it's an odd, apparently pretty specific bug but I can reliably reproduce it and am willing to test possible fixes if anyone's working on this sort of thing.

      --

      Greg

      (Inside a nuclear plant)
      Aaaarrrggh! Run! The canary has mutated!

  29. Re:Newtonian Mechanics by SuiteSisterMary · · Score: 3, Informative
    If you are looking for a game with real good newtonian physics try Independence War (or if in europe its called I-War.
    People without 3dfx cards need not apply. I wish SOMEBODY would get around to releasing an official GLide emulator.
    --
    Vintage computer games and RPG books available. Email me if you're interested.