README.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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 libsqlite3-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://github.com/celeron55/minetest/tarball/master -O master.tar.gz
  52. $ tar xf master.tar.gz
  53. $ cd celeron55-minetest-286edd4 (or similar)
  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. - Debug build is slower, but gives much more useful output in a debugger
  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. * Optional: gettext bibrary and tools:
  80. http://gnuwin32.sourceforge.net/downlinks/gettext.php
  81. - This is used for other UI languages. Feel free to leave it out.
  82. * And, of course, Minetest-c55:
  83. http://celeron.55.lt/~celeron55/minetest/download
  84. - Steps:
  85. - Select a directory called DIR hereafter in which you will operate.
  86. - Make sure you have CMake and a compiler installed.
  87. - Download all the other stuff to DIR and extract them into there.
  88. ("extract here", not "extract to packagename/")
  89. - All those packages contain a nice base directory in them, which
  90. should end up being the direct subdirectories of DIR.
  91. - You will end up with a directory structure like this (+=dir, -=file):
  92. -----------------
  93. + DIR
  94. - zlib-1.2.5.tar.gz
  95. - zlib125dll.zip
  96. - irrlicht-1.7.1.zip
  97. - 110214175330.zip (or whatever, this is the minetest source)
  98. + zlib-1.2.5
  99. - zlib.h
  100. + win32
  101. ...
  102. + zlib125dll
  103. - readme.txt
  104. + dll32
  105. ...
  106. + irrlicht-1.7.1
  107. + lib
  108. + include
  109. ...
  110. + gettext (optional)
  111. +bin
  112. +include
  113. +lib
  114. + minetest
  115. + src
  116. + doc
  117. - CMakeLists.txt
  118. ...
  119. -----------------
  120. - Start up the CMake GUI
  121. - Select "Browse Source..." and select DIR/minetest
  122. - Now, if using MSVC:
  123. - Select "Browse Build..." and select DIR/minetest-build
  124. - Else if using MinGW:
  125. - Select "Browse Build..." and select DIR/minetest
  126. - Select "Configure"
  127. - Select your compiler
  128. - It will warn about missing stuff, ignore that at this point. (later don't)
  129. - Make sure the configuration is as follows
  130. (note that the versions may differ for you):
  131. -----------------
  132. BUILD_CLIENT [X]
  133. BUILD_SERVER [ ]
  134. CMAKE_BUILD_TYPE Release
  135. CMAKE_INSTALL_PREFIX DIR/minetest-install
  136. IRRLICHT_SOURCE_DIR DIR/irrlicht-1.7.1
  137. RUN_IN_PLACE [X]
  138. WARN_ALL [ ]
  139. ZLIB_DLL DIR/zlib125dll/dll32/zlibwapi.dll
  140. ZLIB_INCLUDE_DIR DIR/zlib-1.2.5
  141. ZLIB_LIBRARIES DIR/zlib125dll/dll32/zlibwapi.lib
  142. GETTEXT_BIN_DIR DIR/gettext/bin
  143. GETTEXT_INCLUDE_DIR DIR/gettext/include
  144. GETTEXT_LIBRARIES DIR/gettext/lib/intl.lib
  145. GETTEXT_MSGFMT DIR/gettext/bin/msgfmt
  146. -----------------
  147. - Hit "Configure"
  148. - Hit "Configure" once again 8)
  149. - If something is still coloured red, you have a problem.
  150. - Hit "Generate"
  151. If using MSVC:
  152. - Open the generated minetest.sln
  153. - The project defaults to the "Debug" configuration. Make very sure to
  154. select "Release", unless you want to debug some stuff (it's slower
  155. and might not even work at all)
  156. - Build the ALL_BUILD project
  157. - Build the INSTALL project
  158. - You should now have a working game with the executable in
  159. DIR/minetest-install/bin/minetest.exe
  160. - Additionally you may create a zip package by building the PACKAGE
  161. project.
  162. If using MinGW:
  163. - Using the command line, browse to the build directory and run 'make'
  164. (or mingw32-make or whatever it happens to be)
  165. - You should now have a working game with the executable in
  166. DIR/minetest/bin/minetest.exe
  167. Windows releases of minetest are built using a bat script like this:
  168. --------------------------------------------------------------------
  169. set installpath="C:\tmp\minetest_install"
  170. set irrlichtpath="C:\tmp\irrlicht-1.7.2"
  171. set sourcedir=%CD%
  172. set builddir=%sourcedir%\bvc10
  173. mkdir %builddir%
  174. pushd %builddir%
  175. cmake %sourcedir% -G "Visual Studio 10" -DIRRLICHT_SOURCE_DIR=%irrlichtpath% -DRUN_IN_PLACE=1 -DCMAKE_INSTALL_PREFIX=%installpath%
  176. "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration=Release
  177. "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" INSTALL.vcxproj /p:Configuration=Release
  178. "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" PACKAGE.vcxproj /p:Configuration=Release
  179. popd
  180. License of Minetest-c55 textures and sounds
  181. -------------------------------------------
  182. This applies to textures and sounds contained in the main Minetest
  183. distribution.
  184. Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
  185. http://creativecommons.org/licenses/by-sa/3.0/
  186. License of Minetest-c55 source code
  187. -----------------------------------
  188. Minetest-c55
  189. Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com>
  190. This program is free software; you can redistribute it and/or modify
  191. it under the terms of the GNU General Public License as published by
  192. the Free Software Foundation; either version 2 of the License, or
  193. (at your option) any later version.
  194. This program is distributed in the hope that it will be useful,
  195. but WITHOUT ANY WARRANTY; without even the implied warranty of
  196. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  197. GNU General Public License for more details.
  198. You should have received a copy of the GNU General Public License along
  199. with this program; if not, write to the Free Software Foundation, Inc.,
  200. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  201. Irrlicht
  202. ---------------
  203. This program uses the Irrlicht Engine. http://irrlicht.sourceforge.net/
  204. The Irrlicht Engine License
  205. Copyright © 2002-2005 Nikolaus Gebhardt
  206. This software is provided 'as-is', without any express or implied
  207. warranty. In no event will the authors be held liable for any damages
  208. arising from the use of this software.
  209. Permission is granted to anyone to use this software for any purpose,
  210. including commercial applications, and to alter it and redistribute
  211. it freely, subject to the following restrictions:
  212. 1. The origin of this software must not be misrepresented; you
  213. must not claim that you wrote the original software. If you use
  214. this software in a product, an acknowledgment in the product
  215. documentation would be appreciated but is not required.
  216. 2. Altered source versions must be plainly marked as such, and must
  217. not be misrepresented as being the original software.
  218. 3. This notice may not be removed or altered from any source
  219. distribution.
  220. JThread
  221. ---------------
  222. This program uses the JThread library. License for JThread follows:
  223. Copyright (c) 2000-2006 Jori Liesenborgs (jori.liesenborgs@gmail.com)
  224. Permission is hereby granted, free of charge, to any person obtaining a
  225. copy of this software and associated documentation files (the "Software"),
  226. to deal in the Software without restriction, including without limitation
  227. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  228. and/or sell copies of the Software, and to permit persons to whom the
  229. Software is furnished to do so, subject to the following conditions:
  230. The above copyright notice and this permission notice shall be included
  231. in all copies or substantial portions of the Software.
  232. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  233. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  234. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  235. THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  236. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  237. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  238. IN THE SOFTWARE.