Author: Robert Hyatt
Date: 12:18:29 02/09/00
Go up one level in this thread
On February 09, 2000 at 11:41:13, Andreas Stabel wrote: >On February 09, 2000 at 11:11:32, Robert Hyatt wrote: > >>On February 09, 2000 at 10:57:04, James Robertson wrote: >> >>>On February 09, 2000 at 10:52:20, Andreas Stabel wrote: >>> >>>>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 program sounds really great! >>> >>>James :) >> >> >>Crafty will do this with a little work. Enter a position. Type "savepos x1" >>then type 'flip' which inverts the board (black/white pieces move to the >>opposite side of the board and change colors.) Type savepos x2. Then type >>'flop' which flops the board a-file to h-file leaving piece colors alone. >> >>etc. >> >>I use this to discover unexpected asymmetries in the eval, as a debugging >>tool. > >When somebody ask - What if I tried this or that or perhaps this would be >a good idea, Hyatt always answers that he tried this in '72 or something, >so I should have known that Mr. Hyatt already had done this :) > >Well, the work is done, and my program can rotate and process a whole file >with one command too, so perhaps somebody still will find it useful :) > >Regards >Andreas Stabel In the case of Crafty, it was _essential_. As I have two pieces of code for the eval, one for white and one for black. I usually write the white one, cut/paste it and then modify it for black. This lets me catch the editing errors quickly, and believe me there are many of them. :) Does go to show that there is not much new under the sun...
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.