If you are having problems with any part of the Tourk system, please check here first.
If this document doesn't help, please raise a support request, join the mailing list and ask or just ask me.
Is the problem that the compiler is complaining that it can't find "dirent.h"?
The genbi utility uses the unix-isms opendir, readdir and closedir to scan the directory tree.
Where this is not available, you need some extra code to provide this dirent.h layer, such as this dirent.h for Win32 code from Kevlin Henney.
If that seems too much like hard work, compile genbi.c
with an
extra macro option, defining the symbol NODIRSCAN on the
command line. Most compilers do this with a -DNODIRSCAN
option on the command line, or you may simply opt for adding
#define NODIRSCAN
to the top of the genbi.c source file.
However, if you compile genbi with NODIRSCAN, when you
come to run it, you will need to supply the name of each player code
source file on the command line instead. For example;
genbi random.c myplayer.c myotherplayer.c
First of all, check that the debug file you are passing in was created with a -d3 (or higher) option.
viewdbg uses VT100 codes to control a textual window. If your system does not support this, sorry.
If you are feeling particularly inclined, why not write a proper GUI program which reads in a debug file and displays the progression of a game with full VCR style controls? (I'd be your friend.)