--- Begin Message ---
Package: freecraft
Version: 1:1.17.2-4
Severity: normal
Hi there,
I tried to add the WCII-Files to FreeCraft but failed...
I tried to use the /usr/lib/games/freecraft/tools/build.sh-Script, but all
paths in this script are completely wrong for a Debian system. Maybe set some
defaults for Debian systems? Here is a small patch:
[patch]
--- build.sh.orig 2003-03-01 01:48:34.000000000 +0100
+++ build.sh 2003-03-01 01:55:30.000000000 +0100
@@ -67,7 +67,7 @@
#
# Here are my executeables or -T dir.
#
-BINPATH="tools"
+BINPATH="/usr/lib/games/freecraft/tools"
#BINPATH="/usr/local/lib/freecraft/bin"
#BINPATH="/usr/lib/freecraft/tools"
@@ -81,9 +81,9 @@
#
# Here is the destination for the generated files
#
-DIR="data"
+#DIR="data"
#DIR="/usr/local/lib/freecraft/data"
-#DIR="/usr/share/games/freecraft/WarII"
+DIR="/usr/share/games/freecraft/WarII"
###
### Below this point, you should only search bugs. :-)
@@ -100,7 +100,7 @@
-T) BINPATH="$2"; shift ;;
-C) CONTRIB="$2"; shift ;;
- -v) VIDEO="-v"; shift ;;
+ -v) VIDEO="-v" ;;
-h) cat << EOF
build.sh
[/patch]
But this sadly doesn't fix everything, it seems as if the contrib/ directory
from upstream is missing. Ah, just noticed: There is a shift to much in the
script, just added this to the patch above.
I could put it all together with some data from fcmp:
(I'm in dir /usr/share/games/freecraft all the time and my WC2-CD is in the
drive and mounted at /cdrom/dvd)
# /usr/lib/games/freecraft/tools/build.sh -v -p /cdrom/dvd
# cp fcmp/graphics/ui/cursors/cross.png WarII/graphics/ui/cursors/
# cp fcmp/graphics/missiles/red_cross.png WarII/graphics/missiles/
# cp fcmp/graphics/ui/mana* WarII/graphics/ui/
# cp fcmp/graphics/ui/health* WarII/graphics/ui/
# cp fcmp/graphics/ui/food.png WarII/graphics/ui/
# cp fcmp/graphics/ui/score.png WarII/graphics/ui/
# cp fcmp/graphics/ui/ore,stone,coal.png WarII/graphics/ui/
# cp fcmp/graphics/ui/freecraft.png WarII/graphics/ui/
# cp fcmp/music/default.mod.gz WarII/music/
# update-alternatives --install /usr/share/games/freecraft/default freecraft-data /usr/share/games/freecraft/WarII 20
Unfortunatly this didn't work at the end... It seems the directory WarII/ccl
is missing or something like that. It would be cool to have this working!
Greetings Tobi
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux tobias 2.4.19 #2 Mit Okt 2 12:12:18 CEST 2002 i686 AMD Duron(tm) processor AuthenticAMD GNU/Linux
Versions of the packages freecraft depends on:
ii fcmp 1.17.20020712- Free media files for FreeCraft.
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file compressor
ii libc6 2.3.1-13 GNU C Library: Shared libraries and Timezone
ii libpng3 1.2.1-1.1 PNG library - runtime
ii libsdl1.2debia 1.2.4-1 Simple DirectMedia Layer
ii svgalibg1 1.4.3-10 Console SVGA display utilities
ii zlib1g 1.1.4-6 compression library - runtime
svgalib-dummyg1 Not installed or no info
--- End Message ---