Difference between revisions of "MG/Development"

From MegaGlest
Jump to navigation Jump to search
m (→‎Compiling: Update link to now live BUILD document)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
==Introduction==
 
For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.
 
For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.
  
MegaGlest is hosted at sourceforge.net: http://sourceforge.net/projects/megaglest/
+
MegaGlest is hosted at GitHub:
 +
* Game engine: [https://github.com/MegaGlest/megaglest-source megaglest-source]
 +
* Game assets: [https://github.com/MegaGlest/megaglest-data megaglest-data]
 +
* Masterserver: [https://github.com/MegaGlest/megaglest-masterserver megaglest-masterserver]
  
You can download the full and ready-to-use versions from here (source/data/binaries):
+
Please refer to the topics below for further information.
  
http://sourceforge.net/projects/megaglest/files/ (change into the megaglest_x.y.z directory)
+
== Compiling==
  
Sourceforge also hosts the MegaGlest subversion repository, this is where the source code is kept. More about this below.
+
See [https://github.com/MegaGlest/megaglest-source/blob/develop/BUILD.md BUILD.md]
  
==Accessing subversion==
+
== Misc Scripts ==
* [[MG/Getting The Code|Getting The Code]]
 
* [[MG/SVN Structure|SVN Structure]]
 
  
== Compiling==
 
* [[MG/Linux Compiling|Linux Compiling]] (cmake)
 
* [[MG/Windows Compiling|Windows Compiling]] (VC++)
 
* [[MG/CodeBlocks Compiling|CodeBlocks Compiling]]
 
* [[MG/Mac Compiling|Mac Compiling]] (XCode)
 
* [[MG/FreeBSD Compiling|FreeBSD Compiling]] (cmake)
 
 
* [[MG/Misc Scripts|Misc Scripts]]
 
* [[MG/Misc Scripts|Misc Scripts]]
 
==Installers==
 
Installers make it easy for people to get the software setup on their computers, so when the MegaGlest team makes a new stable release, they also prepare/build [[MG/Installers|Installers]]. As of v3.5.1 megaglest's build system support 'make install' style installation on Linux based platforms. The following is an example of how to do this in Ubuntu:
 
 
cd trunk
 
mkdir build
 
cd build
 
cmake ..
 
make -j 3
 
sudo make install
 
megaglest
 
  
 
==Testing==
 
==Testing==
Line 39: Line 24:
  
 
  //#define DEBUG_MUTEXES
 
  //#define DEBUG_MUTEXES
 +
 +
==Reporting bugs==
 +
If you think you have run into a bug in MegaGlest, and neither reading the [http://readme.megaglest.org/ README] and [http://faq.megaglest.org/ FAQ] nor searching for it at http://bugs.megaglest.org helps, then please see the instruction for searching and opening new issues at http://bugs.megaglest.org/.
 +
  
 
==See Also==
 
==See Also==
*[[MegaGlest]]
+
* [[MG/Snapshots]]
 +
* [[MegaGlest]]
 
[[Category:MG]]
 
[[Category:MG]]
 +
[[Category:Development]]
 +
[[Category:HOW-TOs]]

Latest revision as of 07:36, 25 February 2025

Introduction[edit]

For people who would like to work on MegaGlest, the MegaGlest team has tried to work hard to make things as easy for the users as possible. Below is a list of links to try to assist anyone who is interested in helping with development or just to learn for your own enjoyment.

MegaGlest is hosted at GitHub:

Please refer to the topics below for further information.

Compiling[edit]

See BUILD.md

Misc Scripts[edit]

Testing[edit]

Once a new revision is successfully compiled, newly added features need extensive testing so that a stable and working version is shipped.

Testing the game menu[edit]

If there are problems with the game related to the game menu, edit source/shared_lib/include/platform/sdl/thread.h and uncomment the following line (remove the leading double slash) before recompiling.

//#define DEBUG_MUTEXES

Reporting bugs[edit]

If you think you have run into a bug in MegaGlest, and neither reading the README and FAQ nor searching for it at http://bugs.megaglest.org helps, then please see the instruction for searching and opening new issues at http://bugs.megaglest.org/.


See Also[edit]