Compression for chess game data... what to use?

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
User avatar
Mike Davies
Microbot
Posts: 137
Joined: Mon Nov 13, 2017 10:11 am

Re: Compression for chess game data... what to use?

Post by Mike Davies »

That looks like the reverse engineering of the "new" Chessbase format (CBH and it's plethora of files). I was thinking of the original Chessbase format (just the CBF + CBI files).

Ah here's the document I was thinking of:
https://hwiegman.home.xs4all.nl/filefor ... HSBASE.TXT (Section 2.4: Halfmoves and variants)

Sorry it took me some time to track this down again, been a long long time since I last read this.
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: Compression for chess game data... what to use?

Post by Nomad »

That is very useful. Thanks. One interesting feature that probably needs to be patched :lol:

Its in the game header.

Code: Select all

  		0     sbyte   GY (signed byte)
                year of game = GY+1900.
                (e.g. -29 = $E3 => 1871)
                if GY = 127 then no year specified
2027 = no year specified

That disassembly is very well done.
User avatar
Mike Davies
Microbot
Posts: 137
Joined: Mon Nov 13, 2017 10:11 am

Re: Compression for chess game data... what to use?

Post by Mike Davies »

Found this article talking about various chess move compression while trawling on a different project:

https://triplehappy.wordpress.com/2015/ ... mpression/
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: Compression for chess game data... what to use?

Post by Nomad »

Thank you, that post is very interesting.
Post Reply