amanjpro wrote: ↑Sat May 08, 2021 11:24 pm
Thank you again Joost. Is it possible to get the pgns for all the games? I'm interested in a few of them
Hi, I've mailed you the games. You have to edit them slightly to get them in PGN format, basically you only have to change the header. According to HGM there should be an option to get the games in PGN format, but I haven't found out yet how to do this.
I use the server software as it is. I only removed a few annoying bugs that appeared when it is compiled with later versions of GCC. It's not a hobby of mine to start working on that very old piece of software because I have other more interesting things to do.
I think it is determined by a user variable (set pgn 1 ?). In any case the ICS source has a routine set_pgn (in variable.c) which prints the message "Games will now be mailed to you in PGN.". I think this was original; all I did was include the engine score/depth in the PGN as comments. So it must be documented. Perhaps "help variables"?
hgm wrote: ↑Sun May 09, 2021 11:50 am
I think it is determined by a user variable (set pgn 1 ?). In any case the ICS source has a routine set_pgn (in variable.c) which prints the message "Games will now be mailed to you in PGN.". I think this was original; all I did was include the engine score/depth in the PGN as comments. So it must be documented. Perhaps "help variables"?
Indeed you are right, there is a pgn variable, when it is set to 1 it outputs something that could be interpreted as PGN. It looks very messy though.
Could be the fault of your e-mail client that there are no linefeeds; the ICS runs on Linux, so it would use no CR to delimit lines, and Windows would not understand that.
As to the comments; these are the score/depth. Except that these seem not to be initialized in the game you showed. I will check how it can be that the mailstored command can think that score/depth is available, while it actually isn't.
hgm wrote: ↑Sun May 09, 2021 12:26 pm
Could be the fault of your e-mail client that there are no linefeeds; the ICS runs on Linux, so it would use no CR to delimit lines, and Windows would not understand that.
As to the comments; these are the score/depth. Except that these seem not to be initialized in the game you showed. I will check how it can be that the mailstored command can think that score/depth is available, while it actually isn't.
It's not a problem of the mail client, pasting it at the forum is, the mail client shows the line breaks.
It could be that there are uninitialized variables, the source very much relies upon the compiler initializing variables at zero, maybe some of these auto initialization rules changed over time. At least I found several locations in the source where this was a problem.
Really really appreciated, I am not familiar with (F)ICS, and thought it is easy to get the PGN for the entire tourney in one single command, apparently I was terribly mistaken! I really didn't want you to go into so much trouble, sorry again. I will make sure to save the games on my end next time
amanjpro wrote: ↑Sun May 09, 2021 4:17 pm
Really really appreciated, I am not familiar with (F)ICS, and thought it is easy to get the PGN for the entire tourney in one single command, apparently I was terribly mistaken! I really didn't want you to go into so much trouble, sorry again. I will make sure to save the games on my end next time
Don't worry, I had to fix sendmail anyway. Each time mail providers increase security levels, which is good but breaks something, now I send the mails to my own mail-server first to circumvent that I have to make changes more than once.
When I feel like it, I want to fix the issues in the PGN output. When this is fixed you can use 'set pgn 1' and 'set automail 1', and each game you play will be automatically mailed to you.
The only drawback is that the old ICS software is single threaded, when everybody starts using this there is a big chance that the server will go down on it's knees. Maybe better to disable automail completely and only use mailstored.