OSDN Git Service

These are the initial version of the files published on osdn.net for the Hengband...
[hengbandforosx/web.git] / HengbandSourceCode.html.en
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
2    "http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd">
3 <HTML>
4   <HEAD lang="en">
5     <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
6     <TITLE>Hengband Application for Mac OS X: Source Code</TITLE>
7   </HEAD>
8
9   <BODY>
10     <H1>Hengband Application for Mac OS X</H1>
11     <P><A HREF="index.html.en">Binaries</A> | <A HREF="HengbandEnglishScreenshot.html.en">English screen shot</A> | <A HREF="HengbandJapaneseScreenshot.html.en">Japanese screen shot</A> | <A HREF="HengbandFeedback.html.en">Feedback</A> | Source code | <A HREF="HengbandChangeLog.html.en">Changes</A>
12     <H1>Source Code</H1>
13       <P>If you want to compile the code yourself or examine the changes I
14         made, you can either get one of the packaged source code archives,
15         <A HREF="https://osdn.net/projects/hengbandforosx/downloads/72021/hengband-2.2.1.7a.tar.gz/">hengband-2.2.1.7a.tar.gz</A> is the latest, from
16         <A HREF="https://osdn.net/projects/hengbandforosx/releases/">https://osdn.net/projbects/hengbandforosx/releases/</A>
17         or the clone the git repository, git://git.osdn.net/gitroot/hengbandforosx/hengbandosx.git .
18       <P>If you cloned the git repository and want to compile the code, you'll
19        first need to create the configure script and some of the files it uses.
20        To do so, run this command in the top-level directory of the directory
21        tree with the source code (you'll need to have autoconf and automake
22        in the path):
23        <OL>
24          <LI><CODE>./bootstrap</CODE>
25        </OL>
26       <P>To compile the changed code and generate an English version of the game
27         which uses the Mac OS X Cocoa user interface, run these commands from
28         the top-level directory of the directory tree with the source code:
29         <OL>
30           <LI><CODE>./configure --disable-japanese --enable-cocoa</CODE>
31           <LI><CODE>make install</CODE>
32         </OL>
33       <P>That will create the full application, hengband.app, in the top-level
34         directory.  You can move that wherever you want.  If you want the
35         curses interface or, if you have the X11 libraries installed, the X11
36         interface, do not specify <CODE>--enable-cocoa</CODE> when
37         running configure.  The curses or X11 interface will not use
38         hengband.app.  Instead you'll get an executable, hengband, in the
39         directory where you ran configure and that executable will pull
40         information from the lib subdirectory there.  To get the Japanesei
41         version, do not specify <CODE>--disable-japanese</CODE> when running
42         configure.  Compilation of the Japanese version requires the utility,
43         nkf.  Source code for that utility is available from
44         <A HREF="https://osdn.net/projects/nkf/">https://osdn.net/projects/nkf/</A>.
45       <P>Eventually, the hope is that the changes made here will be
46         incorporated into the standard version of Hengband and you can get
47         both the source code and binaries from them.
48   </BODY>
49 </HTML>