Author: Andreas Stabel
Date: 07:52:20 02/09/00
I've made a program that takes a file with FEN positions and inverts the colours, castlings, en passant, side to move and so on to generate an equivalent position. The program is also able to exchange right and left sides of the board, but then castling info is lost. I is even possible to rotate the board 90 degrees, but only if there are no pawns ! The program is free for anybody, with source. Just e-mail me at anst@dolphin.no The interface is simple and the program may easily be compiled on any machine with a C compiler. If you want, you can get a Windows or SCO-Unix (Intel) executable. The program has the following interface: Usage: rfen <input file> [-<options>] Legal options are: c: Generate crafty setboard output e: Output warnings and info about errors in format f: Generate FEN output (Default) i: Invert board and black & white pieces m: Mirror right and left side (Castling is lost) r: Rotate board clockwise (Only if no pawns) s: Turn off strict checking of FEN v: Verbose To invert all FEN positions in a file type: rfen -ei file.fen > newfile.fen I hope somebody finds this useful Best regards Andreas Stabel
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.