Hello there. I have seen many newb people that can't compile The Forgotten Server's source files. Here I will teach you how to compile the source code.
Do not forget to give me reputation points after you read it =)
Credits:
Delirium (For writing the tutorial, main core and the images)
Talaturen (Old Linux part of this tutorial & old The Forgotten Dev-C++)
Elf (First Linux compiling tutorial)
Jonern (Mentioned some errors in the tutorial)
stian (Second Linux compiling tutorial and current Dev-C++)
_______________________________________________
Windows:
First Step:
Download TheForgottenServer's source code from here:
For 0.3.6pl1:
For 0.2.7:
Save the file on your desktop and extract it there. You should have a new folder with the source code of your preference on your desktop (or at least wherever you extracted the contents of the tar.gz file).
You should have these files (or one of this, depending on which version you want):
If you want alternative methods on how you can download the source code, check below.
Second Step:
Download this Dev C++ from here: Stian's Dev-cpp repack 0.2 (with crypto++ and 64bit) !
This Dev C++ includes Lua 5.1, Boost and many other libraries that might be essential for you.
Extract it in C:\
Third Step:
Open up your Dev-Cpp. The first time you open it, a dialogue box will open up and ask you for some of your preferences, pick whatever you wish and go ahead with the real program. When you have the main Dev-Cpp window open, do this:
Then redirect to your source code folder and open a folder called "dev-cpp" which is located inside it. Then do the following:
Note: If your Dev-Cpp starts lagging now then it's because it is parsing these files. You can see the progress at the bottom, on the status bar.
If you want the Console Version instead of the GUI, hit Alt + P, click on "Parameters" on the top of the window and add this too in the C++ Compiler Parameters:
Then click "OK"
It should look like this:
Fourth Step:
When you're done with every step above, your Dev-C++ should look like this:
Now hit Ctrl + F9 in order to start the compiling process.
If everything goes fine, the progress window should look like this after some time:
Now, go to your source code folder and open the "dev-cpp" folder and check its contents, you should find this:
You're done!
_______________________________________________
Linux Debian & Ubuntu:
http://otland.net/f137/linux-ultimate-compile-guide-debian-ubuntu-included-2868/
Credits to elf for this tutorial.
------
http://otland.net/754561-post213.html
Credits to stian for this tutorial.
_______________________________________________
Source download method:
Method 1:
Step 1:
Enter this page on your browser:
For 0.3.6pl1:
For 0.2.7:
Step 2:
Downloading will start automatically. Just wait till it is done.
_______________________________________________
Additional Information:
-
For this tutorial I spent more than 4 hours for pictures, material, download links, writing fast-source-download methods and organizing the tutorial. If you have any problem, do not hesitate to PM me or post in this thread and me or someone else will help you ASAP. However, you should understand that I might be busy and I might not reply immediately. The best thing you could do if so, is to just be patient or PMing me the link of your post in case people post more things and thus making your post "disappear". Alternatively, you can add my email address for live assistance: [email protected] - Note: If you ask me for downloads and other things without searching, I will just block you.
This is it! I hope it helped you. If it did so, please give me reputation points by clicking the button which shows two people. It's located below the "Reputation" field, of my profile
Do not forget to give me reputation points after you read it =)
Credits:
Delirium (For writing the tutorial, main core and the images)
Talaturen (Old Linux part of this tutorial & old The Forgotten Dev-C++)
Elf (First Linux compiling tutorial)
Jonern (Mentioned some errors in the tutorial)
stian (Second Linux compiling tutorial and current Dev-C++)
_______________________________________________
Windows:
First Step:
Download TheForgottenServer's source code from here:
For 0.3.6pl1:
Code:
http://otland.net/subversion.php?svn=public&file=dl.php&repname=forgottenserver&path=%2Ftags%2F0.3.6pl1%2F&rev=83&peg=83&isdir=1
Code:
http://otland.net/subversion.php?svn=public&file=dl.php&repname=forgottenserver&path=%2Ftags%2F0.2.7%2F&rev=83&peg=83&isdir=1
Save the file on your desktop and extract it there. You should have a new folder with the source code of your preference on your desktop (or at least wherever you extracted the contents of the tar.gz file).
You should have these files (or one of this, depending on which version you want):
If you want alternative methods on how you can download the source code, check below.
Second Step:
Download this Dev C++ from here: Stian's Dev-cpp repack 0.2 (with crypto++ and 64bit) !
This Dev C++ includes Lua 5.1, Boost and many other libraries that might be essential for you.
Extract it in C:\
Third Step:
Open up your Dev-Cpp. The first time you open it, a dialogue box will open up and ask you for some of your preferences, pick whatever you wish and go ahead with the real program. When you have the main Dev-Cpp window open, do this:
Then redirect to your source code folder and open a folder called "dev-cpp" which is located inside it. Then do the following:
Note: If your Dev-Cpp starts lagging now then it's because it is parsing these files. You can see the progress at the bottom, on the status bar.
If you want the Console Version instead of the GUI, hit Alt + P, click on "Parameters" on the top of the window and add this too in the C++ Compiler Parameters:
Code:
-D__CONSOLE__
It should look like this:
Fourth Step:
When you're done with every step above, your Dev-C++ should look like this:
Now hit Ctrl + F9 in order to start the compiling process.
If everything goes fine, the progress window should look like this after some time:
Now, go to your source code folder and open the "dev-cpp" folder and check its contents, you should find this:
You're done!
_______________________________________________
Linux Debian & Ubuntu:
http://otland.net/f137/linux-ultimate-compile-guide-debian-ubuntu-included-2868/
Credits to elf for this tutorial.
------
http://otland.net/754561-post213.html
Credits to stian for this tutorial.
_______________________________________________
Source download method:
Method 1:
Step 1:
Enter this page on your browser:
For 0.3.6pl1:
Code:
http://otland.net/subversion.php?svn=public&file=dl.php&repname=forgottenserver&path=%2Ftags%2F0.3.6pl1%2F&rev=83&peg=83&isdir=1
Code:
http://otland.net/subversion.php?svn=public&file=dl.php&repname=forgottenserver&path=%2Ftags%2F0.2.7%2F&rev=83&peg=83&isdir=1
Step 2:
Downloading will start automatically. Just wait till it is done.
_______________________________________________
Additional Information:
-
For this tutorial I spent more than 4 hours for pictures, material, download links, writing fast-source-download methods and organizing the tutorial. If you have any problem, do not hesitate to PM me or post in this thread and me or someone else will help you ASAP. However, you should understand that I might be busy and I might not reply immediately. The best thing you could do if so, is to just be patient or PMing me the link of your post in case people post more things and thus making your post "disappear". Alternatively, you can add my email address for live assistance: [email protected] - Note: If you ask me for downloads and other things without searching, I will just block you.
This is it! I hope it helped you. If it did so, please give me reputation points by clicking the button which shows two people. It's located below the "Reputation" field, of my profile
Last edited: