This article describes how to get source codes of DCSS, to compile.
DCSS(Dungeon Crawl Stone Soup) is a one of opensource rouge-like games. The aim of this game is to go downstairs to exit the dungeon. Like other rouge-like games, When your character dies, you cannot restore him. You can restore him with copying save files manually. Unless you backup your save files, you cannot restore the character.
<non-graphical console version of DCSS> |
<graphical Tiles of DCSS> |
You can download DCSS from download page of official DCSS site.
In this artice, we will get source codes and compile.
All below informations are from quickstart.txt in crawl git repository.
1. Getting the source
$ git clone git://gitorious.org/crawl/crawl.git
“git clone” clones the crawl-ref git repository to your computer. When it’s done, you’ll have a full local copy of Stone Soup’s entire repository with all its history. In particular, you’ll be able to access any of the previous release branches by typing, e.g.
$ git checkout -b stone_soup-0.15 origin/stone_soup-0.15
Now the branch is tracked on your system, the necessary command
becomes much shorter:
$ git checkout stone_soup-0.15
To return to the main development branch (“trunk” or “master”), type:
$ git checkout master
You can have a look at the commit history of the currently active branch with
$ git log
The source code also includes a number of “submodules” like e.g. Lua or SDL
that have to initialized separately. To do this, type:
$ git submodule update --init
2.
Prerequisites for compile
You need to install some packages.$ apt-get install build-essential libncursesw5-dev bison flex liblua5.1-0-dev \
libsqlite3-dev libz-dev pkg-config libsdl2-image-dev libsdl2-mixer-dev \
libsdl2-dev libfreetype6-dev libpng-dev ttf-dejavu-core
3. Compile
go to crawl-ref/source folder.below command is for non-graphical version.
$ make
for graphical version
$ make TILES=y
You can run with 'crawl' file in the source folder
댓글 없음:
댓글 쓰기