Is there an easy way to convert Chessmaster .obk opening books to the Arena .abk format?
Thanks for any suggestions.
Dave
Convert .obk books to .abk books?
Moderators: hgm, Rebel, chrisw
-
- Posts: 1296
- Joined: Sun Mar 12, 2006 6:46 pm
- Location: Kelowna
- Full name: Tony Mokonen
Re: Convert .obk books to .abk books?
There is an OBK2PGN utility, and then the PGN can be imported into ABK format from within Arena.
http://homepages.paradise.net.nz/npatti ... kPage.html
I am not aware of a utility that converts directly to ABK format.
http://homepages.paradise.net.nz/npatti ... kPage.html
I am not aware of a utility that converts directly to ABK format.
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Convert .obk books to .abk books?
On a related topic, does someone know if there is a description of the abk format? I am considering supporting it natively inside my engine...
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 900
- Joined: Wed Mar 08, 2006 9:06 pm
Re: Convert .obk books to .abk books?
Thanks for the info and link. Looks ideal for a few books but a lot of work for many books, which is what i had in mind. i want to convert the CM Grandmaster books to Arena books. And so far i have 68 Grandmaster .obk books.tmokonen wrote:There is an OBK2PGN utility, and then the PGN can be imported into ABK format from within Arena.
http://homepages.paradise.net.nz/npatti ... kPage.html
I am not aware of a utility that converts directly to ABK format.
-
- Posts: 900
- Joined: Wed Mar 08, 2006 9:06 pm
Re: Convert .obk books to .abk books?
OK,i tested OBK2PGN and it works fine. All the games in the output pgn are in this format -
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "-"]
[White "?"]
[Black "?"]
[Result "1/2-1/2"]
1. e4!! e5!! 2. Nc3! Nc6!! 3. f4! exf4!! 4. Nf3!! g5!! 5. Bc4!! Bg7? 6. O-O!!
d6? 7. d4!! h6? 8. Ne2!! Na5? 9. Bd3!! d5? 10. Qe1!! dxe4? 11. Bxe4!! c6? 12.
Bd3!! Ne7? 13. b4!! g4? 14. Ne5!! Bxe5? 15. dxe5!! f3? 16. gxf3!! gxf3? 17.
Rxf3!! Bg4? 18. Rg3!! Bxe2? 19. Bxe2!! Nc4? 20. Qc3!!
Now i must learn how to make quality Arena books from this type of pgn.
Any hints from Arena book experts?
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "-"]
[White "?"]
[Black "?"]
[Result "1/2-1/2"]
1. e4!! e5!! 2. Nc3! Nc6!! 3. f4! exf4!! 4. Nf3!! g5!! 5. Bc4!! Bg7? 6. O-O!!
d6? 7. d4!! h6? 8. Ne2!! Na5? 9. Bd3!! d5? 10. Qe1!! dxe4? 11. Bxe4!! c6? 12.
Bd3!! Ne7? 13. b4!! g4? 14. Ne5!! Bxe5? 15. dxe5!! f3? 16. gxf3!! gxf3? 17.
Rxf3!! Bg4? 18. Rg3!! Bxe2? 19. Bxe2!! Nc4? 20. Qc3!!
Now i must learn how to make quality Arena books from this type of pgn.
Any hints from Arena book experts?
-
- Posts: 1384
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Convert .obk books to .abk books?
JuLieN wrote:On a related topic, does someone know if there is a description of the abk format? I am considering supporting it natively inside my engine...
Hi Julien,
Here is an 'abk to pgn' conversion tool with src which may be of some help to you.
http://dl.dropbox.com/u/5047625/Arena%2 ... mod%29.zip
Jim.
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Convert .obk books to .abk books?
Thanks a lot, Jim!Jim Ablett wrote:JuLieN wrote:On a related topic, does someone know if there is a description of the abk format? I am considering supporting it natively inside my engine...
Hi Julien,
Here is an 'abk to pgn' conversion tool with src which may be of some help to you.
http://dl.dropbox.com/u/5047625/Arena%2 ... mod%29.zip
Jim.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 900
- Joined: Wed Mar 08, 2006 9:06 pm
Re: Convert .obk books to .abk books?
After checking the Arena help file, i'm not sure it's possible to create suitable .abk books from the pgn files created by OBK2PGN. All the games are scored as draws (1/2-1/2) and Arena uses win/loss percentage to determine which moves will be played (although drawn games can be imported).David Dahlem wrote:OK,i tested OBK2PGN and it works fine. All the games in the output pgn are in this format -
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "-"]
[White "?"]
[Black "?"]
[Result "1/2-1/2"]
1. e4!! e5!! 2. Nc3! Nc6!! 3. f4! exf4!! 4. Nf3!! g5!! 5. Bc4!! Bg7? 6. O-O!!
d6? 7. d4!! h6? 8. Ne2!! Na5? 9. Bd3!! d5? 10. Qe1!! dxe4? 11. Bxe4!! c6? 12.
Bd3!! Ne7? 13. b4!! g4? 14. Ne5!! Bxe5? 15. dxe5!! f3? 16. gxf3!! gxf3? 17.
Rxf3!! Bg4? 18. Rg3!! Bxe2? 19. Bxe2!! Nc4? 20. Qc3!!
Now i must learn how to make quality Arena books from this type of pgn.
Any hints from Arena book experts?
Any ideas?
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Convert .obk books to .abk books?
Use a strong engine to evaluate each of the terminal positions, >+.20 gets a 1-0, <-.20 gets a 0-1, and you get a 1/2 in-between.David Dahlem wrote:After checking the Arena help file, i'm not sure it's possible to create suitable .abk books from the pgn files created by OBK2PGN. All the games are scored as draws (1/2-1/2) and Arena uses win/loss percentage to determine which moves will be played (although drawn games can be imported).David Dahlem wrote:OK,i tested OBK2PGN and it works fine. All the games in the output pgn are in this format -
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "-"]
[White "?"]
[Black "?"]
[Result "1/2-1/2"]
1. e4!! e5!! 2. Nc3! Nc6!! 3. f4! exf4!! 4. Nf3!! g5!! 5. Bc4!! Bg7? 6. O-O!!
d6? 7. d4!! h6? 8. Ne2!! Na5? 9. Bd3!! d5? 10. Qe1!! dxe4? 11. Bxe4!! c6? 12.
Bd3!! Ne7? 13. b4!! g4? 14. Ne5!! Bxe5? 15. dxe5!! f3? 16. gxf3!! gxf3? 17.
Rxf3!! Bg4? 18. Rg3!! Bxe2? 19. Bxe2!! Nc4? 20. Qc3!!
Now i must learn how to make quality Arena books from this type of pgn.
Any hints from Arena book experts?
Any ideas?
You could make a script to automatize the process.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 900
- Joined: Wed Mar 08, 2006 9:06 pm
Re: Convert .obk books to .abk books?
Yes, i already thought of that, but it would take much too long.JuLieN wrote:Use a strong engine to evaluate each of the terminal positions, >+.20 gets a 1-0, <-.20 gets a 0-1, and you get a 1/2 in-between.David Dahlem wrote:After checking the Arena help file, i'm not sure it's possible to create suitable .abk books from the pgn files created by OBK2PGN. All the games are scored as draws (1/2-1/2) and Arena uses win/loss percentage to determine which moves will be played (although drawn games can be imported).David Dahlem wrote:OK,i tested OBK2PGN and it works fine. All the games in the output pgn are in this format -
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "-"]
[White "?"]
[Black "?"]
[Result "1/2-1/2"]
1. e4!! e5!! 2. Nc3! Nc6!! 3. f4! exf4!! 4. Nf3!! g5!! 5. Bc4!! Bg7? 6. O-O!!
d6? 7. d4!! h6? 8. Ne2!! Na5? 9. Bd3!! d5? 10. Qe1!! dxe4? 11. Bxe4!! c6? 12.
Bd3!! Ne7? 13. b4!! g4? 14. Ne5!! Bxe5? 15. dxe5!! f3? 16. gxf3!! gxf3? 17.
Rxf3!! Bg4? 18. Rg3!! Bxe2? 19. Bxe2!! Nc4? 20. Qc3!!
Now i must learn how to make quality Arena books from this type of pgn.
Any hints from Arena book experts?
Any ideas?
You could make a script to automatize the process.