How to created an opening book for ChessBrainVB
===============================================
Source file has to be in PGN Format.
Then PGN needs to be converted to UCI format and sorted.

Download pgn-extract.exe

1. cmd> pgn-extract.exe -Wuci --notags --noresults -C -N -V --output out.txt source.pgn 
2. cmd> sort out.txt /o CB_BOOK.TXT
3. Remove blank lines with editor: Notepad.exe CB_BOOK.TXT
===============================================