RomiChess P3n released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: RomiChess P3n released

Post by Michael Sherwin »

Ovyron wrote:Hi Michael.

What I tried was training Romi "bottom-top" instead of "top-bottom".

That is, instead of having Romi play a stronger opponent, she plays a weaker opponent (that she is always able to defeat), and then I increase the strength of the opponent until they're at the same level (i.e. increase the opponent's Depth until Romi draws or loses a game, then Romi trains against the opponent at this depth until she can beat them, and I increase its depth again.)

I was playing Romi at 10 seconds/move against Houdini Typhoon (Tactical=1, Contempt=10) and Romi won all her games up until Depth=7, at Depth=8 the game was drawn.

However, I'm unable to merge this PGN to the learn file, even though I hadn't problems adding 1.2 million games.

Romi just hangs when I try to merge the PGN, can you check it out? Are you able to merge it to a learn file? Am I doing something wrong?

Here's the game I'm unable to merge:

[Event "RomiGO"]
[Site "Mexico"]
[Date "2018.01.07"]
[Round "8"]
[White "Romi 10 Seconds"]
[Black "Houdini Typhoon Depth 8"]
[WhiteElo "2000"]
[BlackElo "2000"]
[ECO "A07"]
[Result "1/2-1/2"]

1. Nf3 d5 2. g3 Nf6 3. Bg2 e6 4. O-O c5 5. d4 cxd4 6. Nxd4
e5 7. Nf3 Nc6 8. c4 d4 9. Bg5 h6 10. Bxf6 Qxf6 11. Qa4 Bd7
12. Nbd2 Be7 13. Ne1 a6 14. Nd3 O-O 15. Ne4 Qg6 16. Nec5
Bg4 17. Be4 Qf6 18. Nxb7 Bxe2 19. Rfe1 Bxd3 20. Bxd3 Rab8
21. Qxa6 Rfc8 22. a3 Rc7 23. Na5 Rxb2 24. Qa8+ Bf8 25. Rf1
Rb8 26. Qa6 Qd6 27. Nxc6 Rxc6 28. Qa5 Rc5 29. Qa4 g6
30. Rfb1 f5 31. Rxb8 Qxb8 32. Rb1 Qc8 33. f3 Kh7 34. Rb6
Kg7 35. Qa6 Qxa6 36. Rxa6 Rc7 37. g4 Rb7 38. gxf5 gxf5
39. Bxf5 Rb3 40. Be4 d3 41. Ra7+ Kf6 42. Ra6+ Kf7 43. Ra7+
Ke6 44. Ra6+ Kf7 45. Ra7+ Ke6 46. Ra6+ Kf7 1/2-1/2
Edited: The pgn will not load into Arena either so there must be something wrong with it. I entered the moves by hand and I thought that there was a problem with 3 fold repetition but I may have entered in too many moves. My eyes are bothering me today so I've done all I can do for now.
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
User avatar
Ovyron
Posts: 4562
Joined: Tue Jul 03, 2007 4:30 am

Re: RomiChess P3n released

Post by Ovyron »

At least the forum software loads it fine:

[pgn]
[Event "RomiGO"]
[Site "Mexico"]
[Date "2018.01.07"]
[Round "8"]
[White "Romi"]
[Black "Hooudini Typhoon"]
[WhiteElo "2000"]
[BlackElo "2000"]
[ECO "A07"]
[Result "1/2-1/2"]

1. Nf3 d5 2. g3 Nf6 3. Bg2 e6 4. O-O c5 5. d4 cxd4 6. Nxd4
e5 7. Nf3 Nc6 8. c4 d4 9. Bg5 h6 10. Bxf6 Qxf6 11. Qa4 Bd7
12. Nbd2 Be7 13. Ne1 a6 14. Nd3 O-O 15. Ne4 Qg6 16. Nec5
Bg4 17. Be4 Qf6 18. Nxb7 Bxe2 19. Rfe1 Bxd3 20. Bxd3 Rab8
21. Qxa6 Rfc8 22. a3 Rc7 23. Na5 Rxb2 24. Qa8+ Bf8 25. Rf1
Rb8 26. Qa6 Qd6 27. Nxc6 Rxc6 28. Qa5 Rc5 29. Qa4 g6
30. Rfb1 f5 31. Rxb8 Qxb8 32. Rb1 Qc8 33. f3 Kh7 34. Rb6
Kg7 35. Qa6 Qxa6 36. Rxa6 Rc7 37. g4 Rb7 38. gxf5 gxf5
39. Bxf5 Rb3 40. Be4 d3 41. Ra7+ Kf6 42. Ra6+ Kf7 43. Ra7+
Ke6 44. Ra6+ Kf7 45. Ra7+ Ke6 46. Ra6+ Kf7
1/2-1/2
[/pgn]

I wonder what's wrong with the PGN that not even Arena loads it :shock:

I also tried cropping the game up to move 40 to no avail.
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: RomiChess P3n released

Post by Michael Sherwin »

Ovyron wrote:At least the forum software loads it fine:

[pgn]
[Event "RomiGO"]
[Site "Mexico"]
[Date "2018.01.07"]
[Round "8"]
[White "Romi"]
[Black "Hooudini Typhoon"]
[WhiteElo "2000"]
[BlackElo "2000"]
[ECO "A07"]
[Result "1/2-1/2"]

1. Nf3 d5 2. g3 Nf6 3. Bg2 e6 4. O-O c5 5. d4 cxd4 6. Nxd4
e5 7. Nf3 Nc6 8. c4 d4 9. Bg5 h6 10. Bxf6 Qxf6 11. Qa4 Bd7
12. Nbd2 Be7 13. Ne1 a6 14. Nd3 O-O 15. Ne4 Qg6 16. Nec5
Bg4 17. Be4 Qf6 18. Nxb7 Bxe2 19. Rfe1 Bxd3 20. Bxd3 Rab8
21. Qxa6 Rfc8 22. a3 Rc7 23. Na5 Rxb2 24. Qa8+ Bf8 25. Rf1
Rb8 26. Qa6 Qd6 27. Nxc6 Rxc6 28. Qa5 Rc5 29. Qa4 g6
30. Rfb1 f5 31. Rxb8
Qxb8 32. Rb1 Qc8 33. f3 Kh7 34. Rb6
Kg7 35. Qa6 Qxa6 36. Rxa6 Rc7 37. g4 Rb7 38. gxf5 gxf5
39. Bxf5 Rb3 40. Be4 d3 41. Ra7+ Kf6 42. Ra6+ Kf7 43. Ra7+
Ke6 44. Ra6+ Kf7 45. Ra7+ Ke6 46. Ra6+ Kf7
1/2-1/2
[/pgn]

I wonder what's wrong with the PGN that not even Arena loads it :shock:

I also tried cropping the game up to move 40 to no avail.
I made the moves by hand and had Arena export the pgn to the clipboard.

[Event "Computer chess game"]
[Site "MASTER"]
[Date "2018.01.08"]
[Round "?"]
[White "Mike Sherwin"]
[Black "Mike Sherwin"]
[Result "1/2-1/2"]
[BlackElo "2400"]
[ECO "A92"]
[Opening "Dutch"]
[Time "11:58:28"]
[Variation "Stonewall, 7.Nbd2 c6"]
[WhiteElo "2400"]
[TimeControl "40/120:40/120:40/120"]
[Termination "normal"]
[PlyCount "92"]
[WhiteType "human"]
[BlackType "human"]

1. Nf3 d5 2. g3 Nf6 3. Bg2 e6 4. O-O c5 5. d4 cxd4 6. Nxd4 e5 7. Nf3 Nc6 8.
c4 d4 9. Bg5 h6 10. Bxf6 Qxf6 11. Qa4 Bd7 12. Nbd2 Be7 13. Ne1 a6 14. Nd3
O-O 15. Ne4 Qg6 16. Nec5 Bg4 17. Be4 Qf6 18. Nxb7 Bxe2 19. Rfe1 Bxd3 20.
Bxd3 Rab8 21. Qxa6 Rfc8 22. a3 Rc7 23. Na5 Rxb2 24. Qa8+ Bf8 25. Rf1 Rb8
26. Qa6 Qd6 27. Nxc6 Rxc6 28. Qa5 Rc5 29. Qa4 g6 30. Rfb1 f5 31. Rxb8 Qxb8 32. Rb1 Qc8 33. f3 Kh7 34. Rb6 Kg7 35. Qa6 Qxa6 36. Rxa6 Rc7 37. g4 Rb7 38. gxf5 gxf5 39. Bxf5 Rb3 40. Be4 d3 41. Ra7+ Kf6 42. Ra6+ Kf7 43. Ra7+ Ke6 44. Ra6+ Kf7 45. Ra7+ Ke6 46. Ra6+ Kf7 {3-fold repetition} 1/2-1/2

Arena loads this so I imagine Romi can merge it also.
:D

I did this all with one eye closed and the other eye wants to stay closed so I better call it quits for today. Great idea by the way! :D
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
User avatar
Ovyron
Posts: 4562
Joined: Tue Jul 03, 2007 4:30 am

Re: RomiChess P3n released

Post by Ovyron »

Michael Sherwin wrote:Arena loads this so I imagine Romi can merge it also.
:D
Incredibly, it does not! o_O Romi really hates this game...

Also, I just picked a random PGN with a draw game to investigate, and Romi can't merge it to the learn file, it hangs as well! o_O

[Event "1 Minutes/Game + 7 Seconds/Move"]
[Site "Engine Match"]
[Date "2010.12.16"]
[Round "1"]
[White "Rybka 4.1 B4"]
[Black "Houdini 1.5 x64"]
[Result "1/2-1/2"]

1. e4 {+0.16/16 12s} e5 {+0.01/19 12s} 2. Nf3 {+0.15/17
38s} Nc6 {+0.03/19 7s} 3. Bb5 {+0.15/15 14s (Bc4)} Nf6
{+0.02/18 6s (Bd6)} 4. O-O {+0.39/13 9s} Nxe4 {+0.15/17 9s
(Be7)} 5. d4 {+0.29/14 7s} Be7 {+0.13/19 16s} 6. Qe2
{+0.40/15 3s} Nd6 {+0.22/22 13s} 7. Bxc6 {+0.40/15 2s} bxc6
{+0.13/22 12s} 8. dxe5 {+0.33/16 5s} Nf5 {+0.13/22 10s}
9. Qe4 {+0.30/16 9s} g6 {+0.12/21 6s} 10. c4 {+0.27/15 8s}
O-O {+0.12/19 10s} 11. Nc3 {+0.32/14 7s} Bb7 {+0.13/18 9s
(Re8)} 12. Rd1 {+0.32/14 12s} Re8 {+0.15/18 8s (d6)}
13. Bf4 {+0.32/13 9s} d6 {+0.17/17 7s} 14. h3 {+0.19/13 8s
(Qc2)} f6 {+0.08/17 5s (Rb8)} 15. exd6 {+0.19/14 11s} Bxd6
{+0.12/19 8s} 16. Qc2 {+0.19/14 5s} c5 {+0.20/19 5s}
17. Nd5 {+0.26/12 6s} Rb8 {+0.08/18 6s} 18. Bxd6 {+0.25/15
4s} cxd6 {+0.16/19 8s} 19. b3 {+0.25/14 7s} h5 {+0.09/18 7s
(Kf7)} 20. Qc3 {+0.20/14 7s (Qd3)} Kf7 {+0.11/18 7s}
21. Rab1 {+0.17/14 8s (Rd3)} Bxd5 {+0.13/17 7s} 22. Rxd5
{+0.17/16 5s} Re4 {+0.11/19 6s (Qc8)} 23. Qd3 {+0.30/14 10s
(Re1)} Qe7 {+0.18/19 7s} 24. b4 {+0.20/13 3s} Kg7 {+0.13/18
7s} 25. bxc5 {+0.18/13 3s} Rxb1+ {+0.13/16 0s} 26. Qxb1
{+0.18/13 1s} Rxc4 {+0.10/20 7s} 27. cxd6 {+0.19/14 2s}
Nxd6 {+0.09/19 0s} 28. Qd3 {+0.22/15 10s} Rc6 {+0.07/20 7s}
29. a4 {+0.17/15 11s} Qe6 {+0.14/19 6s (Qc7)} 30. Qd4
{+0.12/14 8s (Nh4)} a6 {+0.07/18 6s (Qe7)} 31. a5 {0.00/13
4s (Nd2)} Kh7 {+0.08/19 8s (Nf7)} 32. g3 {+0.27/14 7s
(Qd2)} Kg7 {+0.08/19 6s} 33. Kg2 {+0.15/16 8s} Nf7
{+0.09/20 6s} 34. h4 {+0.15/17 10s} Rc7 {+0.07/22 8s (Kg8)}
35. Ng5 {+0.17/15 4s} Qc6 {+0.07/22 6s} 36. Ne4 {+0.16/16
9s} Re7 {+0.07/21 11s} 37. f3 {+0.06/16 7s} Qc2+ {+0.08/20
8s (Rb7)} 38. Qf2 {+0.13/16 7s} Qb1 {+0.08/21 6s (Qc4)}
39. Rd2 {+0.15/15 6s (Qc5)} Qb4 {+0.08/20 6s} 40. Qd4
{+0.01/17 7s (Rd5)} Qxd4 {+0.05/19 6s} 41. Rxd4 {+0.01/17
1s} f5 {+0.06/23 7s} 42. Nc5 {+0.01/19 6s (Ng5)} Re5
{+0.06/23 8s} 43. Rc4 {+0.02/20 9s} Re2+ {+0.05/21 6s
(Rd5)} 44. Kf1 {+0.04/18 4s} Re5 {+0.05/22 6s} 45. Rc1
{+0.03/19 5s (Rc3)} Rd5 {+0.05/23 9s} 46. Ke2 {+0.03/19 9s
(Ne6+)} Ne5 {+0.04/21 6s} 47. Rc3 {+0.04/20 10s} Kf7
{+0.05/23 8s} 48. f4 {+0.04/19 6s} Nc6 {+0.05/23 6s}
49. Ke3 {+0.03/20 5s (Nd3)} Nxa5 {+0.04/23 6s} 50. Nxa6
{+0.03/21 6s} Rb5 {+0.03/24 7s} 51. Nc5 {+0.03/21 7s
(Rc7+)} Nc6 {+0.03/25 8s (Rb6)} 52. Nd3 {+0.01/21 7s} Nb4
{+0.03/26 6s} 53. Nxb4 {+0.01/23 6s (Rc5)} Rxb4 {+0.02/25
1s} 54. Kf3 {0.00/27 5s (Rc7+)} Rb6 {+0.02/29 6s (Ke6)}
55. Re3 {0.00/30 5s (Ra3)} Kf6 {+0.02/30 6s} 56. Ra3
{0.00/30 7s (Ke2)} Re6 {+0.02/32 6s (Kf7)} 57. Rd3 {0.00/32
9s (Rc3)} Ra6 {+0.02/33 6s (Rb6)} 58. Ke2 {0.00/31 7s
(Rb3)} Ke6 {+0.02/32 7s (Rb6)} 59. Ke3 {0.00/30 6s (Re3+)}
Ra4 {+0.02/31 6s (Rc6)} 60. Kf3 {0.00/30 5s (Rb3)} Ra7
{+0.02/33 7s (Kf6)} 61. Rd2 {0.00/29 7s (Re3+)} Ra3+
{+0.02/33 6s} 62. Kf2 {0.00/30 5s (Kg2)} Rb3 {+0.02/33 7s
(Kf7)} 63. Kg2 {0.00/30 8s (Rc2)} Rc3 {+0.02/33 6s (Rb8)}
64. Kf2 {0.00/30 6s} Rc6 {+0.02/34 7s (Kf6)} 65. Kf3
{0.00/30 5s} Rc1 {+0.02/34 6s (Rc3+)} 66. Rd3 {0.00/30 6s
(Re2+)} Rc4 {+0.02/33 7s (Rc6)} 67. Ra3 {0.00/30 10s (Rb3)}
Kd5 {+0.02/33 7s (Kf7)} 68. Ke3 {0.00/30 9s (Rd3+)} Re4+
{+0.02/32 6s (Ke6)} 69. Kf2 {0.00/28 4s (Kf3)} Rc4
{+0.02/32 7s (Ke6)} 70. Ra2 {0.00/28 5s (Rd3+)} Rc1
{+0.02/32 6s (Re4)} 71. Ra6 {0.00/29 7s (Ra5+)} Rc2+
{+0.02/35 6s} 72. Ke3 {0.00/30 6s (Kf3)} Rc3+ {+0.02/34 7s}
73. Kf2 {0.00/30 2s} Rc6 {+0.02/35 8s} 74. Rxc6 {0.00/32 9s
(Ra3)} Kxc6 {0.00/34 0s} 75. Kf3 {0.00/34 8s (Kg1)} Kc5
{0.00/34 0s (Kd5)} 76. Ke3 {0.00/35 10s (Kf2)} Kd5 {0.00/34
0s} 77. Kd2 {0.00/34 4s (Kf3)} Ke4 {0.00/34 3s (Kc5)}
78. Ke2 {0.00/33 1s} Kd5 {0.00/34 0s} 79. Kf2 {0.00/35 7s}
Kd4 {0.00/34 1s (Ke6)} 80. Ke2 {0.00/32 1s} Ke4 {0.00/34
6s} 81. Kf2 {0.00/32 2s} Kd5 {0.00/34 0s} 82. Ke3 {0.00/35
7s} Ke6 {0.00/34 0s (Kc5)} 83. Kf3 {0.00/37 15s (Kd4)} Kd5
{0.00/34 0s (Kd6)} 84. Ke3 {0.00/37 13s (Kf2)} Ke6 {0.00/34
0s} 85. Kd4 {0.00/35 5s} Kd6 {0.00/34 0s (Kf6)} 86. Ke3
{0.00/38 10s} Ke6 {0.00/34 0s} 1/2-1/2
Michael Sherwin wrote:I did this all with one eye closed and the other eye wants to stay closed so I better call it quits for today. Great idea by the way! :D
Thanks, have a nice rest! :)
mesilikas
Posts: 40
Joined: Mon Jan 01, 2018 12:54 pm

Re: RomiChess P3n released

Post by mesilikas »

Sorry for the question... Maybe i am an idiot ! How can i merge or input a pgn file into Romi's learning file? Thanks for your answer! Thanks Mr Sherwin for this original and interesting engine...
User avatar
Ovyron
Posts: 4562
Joined: Tue Jul 03, 2007 4:30 am

Re: RomiChess P3n released

Post by Ovyron »

mesilikas wrote:Sorry for the question... Maybe i am an idiot ! How can i merge or input a pgn file into Romi's learning file? Thanks for your answer! Thanks Mr Sherwin for this original and interesting engine...
You have to move the pgn file of the moves you want to merge into the same folder in where the exe resides.

Now, double click Romichess64P3n.exe

A big black box called command prompt appears, you will see this line at the bottom:

White<1>

Now, type:

merge NAME.pgn

Where NAME is the name of the file you want to merge.

For every successful merge, Romi will show a line of text telling you the game number and the Plies of the game. At the end the last game number should match the number of games in the pgn, otherwise Romi failed to import some game(s).

You can also do this by loading the engine in your GUI, and using its Command Line to send commands to the engine (say, in The Shredder GUI, hitting the spacebar allows you to do this), though just double clicking the engine is simpler.

This doesn't appear in any help document, so I also had to ask how to do it, don't feel bad :)