Author Topic: Free Space 2 Source Code  (Read 3913 times)

0 Members and 1 Guest are viewing this topic.

Free Space 2 Source Code
Anyone know where I can find the actual source code for Free Space 2? I don't want the SCP, or gog.com. I just want the source code. thank you.

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Free Space 2 Source Code
Do you mean the original, retail source code released in 2002 ? Or the current trunk source code of FSO ? For the latter, I direct you here.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 
Re: Free Space 2 Source Code
I was planning on compiling Freespace 2 with the source code, and then messing around with the files and seeing if the game still runs. but I can't find the source code at all. so the original, I think.

 
Re: Free Space 2 Source Code
okay, to simplify this, I just wanted a compilable freespace 2 source code. I don't want scp because you need game files to get it to work. And one of my coder friends told me I could compile the game from the source code. Then I was going to practice messing things up and getting them to work messed up.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Free Space 2 Source Code
 :confused:  you need the game files for the original code to run as well  :confused:

Unless you're talking about a Total Conversion, in which case you need *some* sort of game files (assets / tables / etc) in order for it to work. The engine by itself, with nothing else, is rather useless ;)

Regardless, you can get the original Freespace2 source code (as released by Volition) from one of the original SVN commits.  (I think it might be commit #5).  See the link that MatthTheGeek posted, any maybe do some googling on getting svn to extract a specified commit number (i.e. not the latest)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Free Space 2 Source Code
I don't want scp because you need game files to get it to work
Whether FSO or retail, you need game assets to run the game. The executable itself cannot run on its own.

If you want playable assets without buying the game, I suggest Diaspora, which is a free standalone.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Free Space 2 Source Code
I don't want scp because you need game files to get it to work
Whether FSO or retail, you need game assets to run the game. The executable itself cannot run on its own.

If you want playable assets without buying the game, I suggest Diaspora, which is a free standalone.

Precisely this.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Free Space 2 Source Code
there are two aspects to Freespace due to the legal situation created when Volition (the developer) was purchased by THQ, while the game was published by THQ's rival Interplay who owns certain rights to the Freespace IP.

the game engine, which is the code that ties all other components together including audio visuals and user inputs is free and has been ever since Volition released the source code to the game engine to the public for free.

The game assets which is everything you see, hear, missions and anything story related is privately owned by Interplay who still require payment for their use which is what you buy when you purchase from GoG and the likes.

So no matter what you do, if you want to play Freespace 2 you need to purchase the game as always.

If you want to use the game engine for something such as making your own game then it is free no matter if you use the original source code or FSO.

In short the game assets have never been released for free, only the code behind the engine.

edit:

I forgot to mention that due to the terms of the Source Code being released it is against the terms of the licence behind it to profit from the engine.
« Last Edit: March 20, 2013, 05:39:51 pm by headdie »
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Free Space 2 Source Code
I'd also strongly suggest checking out the SCP version rather than the original code regardless of whatever you want to do. The SCP have fixed several bugs which you'll have to re-fix on the original code to make the game work.

For instance I suspect you probably have 4GB or more of RAM. In which case you'll get an error about not having enough memory.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Re: Free Space 2 Source Code
For instance I suspect you probably have 4GB or more of RAM. In which case you'll get an error about not having enough memory.

Lol... This was also the issue on the old GoldSource engine if I recall correctly. Is this a persistent issue on old game engines?
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline Luis Dias

  • 211
Re: Free Space 2 Source Code
For instance I suspect you probably have 4GB or more of RAM. In which case you'll get an error about not having enough memory.

Lol... This was also the issue on the old GoldSource engine if I recall correctly. Is this a persistent issue on old game engines?

Is this true still today? I mean, if you donwload from GOG, will you get this error? That would be somewhat terribad.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Free Space 2 Source Code
Lol... This was also the issue on the old GoldSource engine if I recall correctly. Is this a persistent issue on old game engines?

Unless the programmers in question were really futureproofing their code, yes, it is something of a common issue. The problem here is that the code polls the OS for the amount of memory available, and stores the result in a signed 32-bit integer. If you have more than 4GB of memory, this variable will overflow and the code will interpret the result as a negative number. It's an easy fix (just use an unsigned int instead of the signed one), but at the time the code was written, noone thought of user machines with that much RAM, or that the code would still be in use when they arrived.

Is this true still today? I mean, if you donwload from GOG, will you get this error? That would be somewhat terribad.

I _think_ the retail executable that GOG ships still has that issue.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Re: Free Space 2 Source Code
good thing I only have 4GB! and I keep hearing that freespace is like $6 on gog.com, but on the site it says that it is $10. why the confusion? or did gog jack up the price?

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Free Space 2 Source Code
good thing I only have 4GB! and I keep hearing that freespace is like $6 on gog.com, but on the site it says that it is $10. why the confusion? or did gog jack up the price?
I think they did. It used to be $5.99.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 
Re: Free Space 2 Source Code
Yeah, they increased the price.
17:37:02   Quanto: I want to have sexual intercourse with every space elf in existence
17:37:11   SpardaSon21: even the males?
17:37:22   Quanto: its not gay if its an elf

[21:51] <@Droid803> I now realize
[21:51] <@Droid803> this will be SLIIIIIGHTLY awkward
[21:51] <@Droid803> as this rich psychic girl will now be tsundere for a loli.
[21:51] <@Droid803> OH WELLL.

See what you're missing in #WoD and #Fsquest?

[07:57:32] <Caiaphas> inspired by HerraTohtori i built a supermaneuverable plane in ksp
[07:57:43] <Caiaphas> i just killed my pilots with a high-g maneuver
[07:58:19] <Caiaphas> apparently people can't take 20 gees for 5 continuous seconds
[08:00:11] <Caiaphas> the plane however performed admirably, and only crashed because it no longer had any guidance systems

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Free Space 2 Source Code
I blame Diaspora ! They got us too much success.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Free Space 2 Source Code
ooohhhhh kay
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Klaustrophobia

  • 210
  • the REAL Nuke of HLP
    • North Carolina Tigers
Re: Free Space 2 Source Code
$10 is still pretty much a steal.  i paid $80 for my copy.
I like to stare at the sun.

  

Offline Luis Dias

  • 211
Re: Free Space 2 Source Code
Is this true still today? I mean, if you donwload from GOG, will you get this error? That would be somewhat terribad.

I _think_ the retail executable that GOG ships still has that issue.

That wouldn't be sustainable. Lots of people buying a game from your store and you can't play it because you have too much memory? What?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Free Space 2 Source Code
Again, I _think_ that the gog exe has that issue, I do not _know_ for certain, since I don't have the gog version.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns