README.txt 8.8 KB

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