Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChessBase question
#1
A technical question if I may.....

I am trying to 'output' my ChessBase games into a 'text' version. I need the annotations/text to be automatically bracketed thus {blahblahblah} in order for the annotations to show up in the correct format for pgn4web. Does anyone know how to do this? The developer of pgn4web told me that ChessBase should do it automatically, but it doesn't seem to Sad I could re-bracket every phrase or word individually, but life is too short!

An example to illustrate: this is what I get from the CB output -

26...exd6?? 27.Re1! and now I got that horrible sinking feeling in the pit of my stomach 27...Rc8 28.Rec1 Rc5 29.Rb2 Bf5 30.Rxc5?! Now I began to have hope again, but hope is a dangerous virtue in chess; it can rise higher than the position allows for. 30.Rc4 was better]

This is what I need it to do automatically -

26...exd6?? 27.Re1! {and now I got that horrible sinking feeling in the pit of my stomach.} 27...Rc8 28.Rec1 Rc5 29.Rb2 Bf5 30.Rxc5?! {Now I began to have hope again, but hope is a dangerous virtue in chess; it can rise higher than the position allows for.} 30.Rc4 {was better}]
Reply
#2
andyburnett Wrote:A technical question if I may.....

I am trying to 'output' my ChessBase games into a 'text' version. I need the annotations/text to be automatically bracketed thus {blahblahblah} in order for the annotations to show up in the correct format for pgn4web. Does anyone know how to do this? The developer of pgn4web told me that ChessBase should do it automatically, but it doesn't seem to Sad I could re-bracket every phrase or word individually, but life is too short!

An example to illustrate: this is what I get from the CB output -

26...exd6?? 27.Re1! and now I got that horrible sinking feeling in the pit of my stomach 27...Rc8 28.Rec1 Rc5 29.Rb2 Bf5 30.Rxc5?! Now I began to have hope again, but hope is a dangerous virtue in chess; it can rise higher than the position allows for. 30.Rc4 was better]

This is what I need it to do automatically -

26...exd6?? 27.Re1! {and now I got that horrible sinking feeling in the pit of my stomach.} 27...Rc8 28.Rec1 Rc5 29.Rb2 Bf5 30.Rxc5?! {Now I began to have hope again, but hope is a dangerous virtue in chess; it can rise higher than the position allows for.} 30.Rc4 {was better}]

Andy,

I have ChessBase 10 and added your sinking feeling text after move 44 in one of my games.
Then chose File | Save Game As...
Choose PGN as format and text appears in curly brackets when viewed in notepad.

Cheers,
Crawford.

[Event "SNCL Div2, 2013/14"]
[Site "?"]
[Date "2014.02.23"]
[Round "6"]
[White "Macnab, Crawford"]
[Black "Will, Douglas"]
[Result "1-0"]
[ECO "C56"]
[WhiteElo "1805"]
[BlackElo "1912"]
[Annotator ",Microsoft"]
[PlyCount "89"]
[EventDate "2011.11.20"]

1. e4 e5 2. Nf3 Nc6 3. d4 exd4 4. Bc4 Nf6 5. O-O Bc5 6. e5 Ng4 7. Bf4 O-O 8. h3
Nh6 9. Bxh6 gxh6 10. c3 d5 11. Bb3 Be6 12. cxd4 Bb6 13. Nc3 Qd7 14. Qd2 Kh8 (
14... f6 15. Rfd1 fxe5 16. dxe5) 15. Kh2 (15. Qf4 Bxh3 (15... f6 16. exf6 Qd8
17. Qe3 Rxf6) 16. Qf6+ Kg8 17. gxh3 Qxh3 18. Nxd5 Qg4+ 19. Kh1) (15. Qxh6 Rg8
16. Bc2 Rg7 17. Ng5 Bf5) 15... Rg8 16. Ne2 (16. Qf4 Raf8 17. Qf6+ Rg7 18. Rad1
Qd8 19. Bc2 Qxf6 20. exf6 Rgg8) 16... Rxg2+ 17. Kxg2 Bxh3+ 18. Kh2 Bxf1 19.
Rxf1 Qg4 20. Qf4 (20. Qxh6 Qxf3 (20... Rg8 21. Qf6+ Rg7 (21... Qg7 22. Qxg7+
Kxg7 23. Rg1+ Kf8 24. Rxg8+ Kxg8 25. Bxd5) 22. Rg1 Qh5+ 23. Nh4) 21. Bc2) 20...
Qxf4+ 21. Nxf4 Nxd4 22. Nxd4 Bxd4 23. Nd3 (23. Nxd5 Bxe5+ 24. f4 Bxb2) 23... c6
24. f4 Re8 25. Re1 Rg8 26. f5 Bb6 27. Kh3 Bc7 28. Bc2 f6 29. e6 (29. exf6 Rg3+
30. Kh4 Rg8 31. Re7 Bd8 32. Ne5 Rf8 33. Kh5 Rxf6 34. Re8+ Kg7 35. Rxd8 Rxf5+
36. Bxf5) 29... Rg3+ 30. Kh4 Rg8 31. Re2 Bd6 32. b4 h5 33. a3 (33. Kxh5 Rg5+
34. Kh4 Bg3+ 35. Kh3) 33... Bg3+ 34. Kh3 (34. Kxh5 Rg5+ 35. Kh6 Rg4 36. Rh2
Bxh2 37. Kh5 Rg5+) 34... Bd6 35. Rg2 (35. e7 Re8 36. Re6 Bxe7 37. Bd1 Kg7 38.
Bxh5 Kf8) 35... Re8 36. Ba4 b5 37. Bd1 a5 38. Bxh5 Ra8 39. Bf7 Be7 40. Kh4 (40.
bxa5 c5 41. Nf4 c4 42. Nxd5 Bxa3 43. Nxf6 Rf8 44. Nd7 Ra8 45. f6 Bd6 46. e7)
40... h6 41. Kh5 axb4 (41... Kh7 42. Rg6 Bf8 43. Ne5 fxe5 44. f6 Ra7 45. e7
Rxe7 46. Rxh6+ Bxh6 47. fxe7) 42. Kxh6 bxa3 43. Nf4 Bf8+ 44. Kg6 Bd6 {and now
I got that horrible sinking feeling in the pit of my stomach.} 45. Rh2# 1-0
Reply
#3
Thanks Crawford! I will try it out - it's not how I usually save games so I imagine it should work for me also Smile Much appreciated, Andy
Reply
#4
Crawford Macnab Wrote:
andyburnett Wrote:A technical question if I may.....

I am trying to 'output' my ChessBase games into a 'text' version. I need the annotations/text to be automatically bracketed thus {blahblahblah} in order for the annotations to show up in the correct format for pgn4web. Does anyone know how to do this? The developer of pgn4web told me that ChessBase should do it automatically, but it doesn't seem to Sad I could re-bracket every phrase or word individually, but life is too short!

An example to illustrate: this is what I get from the CB output -

26...exd6?? 27.Re1! and now I got that horrible sinking feeling in the pit of my stomach 27...Rc8 28.Rec1 Rc5 29.Rb2 Bf5 30.Rxc5?! Now I began to have hope again, but hope is a dangerous virtue in chess; it can rise higher than the position allows for. 30.Rc4 was better]

This is what I need it to do automatically -

26...exd6?? 27.Re1! {and now I got that horrible sinking feeling in the pit of my stomach.} 27...Rc8 28.Rec1 Rc5 29.Rb2 Bf5 30.Rxc5?! {Now I began to have hope again, but hope is a dangerous virtue in chess; it can rise higher than the position allows for.} 30.Rc4 {was better}]

Andy,

I have ChessBase 10 and added your sinking feeling text after move 44 in one of my games.
Then chose File | Save Game As...
Choose PGN as format and text appears in curly brackets when viewed in notepad.

Cheers,
Crawford.

[Event "SNCL Div2, 2013/14"]
[Site "?"]
[Date "2014.02.23"]
[Round "6"]
[White "Macnab, Crawford"]
[Black "Will, Douglas"]
[Result "1-0"]
[ECO "C56"]
[WhiteElo "1805"]
[BlackElo "1912"]
[Annotator ",Microsoft"]
[PlyCount "89"]
[EventDate "2011.11.20"]

1. e4 e5 2. Nf3 Nc6 3. d4 exd4 4. Bc4 Nf6 5. O-O Bc5 6. e5 Ng4 7. Bf4 O-O 8. h3
Nh6 9. Bxh6 gxh6 10. c3 d5 11. Bb3 Be6 12. cxd4 Bb6 13. Nc3 Qd7 14. Qd2 Kh8 (
14... f6 15. Rfd1 fxe5 16. dxe5) 15. Kh2 (15. Qf4 Bxh3 (15... f6 16. exf6 Qd8
17. Qe3 Rxf6) 16. Qf6+ Kg8 17. gxh3 Qxh3 18. Nxd5 Qg4+ 19. Kh1) (15. Qxh6 Rg8
16. Bc2 Rg7 17. Ng5 Bf5) 15... Rg8 16. Ne2 (16. Qf4 Raf8 17. Qf6+ Rg7 18. Rad1
Qd8 19. Bc2 Qxf6 20. exf6 Rgg8) 16... Rxg2+ 17. Kxg2 Bxh3+ 18. Kh2 Bxf1 19.
Rxf1 Qg4 20. Qf4 (20. Qxh6 Qxf3 (20... Rg8 21. Qf6+ Rg7 (21... Qg7 22. Qxg7+
Kxg7 23. Rg1+ Kf8 24. Rxg8+ Kxg8 25. Bxd5) 22. Rg1 Qh5+ 23. Nh4) 21. Bc2) 20...
Qxf4+ 21. Nxf4 Nxd4 22. Nxd4 Bxd4 23. Nd3 (23. Nxd5 Bxe5+ 24. f4 Bxb2) 23... c6
24. f4 Re8 25. Re1 Rg8 26. f5 Bb6 27. Kh3 Bc7 28. Bc2 f6 29. e6 (29. exf6 Rg3+
30. Kh4 Rg8 31. Re7 Bd8 32. Ne5 Rf8 33. Kh5 Rxf6 34. Re8+ Kg7 35. Rxd8 Rxf5+
36. Bxf5) 29... Rg3+ 30. Kh4 Rg8 31. Re2 Bd6 32. b4 h5 33. a3 (33. Kxh5 Rg5+
34. Kh4 Bg3+ 35. Kh3) 33... Bg3+ 34. Kh3 (34. Kxh5 Rg5+ 35. Kh6 Rg4 36. Rh2
Bxh2 37. Kh5 Rg5+) 34... Bd6 35. Rg2 (35. e7 Re8 36. Re6 Bxe7 37. Bd1 Kg7 38.
Bxh5 Kf8) 35... Re8 36. Ba4 b5 37. Bd1 a5 38. Bxh5 Ra8 39. Bf7 Be7 40. Kh4 (40.
bxa5 c5 41. Nf4 c4 42. Nxd5 Bxa3 43. Nxf6 Rf8 44. Nd7 Ra8 45. f6 Bd6 46. e7)
40... h6 41. Kh5 axb4 (41... Kh7 42. Rg6 Bf8 43. Ne5 fxe5 44. f6 Ra7 45. e7
Rxe7 46. Rxh6+ Bxh6 47. fxe7) 42. Kxh6 bxa3 43. Nf4 Bf8+ 44. Kg6 Bd6 {and now
I got that horrible sinking feeling in the pit of my stomach.} 45. Rh2# 1-0

Interesting... i usually avoid pgn format since it seems to lose other data...
Reply
#5
Maybe you could print it as a text file - that used to work.
Good sense is of all things in the world the most equally distributed, for everybody thinks himself so abundantly provided with it, that even those most difficult to please do not commonly desire more of it than they already possess. Descartes
Reply
#6
donaldheron Wrote:Maybe you could print it as a text file - that used to work.

Crawford's solution is perfect Don. Really quick and easy for updating the website.

I usually use the output option, which is fine except for the pgn text I need to produce.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)