Maybe a little bug in Xboard 4.9.1

Discussion of chess software programming and technical issues.

Moderator: Ras

OliverBr
Posts: 865
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: Maybe a little bug in Xboard 4.9.1

Post by OliverBr »

syzygy wrote: Sun Oct 05, 2025 3:55 am
OliverBr wrote: Sun Oct 05, 2025 3:38 am This raises actually another question: Why I am the only one who actually cares since the release of 4.9.1?
I have xboard-4.9.1 on my PC, and I can load and view the PGNs you linked to just fine (even before running it through the script).
Really? That one, too?
https://ccrl.live/pgns/119th_Amateur_D1 ... 64-bit.pgn

The LiChess file I posted works here, too. It was only an example that they don't respect the 255 character in one line either.
OliThink GitHub: https://github.com/olithink
Nice arcticle about OlIThink: https://www.chessengeria.eu/post/olithink-oldie-goldie
Chess Engine OliThink Homepage: http://brausch.org/home/chess
Modern Times
Posts: 3752
Joined: Thu Jun 07, 2012 11:02 pm

Re: Maybe a little bug in Xboard 4.9.1

Post by Modern Times »

OliverBr wrote: Sun Oct 05, 2025 9:19 am
Modern Times wrote: Sun Oct 05, 2025 8:22 am That is the raw pgn from Graham's live broadcast isn't it ? I'd say it only actually becomes an "official" CCRL game once he submits it for processing (which coincidentally he does himself) and it is parsed and becomes available for download from the CCRL web site. How does that same game look when downloaded from the CCRL website once it has been processed through their scripts ?
The pgn-Files I posted are from this link of this CCRL site:
https://ccrl.live/pgns/

All those files are final there and contain all the moves and variants in one single line and none is less than 256 characters.
As I mentioned before pgn Files from LiChess have the same "Issue".
Download the games from here:
https://computerchess.org.uk/ccrl/4040/

They are the "final" ones.
OliverBr
Posts: 865
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: Maybe a little bug in Xboard 4.9.1

Post by OliverBr »

Modern Times wrote: Sun Oct 05, 2025 10:00 am Download the games from here:
https://computerchess.org.uk/ccrl/4040/

They are the "final" ones.
Ok, thank you for the link:
Where do I get exactly the following pgn?

https://ccrl.live/pgns/119th_Amateur_D1 ... 64-bit.pgn

Ah, I found a link to get a many OliThink 5.11.9 pgns at once. And those pgns do respect the specification.
But I haven't found the game with Lishex :( Maybe because it was against OliThink 5.11.8. Could you please navigate me, where to find it?

Can you help the same with LiChess?
OliThink GitHub: https://github.com/olithink
Nice arcticle about OlIThink: https://www.chessengeria.eu/post/olithink-oldie-goldie
Chess Engine OliThink Homepage: http://brausch.org/home/chess
OliverBr
Posts: 865
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: Maybe a little bug in Xboard 4.9.1

Post by OliverBr »

OliverBr wrote: Sun Oct 05, 2025 1:58 pm .... Could you please navigate me, where to find it?

Can you help the same with LiChess?
I withdraw my questions. I find it overelaborate that way. It's also suboptimal not knowing if and when the file will be available there.
Therefore this great page (https://ccrl.live/pgns/) exists where you have direct access to the game that has been played a moment ago.

Wouldn't it be easier for everyone to increase BufferSize in Xboard and make a release?
I am just asking and would be very grateful, because I like Xboard really a lot.
OliThink GitHub: https://github.com/olithink
Nice arcticle about OlIThink: https://www.chessengeria.eu/post/olithink-oldie-goldie
Chess Engine OliThink Homepage: http://brausch.org/home/chess
syzygy
Posts: 5763
Joined: Tue Feb 28, 2012 11:56 pm

Re: Maybe a little bug in Xboard 4.9.1

Post by syzygy »

OliverBr wrote: Sun Oct 05, 2025 2:35 pm
OliverBr wrote: Sun Oct 05, 2025 1:58 pm .... Could you please navigate me, where to find it?

Can you help the same with LiChess?
I withdraw my questions. I find it overelaborate that way. It's also suboptimal not knowing if and when the file will be available there.
Therefore this great page (https://ccrl.live/pgns/) exists where you have direct access to the game that has been played a moment ago.

Wouldn't it be easier for everyone to increase BufferSize in Xboard and make a release?
I am just asking and would be very grateful, because I like Xboard really a lot.
What stops you from recompiling xboard with the fix I propose?
Or what stops you from pulling the pgns you download through pgn-extract?
Why does it have to be other people that must solve your problem? (Which we already did in several ways, but apparently none to your liking...)
Modern Times
Posts: 3752
Joined: Thu Jun 07, 2012 11:02 pm

Re: Maybe a little bug in Xboard 4.9.1

Post by Modern Times »

OliverBr wrote: Sun Oct 05, 2025 2:35 pm
OliverBr wrote: Sun Oct 05, 2025 1:58 pm .... Could you please navigate me, where to find it?

Can you help the same with LiChess?
I withdraw my questions. I find it overelaborate that way. It's also suboptimal not knowing if and when the file will be available there.
Therefore this great page (https://ccrl.live/pgns/) exists where you have direct access to the game that has been played a moment ago.
Yes, you would have to wait up to a week or so for Graham to update the main 40/15 site - and you can't download a specific game of course.
https://computerchess.org.uk/ccrl/4040/
Dave Gomboc
Posts: 27
Joined: Sun Aug 15, 2021 12:22 am
Full name: Dave Gomboc

Re: Maybe a little bug in Xboard 4.9.1

Post by Dave Gomboc »

OliverBr wrote: Sun Oct 05, 2025 2:35 pm Wouldn't it be easier for everyone to increase BufferSize in Xboard and make a release?
I am just asking and would be very grateful, because I like Xboard really a lot.
Please consider asking CCRL to fix their scripting that saves those live games as soon as they are played so that the appropriate line splitting is done immediately, so that when you download the .pgn file it is actually compliant with the 255-character limit to begin with. The intent behind PGN was clearly to be human-readable, and just as clearly, a single line of text containing tens of thousands of characters doesn't qualify as such.

While it would ideally be simple to do, making a new release of XBoard is unfortunately far from a trivial task at the moment.
User avatar
Graham Banks
Posts: 44676
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Maybe a little bug in Xboard 4.9.1

Post by Graham Banks »

Dave Gomboc wrote: Mon Oct 06, 2025 8:34 am
OliverBr wrote: Sun Oct 05, 2025 2:35 pm Wouldn't it be easier for everyone to increase BufferSize in Xboard and make a release?
I am just asking and would be very grateful, because I like Xboard really a lot.
Please consider asking CCRL to fix their scripting that saves those live games as soon as they are played so that the appropriate line splitting is done immediately, so that when you download the .pgn file it is actually compliant with the 255-character limit to begin with. The intent behind PGN was clearly to be human-readable, and just as clearly, a single line of text containing tens of thousands of characters doesn't qualify as such.

While it would ideally be simple to do, making a new release of XBoard is unfortunately far from a trivial task at the moment.
The broadcast viewer saves the PGNs in a different way and is completely independent of the CCRL scripts.
gbanksnz at gmail.com
Dave Gomboc
Posts: 27
Joined: Sun Aug 15, 2021 12:22 am
Full name: Dave Gomboc

Re: Maybe a little bug in Xboard 4.9.1

Post by Dave Gomboc »

Graham Banks wrote: Mon Oct 06, 2025 10:51 am The broadcast viewer saves the PGNs in a different way and is completely independent of the CCRL scripts.
Fair enough--I'm not at all familiar with the details. I'll revise: who is the responsible party for the code that generates the malformed PGN that Oliver is unhappy with, and can an interested party report that problem to them and possibly also assist in remedying it?
User avatar
Graham Banks
Posts: 44676
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Maybe a little bug in Xboard 4.9.1

Post by Graham Banks »

Dave Gomboc wrote: Tue Oct 07, 2025 2:16 am
Graham Banks wrote: Mon Oct 06, 2025 10:51 am The broadcast viewer saves the PGNs in a different way and is completely independent of the CCRL scripts.
Fair enough--I'm not at all familiar with the details. I'll revise: who is the responsible party for the code that generates the malformed PGN that Oliver is unhappy with, and can an interested party report that problem to them and possibly also assist in remedying it?
Use the link at the bottom of the broadcast viewer.
gbanksnz at gmail.com