Not logged inOpenClonk Forum
Up Topic Download and compile the code now!

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther
Yes, installation doesn't work yet. The game still assumes that the binary and game data are in the same directory, DOS style. The assumption that that directory is writable should be largely gone, though. The easiest solution might be a symbolic link to the executable from the game data directory (called planet for nostalgic reasons) and a shell script which executes that. Or change CStdApp::Init in StdXApp.cpp so that Location points to /usr/share/games/clonk/clonk instead of argv[0]. That file probably doesn't even have to exist.
Something like this (untested):
mkdir -p /usr/share/games/clonk
cp -r planet/* /usr/share/games/clonk/
cp -a clonk /usr/games/clonk.bin
ln -s /usr/games/clonk.bin /usr/share/games/clonk/clonk
echo "#!/bin/sh\n/usr/share/games/clonk/clonk $@" >/usr/games/clonk
chmod a+x /usr/games/clonk
make c4group
./c4group /usr/share/games/clonk/* -p

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill