Where should i start?
Moderator: Moderators
Where should i start?
I'm a beginner on spring. I think, I almost searched the forum and the wiki pages, but couldn't find what I'm looking for.
What I want is a document that shows how the spring works. What is the architecture, and the parts joining together.
Where is the main loop step and how many threads are working together. Is there a sequence diagram or something that shows the relation between client and server.
Could you please help me where should I find this docs and mainly where should I start.
Cheers.
What I want is a document that shows how the spring works. What is the architecture, and the parts joining together.
Where is the main loop step and how many threads are working together. Is there a sequence diagram or something that shows the relation between client and server.
Could you please help me where should I find this docs and mainly where should I start.
Cheers.
Re: Where should i start?
Hi, and welcome to Spring!
If you are on windows your best bet is probably to checkout the source from github, and build it with Visual Studio 2005. That will allow you to get a good overview of how the whole thing fits together.
If you are on windows your best bet is probably to checkout the source from github, and build it with Visual Studio 2005. That will allow you to get a good overview of how the whole thing fits together.
Re: Where should i start?
Thanks dude,Beherith wrote:Hi, and welcome to Spring!
If you are on windows your best bet is probably to checkout the source from github, and build it with Visual Studio 2005. That will allow you to get a good overview of how the whole thing fits together.
I've got the code, have some problem with dependencies and other stuff to building the project, but it doesn't seem to be a big problem and I'm working on it.
The code is pretty clear but what I want is a high level document that gives me a brief view of the project. Just like the architecture document of other engines, I mean smoke, ogre3d and etc.
Re: Where should i start?
You should also get the vclibs package from the github site, as it contains all the deps you will need to build.
-
- Posts: 9
- Joined: 11 Apr 2012, 10:36
Re: Where should i start?
I have this problem too.
I get vclib and used it. but in compiling I get lots of error like this:
error C2471: cannot update program database 'c:\spring rts\spring_88.0\rts\build\vstudio9\debug\vc90.pdb'
actually i can't compile it.
do you know where can i find high level document?
Please help.
I get vclib and used it. but in compiling I get lots of error like this:
error C2471: cannot update program database 'c:\spring rts\spring_88.0\rts\build\vstudio9\debug\vc90.pdb'
actually i can't compile it.
do you know where can i find high level document?
Please help.
Re: Where should i start?
hi and welcome
First, are you sure that you actually want to work on the engine?
Might seem like a strange question but many new people think they have to modify the engine to create a game. (like those seen here: http://springrts.com/wiki/Games)
That is a common misconception, for this purpose you can leave the engine untouched.
---
Also see this similiar thread:
http://springrts.com/phpbb/viewtopic.php?f=12&t=26798
First, are you sure that you actually want to work on the engine?
Might seem like a strange question but many new people think they have to modify the engine to create a game. (like those seen here: http://springrts.com/wiki/Games)
That is a common misconception, for this purpose you can leave the engine untouched.
---
Afaik there is no documentation that explains this. There are some comments that explain details, but no complete "how spring works" documentation.What I want is a document that shows how the spring works. What is the architecture, and the parts joining together.
Also see this similiar thread:
http://springrts.com/phpbb/viewtopic.php?f=12&t=26798
Re: Where should i start?
what knorke said. please tell us what you want to do and why.. that way has the best chance of you getting where you want to, fast.
there are not any documents showing the big structure, because it is so ugly that it is not worth making a diagram for it. it is too much interwoven. best bet might be, if you look at some doxygen genreated diagrams. i think you would have to generate these yourself, though.
there are not any documents showing the big structure, because it is so ugly that it is not worth making a diagram for it. it is too much interwoven. best bet might be, if you look at some doxygen genreated diagrams. i think you would have to generate these yourself, though.
-
- Posts: 9
- Joined: 11 Apr 2012, 10:36
Re: Where should i start?
Hi.
If you look at the name of this topic, you will understand what i want.
I'm going to learn this engine and improve it. where can i find high document of that?
And second how can i compile it in VS 2008, because i get this error during compile it.
.....
1>Console.cpp
1>ConsoleHistory.cpp
1>GameController.cpp
1>..\..\Game\GameController.cpp : error C2471: cannot update program database 'c:\spring rts\spring_88.0\rts\build\vstudio9\debug\vc90.pdb'.
.....
I will be happy if you help me.

If you look at the name of this topic, you will understand what i want.
I'm going to learn this engine and improve it. where can i find high document of that?
And second how can i compile it in VS 2008, because i get this error during compile it.
.....
1>Console.cpp
1>ConsoleHistory.cpp
1>GameController.cpp
1>..\..\Game\GameController.cpp : error C2471: cannot update program database 'c:\spring rts\spring_88.0\rts\build\vstudio9\debug\vc90.pdb'.
.....
I will be happy if you help me.


Re: Where should i start?
JBprogrammer, I very highly recommend you switch to VS2005, if you can. I can reliable compile the engine from it, and can easily help you if you get stuck (there are a few very minor things like adding some files into the project file which arent added by default, but are simple because they throw linker errors).
I dont know of any very high level documentation of how the engine works, but I find the engine and the code structure to be very nice and modular. Your best bet would be to choose and area in which you have previous experience, and try to find ways to apply your skills to improve the engine. I will gladly help every step of the way, to the fullest extent of my knowledge (which isnt much). Just please, try switching to VS2005.
I dont know of any very high level documentation of how the engine works, but I find the engine and the code structure to be very nice and modular. Your best bet would be to choose and area in which you have previous experience, and try to find ways to apply your skills to improve the engine. I will gladly help every step of the way, to the fullest extent of my knowledge (which isnt much). Just please, try switching to VS2005.
Re: Where should i start?
JBProgrammer, "explain how the engine works and i will improve it afterwards", is like saying "give me the formula of the universe and i will optimize it" (yes, engine devs are gods!)Beherith wrote:I find the engine and the code structure to be very nice and modular.
..., to the fullest extent of my knowledge (which isnt much).
what i want to say...
could you possibly tell us what you are good in, what areas you have practical expierence with yet, what are you most interested in...
cause.. you know, you will not come and understand everything and improve it all. that will not happen.
if you give more specific info, we can help you better.
-
- Posts: 9
- Joined: 11 Apr 2012, 10:36
Re: Where should i start?
Thanks a lot for your recommendation. but i bought VS 2008 and i couldn't switch to VS 2005. I think one of the fundamental of Prgramming is solve a problem ,don't run away from problem. I'm here to get help form your experience.
It's better to help me to solve this problem, with solving this problem we can help to the other person to be interested with this engine and start working.
if you think you are my friend and want to help me to solve my problem please say.
Afterward i explain this problem.
yours sincerely,
JBProgrammer

It's better to help me to solve this problem, with solving this problem we can help to the other person to be interested with this engine and start working.
if you think you are my friend and want to help me to solve my problem please say.
Afterward i explain this problem.
yours sincerely,
JBProgrammer



Re: Where should i start?
you already know everythign better... good luck!JBProgrammer wrote:ima trollin
Re: Where should i start?
'c:\spring rts\spring_88.0\rts\build\vstudio9\debug\vc90.pdb'.
I recall the solution is to delete the file, it will be remade when building anyway.
Or check for solutions here: http://social.msdn.microsoft.com/Forums ... e1b4fcd20/
I recall the solution is to delete the file, it will be remade when building anyway.
Or check for solutions here: http://social.msdn.microsoft.com/Forums ... e1b4fcd20/
-
- Posts: 9
- Joined: 11 Apr 2012, 10:36
Re: Where should i start?
Hello again.
I've switched to VS 2005, but i still have some problem with compiling this engine.
Error 352 fatal error C1083: Cannot open include file:'System/VersionGenerated.h': No such file or directory
and this error:
Error 368 error C2653: 'CSyncChecker' : is not a class or namespace name c:\Users\Cristal\Desktop\Source Engin\Spring\rts\Game\Game.cpp 349
.
Can anyone help me?
I've switched to VS 2005, but i still have some problem with compiling this engine.
Error 352 fatal error C1083: Cannot open include file:'System/VersionGenerated.h': No such file or directory
and this error:
Error 368 error C2653: 'CSyncChecker' : is not a class or namespace name c:\Users\Cristal\Desktop\Source Engin\Spring\rts\Game\Game.cpp 349
.
Can anyone help me?
Re: Where should i start?
For the first one, search for a versiongenerated.* file, and rename it to versiongenerated.h
For the second one, (which i think only happens with debug build) just comment out the offending lines.
The next one you will run into will be a linker error. It will find some missing stuff, but that is solved by adding some files to the project which exist in your source folder but arent added to the project itself.
For the second one, (which i think only happens with debug build) just comment out the offending lines.
The next one you will run into will be a linker error. It will find some missing stuff, but that is solved by adding some files to the project which exist in your source folder but arent added to the project itself.
Re: Where should i start?
I had success with eclipse + Windows.
Download the official tarball
Download Cmake for windows
Download MinGW dependencies and also MinGW itself.
follow this guide http://springrts.com/wiki/Building_Spring_on_Windows
until Cmake BUT change target from MinGW to eclipse makefile
.
Turn on eclipse and import the project from filesystem.
Change into eclise buil taarget from all (not working) to install-spring.
I had also the debugger working perfectly in a free environment !!
Download the official tarball
Download Cmake for windows
Download MinGW dependencies and also MinGW itself.
follow this guide http://springrts.com/wiki/Building_Spring_on_Windows
until Cmake BUT change target from MinGW to eclipse makefile
.
Turn on eclipse and import the project from filesystem.
Change into eclise buil taarget from all (not working) to install-spring.
I had also the debugger working perfectly in a free environment !!
Re: Where should i start?
sounds good, thanks! 
could you give us build logs of when you try compiling with all, os we could try to fix the issue?

could you give us build logs of when you try compiling with all, os we could try to fix the issue?