This file is help file for Book Builder

History :

	This program is created by Marc-Philippe Huget in order to help new chess programers 
	to implement lightweight opening book in their program. The format of "my" opening 
	book is Spracklen's format. It is very simple :

	let us suppose, you have a PGN file with these games :

	e4 e5 d4
	e4 c5
	d4 d5

	I factorize it in (e4(e5(d4))(c5))(d4(d5)).

	In Spracklen's format, she uses LAN rather than SAN notation and she encodes her 
	opening book in binary but, as you have the source code, you can modify this program as
	you want.

Commands :

	file_in : user supplies the filename of the PGN file
	file_out : user supplies the filename of the opening book
	file_tree_in : user supplies the filename of the stored tree
	file_tree_out : users supplies the filename of the tree

	Why have I a tree ? It is just supplying an easy format in order to merge numerous PGN files.
	Let us suppose, you have 3 files of one Mb but not enough time to write the opening book in
	one step. You can build the first tree and after you will load it and add the second file, etc.
	It is an iterative work.

	depth : user sets the depth of search in PGN games

	load_tree : load a tree stored on disk, you have to name file_tree_in
	build_tree : build a tree , see source code for explanations about the format. You have to 
	name file_tree_out

	build_book : build an opening book.

	How can I create a book ? It is simple : name file_in, file_tree_out et file_out. Let you type 
	build_tree and when you can enter the next command, after the construction of the tree, let you
	type build_book and you have a book.

Some stats :

	I realize a book of 25,000 moves in less than 1 min. on my PII 450. You have to have memory because 
	tree is stored on memory, roughly 10 bytes by line. The method in order to write the book is slow
	because it is a recursive algorithm, maybe you have a good idea so as to increase speed.

Don't forget :

	This program is a cardware, so please if you can, just send me a postcard, I collect them and I am 
	very glad if I can receive nice postcards coming from all over the world. My address ?

	M. Marc-Philippe HUGET
	8, Avenue Léon Blum
	38100 GRENOBLE
	FRANCE

	Yes, I am French.

Bug reports and want-to-see functions :

	Send me an email : Marc-Philippe.Huget@imag.fr
	I'll try to fix bugs quickly and insert new features quickly but I am a PhD student, so I have a lot
	of work and one chess program La Dame Blanche.




	