README.txt 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. Minetest-c55
  2. ---------------
  3. An InfiniMiner/Minecraft inspired game.
  4. Copyright (c) 2010-2011 Perttu Ahola <celeron55@gmail.com>
  5. Further documentation:
  6. ----------------------
  7. - Website: http://celeron.55.lt/~celeron55/minetest/
  8. - Wiki: http://celeron.55.lt/~celeron55/minetest/wiki/
  9. - Forum: http://celeron.55.lt/~celeron55/minetest/forum/
  10. This is a development version:
  11. ------------------------------
  12. - Don't expect it to work as well as a finished game will.
  13. - Please report any bugs to me. That way I can fix them to the next release.
  14. - debug.txt is useful when the game crashes.
  15. Controls:
  16. ---------
  17. - See the in-game pause menu
  18. - Settable in the configuration file, see the section below.
  19. Map directory:
  20. --------------
  21. - Map is stored in a directory, which can be removed to generate a new map.
  22. - There is a command-line option for it: --map-dir
  23. - For a RUN_IN_PLACE build, it is located in:
  24. ../map
  25. - Otherwise something like this:
  26. Windows: C:\Documents and Settings\user\Application Data\minetest\map
  27. Linux: ~/.minetest/map
  28. OS X: ~/Library/Application Support/minetest/map
  29. Configuration file:
  30. -------------------
  31. - An optional configuration file can be used. See minetest.conf.example.
  32. - Path to file can be passed as a parameter to the executable:
  33. --config <path-to-file>
  34. - Defaults:
  35. - If built with -DRUN_IN_PLACE=1:
  36. ../minetest.conf
  37. ../../minetest.conf
  38. - Otherwise something like this:
  39. Windows: C:\Documents and Settings\user\Application Data\minetest\minetest.conf
  40. Linux: ~/.minetest/minetest.conf
  41. OS X: ~/Library/Application Support/minetest.conf
  42. Command-line options:
  43. ---------------------
  44. - Use --help
  45. Compiling on GNU/Linux:
  46. -----------------------
  47. Install dependencies. Here's an example for Debian/Ubuntu:
  48. $ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev
  49. Download source, extract (this is the URL to the latest of source repository, which might not work at all times):
  50. $ wget https://bitbucket.org/celeron55/minetest/get/tip.tar.gz
  51. $ tar xf tip.tar.gz
  52. $ cd minetest
  53. Build a version that runs directly from the source directory:
  54. $ cmake . -DRUN_IN_PLACE=1
  55. $ make -j2
  56. Run it:
  57. $ cd bin
  58. $ ./minetest
  59. - Use cmake . -LH to see all CMake options and their current state
  60. - If you want to install it system-wide (or are making a distribution package), you will want to use -DRUN_IN_PLACE=0
  61. - You can build a bare server or a bare client by specifying -DBUILD_CLIENT=0 or -DBUILD_SERVER=0
  62. - You can select between Release and Debug build by -DCMAKE_BUILD_TYPE=<Debug or Release>
  63. - Note that the Debug build is considerably slower
  64. Compiling on Windows:
  65. ---------------------
  66. - You need:
  67. * CMake:
  68. http://www.cmake.org/cmake/resources/software.html
  69. * MinGW or Visual Studio
  70. http://www.mingw.org/
  71. http://msdn.microsoft.com/en-us/vstudio/default
  72. * Irrlicht SDK 1.7:
  73. http://irrlicht.sourceforge.net/downloads.html
  74. * Zlib headers (zlib125.zip)
  75. http://www.winimage.com/zLibDll/index.html
  76. * Zlib library (zlibwapi.lib and zlibwapi.dll from zlib125dll.zip):
  77. http://www.winimage.com/zLibDll/index.html
  78. * And, of course, Minetest-c55:
  79. http://celeron.55.lt/~celeron55/minetest/download
  80. - Steps:
  81. - Select a directory called DIR hereafter in which you will operate.
  82. - Make sure you have CMake and a compiler installed.
  83. - Download all the other stuff to DIR and extract them into there. All those
  84. packages contain a nice base directory in them, which should end up being
  85. the direct subdirectories of DIR.
  86. - You will end up with a directory structure like this (+=dir, -=file):
  87. -----------------
  88. + DIR
  89. - zlib-1.2.5.tar.gz
  90. - zlib125dll.zip
  91. - irrlicht-1.7.1.zip
  92. - 110214175330.zip (or whatever, this is the minetest source)
  93. + zlib-1.2.5
  94. - zlib.h
  95. + win32
  96. ...
  97. + zlib125dll
  98. - readme.txt
  99. + dll32
  100. ...
  101. + irrlicht-1.7.1
  102. + lib
  103. + include
  104. ...
  105. + minetest
  106. + src
  107. + doc
  108. - CMakeLists.txt
  109. ...
  110. -----------------
  111. - Start up the CMake GUI
  112. - Select "Browse Source..." and select DIR/minetest
  113. - Now, if using MSVC:
  114. - Select "Browse Build..." and select DIR/minetest-build
  115. - Else if using MinGW:
  116. - Select "Browse Build..." and select DIR/minetest
  117. - Select "Configure"
  118. - Select your compiler
  119. - It will warn about missing stuff, ignore that at this point. (later don't)
  120. - Make sure the configuration is as follows
  121. (note that the versions may differ for you):
  122. -----------------
  123. BUILD_CLIENT [X]
  124. BUILD_SERVER [ ]
  125. CMAKE_BUILD_TYPE Release
  126. CMAKE_INSTALL_PREFIX DIR/minetest-install
  127. IRRLICHT_SOURCE_DIR DIR/irrlicht-1.7.1
  128. RUN_IN_PLACE [X]
  129. WARN_ALL [ ]
  130. ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll
  131. ZLIB_INCLUDE_DIR DIR/zlib-1.2.5
  132. ZLIB_LIBRARIES DIR/zlib125dll/dll32/zlibwapi.lib
  133. -----------------
  134. - Hit "Configure"
  135. - Hit "Generate"
  136. If using MSVC:
  137. - Open the generated minetest.sln
  138. - The project defaults to the "Debug" configuration. Make very sure to
  139. select "Release", unless you want to debug some stuff (it's slower)
  140. - Build the ALL_BUILD project
  141. - Build the INSTALL project
  142. - You should now have a working game with the executable in
  143. DIR/minetest-install/bin/minetest.exe
  144. - Additionally you may create a zip package by building the PACKAGE
  145. project.
  146. If using MinGW:
  147. - Using the command line, browse to the build directory and run 'make'
  148. (or mingw32-make or whatever it happens to be)
  149. - You should now have a working game with the executable in
  150. DIR/minetest/bin/minetest.exe
  151. License of Minetest-c55
  152. -----------------------
  153. Minetest-c55
  154. Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com>
  155. This program is free software; you can redistribute it and/or modify
  156. it under the terms of the GNU General Public License as published by
  157. the Free Software Foundation; either version 2 of the License, or
  158. (at your option) any later version.
  159. This program is distributed in the hope that it will be useful,
  160. but WITHOUT ANY WARRANTY; without even the implied warranty of
  161. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  162. GNU General Public License for more details.
  163. You should have received a copy of the GNU General Public License along
  164. with this program; if not, write to the Free Software Foundation, Inc.,
  165. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  166. Irrlicht
  167. ---------------
  168. This program uses the Irrlicht Engine. http://irrlicht.sourceforge.net/
  169. The Irrlicht Engine License
  170. Copyright © 2002-2005 Nikolaus Gebhardt
  171. This software is provided 'as-is', without any express or implied
  172. warranty. In no event will the authors be held liable for any damages
  173. arising from the use of this software.
  174. Permission is granted to anyone to use this software for any purpose,
  175. including commercial applications, and to alter it and redistribute
  176. it freely, subject to the following restrictions:
  177. 1. The origin of this software must not be misrepresented; you
  178. must not claim that you wrote the original software. If you use
  179. this software in a product, an acknowledgment in the product
  180. documentation would be appreciated but is not required.
  181. 2. Altered source versions must be plainly marked as such, and must
  182. not be misrepresented as being the original software.
  183. 3. This notice may not be removed or altered from any source
  184. distribution.
  185. JThread
  186. ---------------
  187. This program uses the JThread library. License for JThread follows:
  188. Copyright (c) 2000-2006 Jori Liesenborgs (jori.liesenborgs@gmail.com)
  189. Permission is hereby granted, free of charge, to any person obtaining a
  190. copy of this software and associated documentation files (the "Software"),
  191. to deal in the Software without restriction, including without limitation
  192. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  193. and/or sell copies of the Software, and to permit persons to whom the
  194. Software is furnished to do so, subject to the following conditions:
  195. The above copyright notice and this permission notice shall be included
  196. in all copies or substantial portions of the Software.
  197. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  198. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  199. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  200. THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  201. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  202. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  203. IN THE SOFTWARE.