Jump to content


Source code for CRYEngine


15 replies to this topic

#1 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 29 April 2012 - 04:43 PM

Hello Guys,

I wanted the source code for CRYEngine game engine.
Where can I find it??




Thanks and Regards,
Sujay

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 5309 posts
  • LocationSanta Clara, CA

Posted 29 April 2012 - 06:54 PM

You can't unless you pay Crytek a lot of money. See their licensing page.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 30 April 2012 - 06:35 AM

Oh.Ok.But I want to see the code of a few game engines.Which ones have source code freely available??

#4 Tottel

    Member

  • Members
  • PipPip
  • 49 posts

Posted 30 April 2012 - 07:12 AM

Oh look! This site has its own database of game engines, which you can even filter on licenses.


.. How convenient.

#5 jbadams

    Member

  • Members
  • PipPip
  • 27 posts
  • LocationVictoria, Australia

Posted 30 April 2012 - 07:32 AM

Irrlicht is a popular open-sourced engine. If you search for them, id software open source all of their old engines as well. As tottel says above, devmaster has a database of engines you can search if you want more/alternatives.

Why do you want to look at the source of an engine though? If you're thinking you'll learn from it, you're probably mistaken -- completed engines are extremely complex, and whilst it can be valuable to look at how some particular thing has been done, if you don't already have a lot of experience and aren't looking for something in particular you'll probably simply be overwhelmed by the amount of code; you also won't know why particular decisions were made, which makes it hard to know if a particular decision was made because it's actually a good idea, if it was rushed to get something working for release, if it's messy but helps with performance on certain platforms, etc.

#6 Anddos

    Valued Member

  • Members
  • PipPipPip
  • 177 posts

Posted 30 April 2012 - 12:06 PM

The one thing you're going to get close to source code is

Far Cry SDK C++ v1.33

#7 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 30 April 2012 - 01:50 PM

View Postjbadams, on 30 April 2012 - 07:32 AM, said:

Irrlicht is a popular open-sourced engine. If you search for them, id software open source all of their old engines as well. As tottel says above, devmaster has a database of engines you can search if you want more/alternatives.

Why do you want to look at the source of an engine though? If you're thinking you'll learn from it, you're probably mistaken -- completed engines are extremely complex, and whilst it can be valuable to look at how some particular thing has been done, if you don't already have a lot of experience and aren't looking for something in particular you'll probably simply be overwhelmed by the amount of code; you also won't know why particular decisions were made, which makes it hard to know if a particular decision was made because it's actually a good idea, if it was rushed to get something working for release, if it's messy but helps with performance on certain platforms, etc.

Yes Adams I understand that they are very complex.
But it would be nice to have sample source code.
I have a book Game Engine Architecture-Jason Gregory,which provides technical background for it.Having source would make it better.What do you feel?

#8 geon

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 30 April 2012 - 02:10 PM

View Postsujay, on 30 April 2012 - 01:52 PM, said:

Yes Adams I understand that they are very complex.
But it would be nice to have sample source code.
I have a book Game Engine Architecture-Jason Gregory,which provides technical background for it.Having source would make it better.What do you feel?

It would be useful if the book was written for a specific game engine, explaining it and walking you through all parts of it and how they interact.

Looking at the source code of any random engine and hoping to understand your book better isn't realistic.

#9 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 30 April 2012 - 02:20 PM

View Postgeon, on 30 April 2012 - 02:10 PM, said:

It would be useful if the book was written for a specific game engine, explaining it and walking you through all parts of it and how they interact.

Looking at the source code of any random engine and hoping to understand your book better isn't realistic.

So it means that Source code of game Engine is not of much use until we do not have the relevant documentation?
Also where can I get the required documentation of game engines given I have the source code?

Also guess game Engine development is possible.What do you feel?

#10 geon

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 30 April 2012 - 03:17 PM

Yes, the source code is useless without documentation. An experienced programmer can understand any source code with enough time and work, but it is not worth all the work without documentation.

You will find the documentation from the same place where you find the source code.

It is absolutely possible do develop your own engine, but it will take a lot of work to even become good enough to undertand how to build it.

#11 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 30 April 2012 - 03:30 PM

View Postgeon, on 30 April 2012 - 03:17 PM, said:

Yes, the source code is useless without documentation. An experienced programmer can understand any source code with enough time and work, but it is not worth all the work without documentation.

You will find the documentation from the same place where you find the source code.

It is absolutely possible do develop your own engine, but it will take a lot of work to even become good enough to undertand how to build it.

Thanks a lot Geon.
I am an absolute beginner in this field.
I have a dream of buidling game engine(s).
I am from BANGALORE,INDIA.
I want to make it a hobby as right now there are not many Game companies in India.
So could you advise me on how to approach it as a hobbyist - the code and books I need to refer.Books should deal with Modelling ,Design and Implementation.
As I said before I have a book on Game Engine by Jason Gregory.

Also I feel game Engines are one of the most complex software systems.So designing and implementing Games Engines has its added advantages as well as it would improve one's modelling,design and programming capabilities by leaps and bounds.Isnt it?

Regards,
Sujay

#12 Reedbeta

    DevMaster Staff

  • Administrators
  • 5309 posts
  • LocationSanta Clara, CA

Posted 30 April 2012 - 04:47 PM

sujay, when you quote someone else's post please don't post twice. Just add your own reply underneath the quote in one post.
reedbeta.com - developer blog, OpenGL demos, and other projects

#13 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 30 April 2012 - 06:12 PM

View PostReedbeta, on 30 April 2012 - 04:47 PM, said:

sujay, when you quote someone else's post please don't post twice. Just add your own reply underneath the quote in one post.


Ok.Sorry.
You mean this way?

#14 Reedbeta

    DevMaster Staff

  • Administrators
  • 5309 posts
  • LocationSanta Clara, CA

Posted 30 April 2012 - 06:55 PM

Yes.
reedbeta.com - developer blog, OpenGL demos, and other projects

#15 geon

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 30 April 2012 - 09:31 PM

View Postsujay, on 30 April 2012 - 03:30 PM, said:

I am an absolute beginner in this field.
I have a dream of buidling game engine(s).

Then you have a lot of learning in front of you. Actually, you should probably forget about building an engine for a while. Just focus on learning as much as possible about programming, and getting experience.

Begin with learning the absolute basics of programming, so you know how to use your tools. You need to know your programming language, a bit of the standard libraries (how to load data from files, how to draw graphics of the screen and detect keyboard presses), and you need to know how to run your program, find bugs in the code and package it for others to use.


This is important! Pick a language that is easy to get things done with. Python ( http://www.python.org/ ) is a great language for programming games. C++ is probably a bad idea for a beginner. It is too picky with the tiny details. I started a new C++ project a few days ago, after using other languages for a several years, and I can't understand how I didn't get tired of it when I was a beginner.

Then make something. It doesn't really matter what you build. Games are great, because they are fun and relevant to your dreams. Start simple. A game like Tetris is great for learning the basics of game programming, and practice your skills. Go on and try using a few diffrent game engines to see how they are used to build games.

Then, some day in a few years, you'll realize you have a basi understanding of what the game engine does, an you are ready to to try to build something on your own.

View Postsujay, on 30 April 2012 - 03:30 PM, said:

So could you advise me on how to approach it as a hobbyist - the code and books I need to refer.Books should deal with Modelling ,Design and Implementation.

Since you are writing here, I'm guessing you have an Internet connection. Use it. The Internet has more great stuff to learn from than all the books you can ever buy.

Try following this free Python book: http://inventwithpython.com/chapters/

It will teach you everything you need for writing a simple game.


View Postsujay, on 30 April 2012 - 03:30 PM, said:

So designing and implementing Games Engines has its added advantages as well as it would improve one's modelling,design and programming capabilities by leaps and bounds.Isnt it?

Not really. Building an engine requires programming skill. It won't make you a better designer.

#16 sujay

    Member

  • Members
  • PipPip
  • 30 posts

Posted 01 May 2012 - 03:49 AM

View Postgeon, on 30 April 2012 - 09:31 PM, said:

Then you have a lot of learning in front of you. Actually, you should probably forget about building an engine for a while. Just focus on learning as much as possible about programming, and getting experience.

Begin with learning the absolute basics of programming, so you know how to use your tools. You need to know your programming language, a bit of the standard libraries (how to load data from files, how to draw graphics of the screen and detect keyboard presses), and you need to know how to run your program, find bugs in the code and package it for others to use.


This is important! Pick a language that is easy to get things done with. Python ( http://www.python.org/ ) is a great language for programming games. C++ is probably a bad idea for a beginner. It is too picky with the tiny details. I started a new C++ project a few days ago, after using other languages for a several years, and I can't understand how I didn't get tired of it when I was a beginner.

Then make something. It doesn't really matter what you build. Games are great, because they are fun and relevant to your dreams. Start simple. A game like Tetris is great for learning the basics of game programming, and practice your skills. Go on and try using a few diffrent game engines to see how they are used to build games.

Then, some day in a few years, you'll realize you have a basi understanding of what the game engine does, an you are ready to to try to build something on your own.



Since you are writing here, I'm guessing you have an Internet connection. Use it. The Internet has more great stuff to learn from than all the books you can ever buy.

Try following this free Python book: http://inventwithpython.com/chapters/

It will teach you everything you need for writing a simple game.




Not really. Building an engine requires programming skill. It won't make you a better designer.
Ok.Thanks a lot .
Yes I have Internet connection.But I feel 1 book is required and rest can be learnt from Internet.
Ok I will try out the book you said and also learn python and build some games using it.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users