This page here includes some hints and tricks to help Chessfriends in various specific needs. Suggestions are welcome. Please e-mail to me at eurocon2000(at)hotmail.com
A) Truncate many games, of one PGN file, to obtain the first X plies (half-moves) of all the games instantly. For example, if you want to create a Book, etc.
Solution:
Get the Engine Yace.exe in a separate Folder. Bring your PGN to cut in that folder also. Let' s say your PGN is Kasparov.pgn with many games inside and you want the first 30 plies of each of the games. Click to open (DOS or Console) the Yace.exe file and type where the cursor is:
cadiz_pgn thegamefile.pgn gamesuntill30.pgn n 30 and press ENTER.
where you must replace: thegamefile.pgn with Kasparov.pgn If you want 40 half-moves just replace 30 with 40 above. After you pressed ENTER you will find a new PGN file with the name gamesuntil30.pgn in the same folder.
How do you like it? easy and free (thanks to Dieter Buessner).
B) DIAGTRANSFER: Transparent !! copy of diagrams from another program or a web pages:
Get it free from http://alain.blaisot.free.fr/DiagTransfer/English/home.htm
The Author of the Utility says: To copy a diagram with a classic position editor is an hard work : You have your editor opened near your web page with the diagram to copy, and as if you watch a tennis match you look to left, to right etc. And when you have copied all the pieces, you must resume to verify your work.
With DiagTransfer you « transfer » the diagram – by setting the DiagTransfer window in semi-transparent mode and resizing a board on the diagram to be copied, you have only « to trace » the pieces.(no need to remember pieces locations )
DIAGTRANSFER Features:
-
Diagram Editor
-
Copy, create, add, insert, remove, correct, diagrams.
-
Save in FEN, EPD or DTR (DiagTransfer format).
-
Reader
-
Print (multi or unique diagrams).
-
Add comments.
-
Diagrams checking (chess rules).
-
Edit positions data's(castling availability, active color etc.).
-
FEN Copy (so you can paste in a chess processor for study).
-
RTF-(Rich Text Format) Copy (to paste in a word processor).
- BMP (bitmap) Copy (to paste in a word processor).
- Add coloured squares and arrows.
- 100k help file.
C) EPDUtil Ver.1.2 - (C) Apr. 2004 by Franz Huber, Austria. Used to collect all FEN strings out of a PGN file containing many chess problems or puzzles.
This is a very useful Utility: When you have a collections of chess puzzles solved and saved in a PGN form, you can get out of this PGN all FEN puzzle starting positions and save them in an EPD file.Example:
This is a collection of few puzzles solved, in PGN form: (Mate in 5). The FEN is marked with blue bold letters.
[Event "game"]
[Site "?"]
[Date "2003.11.01"]
[Round "?"]
[White "Player 1"]
[Black "Player 2"]
[Result "1-0"]
[SetUp "1"]
[FEN "3q3k/pp3r1r/4R1Q1/2p1P2p/Pb6/1P1P3R/1B4PP/7K w KQkq - 0 1"]
[PlyCount "9"]
1.Re8+ Qxe8 2.e6+ Bc3 3.Bxc3+ Rhg7 4.Qxh5+ Kg8 5.Qh8# {Mate} 1-0
[Event "game"]
[Site "?"]
[Date "2003.11.01"]
[Round "?"]
[White "Player 1"]
[Black "Player 2"]
[Result "1-0"]
[SetUp "1"]
[FEN "6rk/5Rbp/bq1p4/p2BP2Q/1p3n2/1P6/P1P2R1P/7K w - - 0 1"]
[PlyCount "9"]
1.Rxg7 Kxg7 2.Qg5+ Ng6 3.Rf7+ Kh8 4.Qf6+ Rg7 5.Qxg7# {Mate} 1-0
[Event "game"]
[Site "?"]
[Date "2003.11.16"]
[Round "?"]
[White "Player 1"]
[Black "Player 2"]
[Result "1-0"]
[SetUp "1"]
[FEN "r1b3k1/ppp1n2p/2n2qpB/6N1/3NP3/2QP2P1/P1P3BP/6K1 w - - 0 1 "]
[PlyCount "9"]
1.Nxc6 Qf7 2.Nxf7 Nf5 3.exf5 Kxf7 4.Qg7+ Ke8 5.Qe7# {Mate} 1-0
[Event "game"]
[Site "?"]
[Date "2004.06.16"]
[Round "?"]
[White "Player 1"]
[Black "Player 2"]
[Result "1-0"]
[SetUp "1"]
[FEN "3r2k1/pb1p1rp1/1pn2pp1/2qNp1B1/2B1P3/7R/PPP2PPP/3R2K1 w - - 0 1 "]
[PlyCount "9"]
1.Nxf6+ Kf8 2.Rh8+ Ke7 3.Ng8+ Ke8 4.Nh6+ Qf8 5.Bxf7# {Mate} 1-0
What is needed here is the collection of the FEN only, e.g. to import this in another program to search the solutions, etc. An example can be to get the FENs as EPD to import in a PALM device. The EPD file may look like:
3q3k/pp3r1r/4R1Q1/2p1P2p/Pb6/1P1P3R/1B4PP/7K w KQkq - 0 1;
6rk/5Rbp/bq1p4/p2BP2Q/1p3n2/1P6/P1P2R1P/7K w - - 0 1;
r1b3k1/ppp1n2p/2n2qpB/6N1/3NP3/2QP2P1/P1P3BP/6K1 w - - 0 1;
3r2k1/pb1p1rp1/1pn2pp1/2qNp1B1/2B1P3/7R/PPP2PPP/3R2K1 w - - 0 1;
How to use the EPDUtil:
You have to download it together with CHEST UCI problem solving software from http://www.uciengines.de/UCI-Engines/Chest/chest.html Open your command line (DOS) and type at C:\ the folder and this program and then the pgn file with the puzzles. For example you have the program EPDUtil in Drive D and in a Folder called EPDUtil for example in D:\CHESS\UTILITIES\EPDUtil and you have a puzzle pgn called "mate5.pgn".Place this pgn inside the EPDUtil folder. Then at the MS DOS command line you type after C:
D:\CHESS\UTILITIES\EPDUtil\EPDUtil D:\CHESS\UTILITIES\EPDUtil\mate5.pgn
Click enter and you get the table with the FEN in the DOS window. Copy and paste these FEN in a text editor and save the file as EPD (example: mate5.epd).
If your MS DOS prompt shows: C:\Documents and Settings\User1>
then add the above commands, so you get:
C:\Documents and Settings\User1>D:\CHESS\UTILITIES\EPDUtil\EPDUtil D:\CHESS\UTILITIES\EPDUtil\mate5.pgn
There more options of this Utility for experienced users. Read about them in the TEXT FILE: EPDUtil.txt that comes together with the EPDUtil utility in the CHEST UCI download or you can download EPDUtil directly from: http://www.geocities.com/fhub55/chess/