Movatterモバイル変換
[0]ホーム
Information for NetHack Developers
(What other information should we include here? Let us know through ourContact Page.)
List of Registered Project Prefixes
NetHack encourages projects based on our source to register a prefix for use in the source control system.See thelist of registered prefixes.
NetHack git Bootstrap
These instructions are meant to get you far enough to get access to the full development documentation in the source repository.
- Check your git version (if you don't have git, skip this step):
git --version
If you don't have at least 1.9 or 2.2 you should consider upgrading. 1.7 and1.8 are known NOT to work with these instructions.
- Install git.
If you don't have git, or you need a newer version, check theofficial git site.
- Where will the source go?
Change directories to a directory where thedirectory tree "NetHack" can be createdin the next step. It does not have to be an empty directory, butit is recommended. If you are working on a shared machine or on ashared disk, you may want to lock down the permissions on thisdirectory.
- Get the NetHack source tree.
We currently maintain official public, read-only source mirrors on 2 differentsites. Both are updated frequently and should have the same contents.Use any one of the following URLs to fetch the source tree:- https://github.com/NetHack/NetHack.git
- git://git.code.sf.net/p/nethack/NetHack
- http://git.code.sf.net/p/nethack/NetHack
- If you are working with others, get your project's private documentation(if any). If you are working alone, try this instead:
chdir NetHack
git config nethack.substprefix MINE
git config nethack.projectname NetHack
- How we use branches.
The default branch will have a name like "NetHack-3.6" - this is abranch that starts with the "NetHack-3.6" release and has a HEAD thatincludes bug fixes to that release. Over time, the HEAD will move forwardas more bugs are fixed. A new branch will be created for the next release.
- Continue with the fileDEVEL/Developer.txt in NetHack.
Hosted courtesy of alt.org.
NetHack is Copyright 1985-2023 by Stichting Mathematisch Centrumand M. Stephenson. Seeour license for details.
This site is Copyright 1999-2023 by Kenneth Lorber, Kensington, Maryland.
[8]ページ先頭