Difference between revisions of "MG/Development"
(Undo revision 9547 by 69.169.142.85 (talk) What the?) |
Tag: Undo |
||
(16 intermediate revisions by 8 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 | + | 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] | ||
− | + | Please refer to the topics below for further information. | |
− | + | ==Accessing GIT== | |
− | |||
− | |||
− | |||
− | ==Accessing | ||
* [[MG/Getting The Code|Getting The Code]] | * [[MG/Getting The Code|Getting The Code]] | ||
− | * [[MG/ | + | * [[MG/Project Structure|Project Structure]] |
== Compiling== | == Compiling== | ||
+ | * [[MG/Linux Compiling|Linux Compiling]] (cmake) | ||
+ | * [[MG/Windows Compiling|Windows Compiling]] (VC++) | ||
* [[MG/CodeBlocks Compiling|CodeBlocks Compiling]] | * [[MG/CodeBlocks Compiling|CodeBlocks Compiling]] | ||
− | + | * [[MG/Mac Compiling|Mac Compiling]] | |
− | |||
− | * [[MG/Mac Compiling|Mac Compiling]] | ||
* [[MG/FreeBSD Compiling|FreeBSD Compiling]] (cmake) | * [[MG/FreeBSD Compiling|FreeBSD Compiling]] (cmake) | ||
* [[MG/Misc Scripts|Misc Scripts]] | * [[MG/Misc Scripts|Misc Scripts]] | ||
Line 24: | Line 24: | ||
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: | 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 | + | cd mk/linux |
mkdir build | mkdir build | ||
cd build | cd build | ||
− | cmake .. | + | cmake ../../.. |
make -j 3 | make -j 3 | ||
sudo make install | sudo make install | ||
Line 41: | Line 41: | ||
==See Also== | ==See Also== | ||
− | *[[MegaGlest]] | + | * [[MG/Snapshots]] |
+ | * [[MegaGlest]] | ||
[[Category:MG]] | [[Category:MG]] | ||
+ | [[Category:Development]] | ||
+ | [[Category:HOW-TOs]] |
Latest revision as of 20:58, 5 January 2021
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:
- Game engine: megaglest-source
- Game assets: megaglest-data
- Masterserver: megaglest-masterserver
Please refer to the topics below for further information.
Accessing GIT[edit]
Compiling[edit]
- Linux Compiling (cmake)
- Windows Compiling (VC++)
- CodeBlocks Compiling
- Mac Compiling
- FreeBSD Compiling (cmake)
- Misc Scripts
Installers[edit]
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 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 mk/linux mkdir build cd build cmake ../../.. make -j 3 sudo make install megaglest
Testing[edit]
Once a new revision is successfully compiled, newly added features need extensive testing so that a stable and working version is shipped.
[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