Re: Bug#440227: ITP: silvertree -- high quality 3D RPG for a single player
Tuesday 20 November 2007 Tarihinde 06:27:35 yazmıştı:
> OK, it's in svn. It has a couple of problems though. The upstream
> tarball is jacked. You can't run make distclean because it tries to
> remove non-existent .deps dir and files. It also includes object and
> binary executable in the editor dir. Oh, and some svn tagged
> Makefiles. I've pinged the author about this one.
>
> I can't get it to run either. I know what the problem is but am having
> a hard time fixing it. The scenario.cfg file has hardcoded relative
> paths, looking for other config files in data/... I think this one is
> just my stupidity.
With these two, patch, I can run silvertree. Maybe it helps. But as you said,
it still has some bugs. Game executable can be built with make but
silvertreeeditor needs "scons editor" since it doesnt work with "make".
> Thanks,
>
> Barry deFreese
Regards,
Murat
diff -Naur silvertree-0.2.1.orig/Makefile.in silvertree-0.2.1/Makefile.in
--- silvertree-0.2.1.orig/Makefile.in 2007-11-17 08:01:56.000000000 +0200
+++ silvertree-0.2.1/Makefile.in 2007-11-18 19:50:03.000000000 +0200
@@ -545,14 +545,20 @@
model-sources/sketchup/cave-entrace.skp \
model-sources/sketchup/tower.skp \
\
+data/bandit-fort.cfg \
data/big-cave.cfg \
data/cave-small.cfg \
data/character_generators.cfg \
+data/formulatest.cfg \
+data/fort.cfg \
+data/island.cfg \
data/items.cfg \
+data/lighting.cfg \
data/rules.cfg \
data/scenario.cfg \
data/skills.cfg \
data/terrain.cfg \
+data/town-balmoro.cfg \
data/town-felson.cfg \
data/town-isolt.cfg \
data/town-telfa.cfg \
diff -Naur silvertree-0.2.1.orig/Makefile.in silvertree-0.2.1/Makefile.in
--- silvertree-0.2.1.orig/Makefile.in 2007-11-17 08:01:56.000000000 +0200
+++ silvertree-0.2.1/Makefile.in 2007-11-18 18:03:37.000000000 +0200
@@ -572,7 +572,6 @@
cave-entrance.dae \
colorCube.dae \
fountain1.dae \
-FreeSans.ttf \
house2.3d \
house.3d \
male-base.dae \
diff -Naur silvertree-0.2.1.orig/src/font.cpp silvertree-0.2.1/src/font.cpp
--- silvertree-0.2.1.orig/src/font.cpp 2007-11-17 08:01:44.000000000 +0200
+++ silvertree-0.2.1/src/font.cpp 2007-11-18 18:03:00.000000000 +0200
@@ -60,7 +60,7 @@
if(i != fonts.end()) {
return i->second;
} else {
- font_ptr new_font(TTF_OpenFont("FreeSans.ttf",size),
+ font_ptr new_font(TTF_OpenFont("/usr/share/fonts/dejavu/DejaVuSerif.ttf",size),
release_font());
if(!new_font) {
std::cerr << "ttf open failed: " << TTF_GetError() << "\n";
Reply to: