• Exported games format?

    From Tony The Welsh Twat@21:1/5 to All on Sat Sep 30 06:14:18 2023
    Has anyone got a sample export file from another backgammon program that can be read by GNUBg?

    According to the webpage, "Import of matches and positions from a number of file formats: (.bgf) BGRoom Game, (.gam) GammonEmpire Game, (.gam) PartyGammon Game, (.mat) Jellyfish Match, (.pos) Jellyfish Position, (.sgf) GNU Backgammon File, (.sgg)
    GridGammon Save Game, (.tmg) TrueMoneyGames, (.txt) Snowie Text".

    I have a project up and running where I am writing some code that will extract dice rolls and moves from a webpage and convert them into one of the above formats.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From ah...Clem@21:1/5 to Tony The Welsh Twat on Sat Sep 30 12:41:10 2023
    On 9/30/2023 9:14 AM, Tony The Welsh Twat wrote:
    Has anyone got a sample export file from another backgammon program that can be read by GNUBg?

    According to the webpage, "Import of matches and positions from a number of file formats: (.bgf) BGRoom Game, (.gam) GammonEmpire Game, (.gam) PartyGammon Game, (.mat) Jellyfish Match, (.pos) Jellyfish Position, (.sgf) GNU Backgammon File, (.sgg)
    GridGammon Save Game, (.tmg) TrueMoneyGames, (.txt) Snowie Text".

    I have a project up and running where I am writing some code that will extract dice rolls and moves from a webpage and convert them into one of the above formats.


    Here's the contents of a .mat file as exported by JavaFibes


    ; [EventDate "2021.02.21"]

    5 point match

    Game 1
    gnubg : 0 Paul : 0
    1) 45: 24/20 13/8
    2) 31: 8/5* 6/5 45: 25/21 21/16
    3) 46: 13/9* 13/7 52: 25/23 23/18*
    4) 62: 25/23 13/7* 24: 25/23 6/2*
    5) 51: 25/20 24/23* 62: 25/23 24/18*
    6) 62: 25/23 13/7* 51: 25/24 23/18*
    7) 25: 25/20 9/7* 21: 25/23 13/12*
    8) 21: 25/24 7/5 52: 12/7 24/22
    9) 65: 24/18* 23/18 46: 25/21 22/16
    10) 21: 6/4* 5/4 25: 25/23 23/18
    11) 42: 24/20 20/18 34: 16/13 18/14
    12) 14: 23/22 18/14 41: 8/4 14/13
    13) 45: 18/14 18/13 21: 6/4 13/12*
    14) 42: 25/23 22/18 32: 13/10 12/10
    15) 22: 20/18 20/18 18/16 16/14 26: 10/8 10/4
    16) 26: 6/4 14/8 52: 13/8 8/6
    17) 63: 23/20 20/14 36: 6/3 8/2
    18) 26: 8/6 14/8 23: 4/2 6/3
    19) 62: 14/8 8/6 33: 8/5 8/5 8/5 5/2
    20) 56: 6/1 14/8 65: 23/18 18/12
    21) 36: 4/1 8/2* 55:
    22) Doubles => 2 Drops
    Wins 1 point

    Game 2
    gnubg : 1 Paul : 0
    1) 64: 24/18 13/9 14: 8/7* 24/20
    2) 34: 25/22 22/18* 25: 25/20 24/22
    3) 62: 13/7 9/7 51: 13/8 8/7*
    4) 51: 25/20 24/23 43: 7/3 6/3
    5) 45: 7/3* 8/3 23: 25/23 23/20
    6) 61: 20/14 14/13 44: 8/4 8/4 6/2* 6/2
    7) 43: 23: 20/18* 13/10
    8) 36: 44: 13/9 13/9 9/5 9/5
    9) 33: 11: 10/9 9/8 8/7 7/6
    10) 33: 15: 13/8 8/7
    11) 32: 66: 20/14 20/14 14/8 8/2
    12) 13: 25/24 24: 7/5 5/1*
    13) 33: 53: 6/1 18/15
    14) 44: 63: 15/9 14/11
    15) 35: 15: 9/8 11/6
    16) 63: 41: 8/4 6/5
    17) 54: 44: 6/2 6/2 5/1 4/0
    18) 15: 62: 5/0 5/3
    19) 35: 25/20 12: 4/3 4/2
    20) 46: 25/19 13/9 62: 3/0 2/0
    21) 54: 19/14 20/16 52: 3/0 2/0
    22) 66: 16/10 14/8 13/7 13/7 42: 3/0 2/0
    23) 54: 13/8 10/6 11: 2/1 1/0 1/0 1/0
    24) 34: 9/6 8/4 46: 3/0 2/0
    Wins 2 points

    Game 3
    gnubg : 1 Paul : 2
    1) 32: 24/21 13/11 11: 6/5 6/5 5/4* 5/4
    2) 43: 25/22 13/9 53: 8/3* 6/3
    3) 64: 32: 24/21 13/11
    4) 52: 25/20 11/9 Doubles => 2
    5) Takes 26: 13/11 11/5*
    6) 51: 25/20* 24/23 64: 25/21 11/5*
    7) 12: 25/24 13/11 65: 24/18 18/13
    8) 34: 23/20* 24/20 53: 25/22 13/8
    9) Doubles => 4 Takes
    10) 45: 20/16 16/11 53: 13/8 8/5*
    11) 11: 25/24 24/23 6/5 6/5 61: 8/2* 5/4
    12) 35: 25/20 8/5 65: 13/7 7/2
    13) 64: 13/7 11/7 41: 13/12* 12/8
    14) 23: 36: 8/5* 21/15
    15) 42: 16: 22/21 21/15
    16) 12: 25/24 44: 15/11 11/7 7/3 5/1*
    17) 52: 25/20 43: 8/5* 5/1
    18) 53: 25/20 64: 21/15 8/4
    19) 63: 22: 15/13 15/13 13/11 13/11
    20) 44: 52: 11/6 11/9
    21) 42: 54: 9/5* 5/0
    22) 24: 25: 3/1 6/1
    23) 41: 21: 4/2 4/3
    24) 66: 43: 6/2 6/3
    25) 14: 55: 4/0 4/0 3/0 3/0
    26) 31: 23: 3/1 3/0
    27) 61: 25/19 55: 2/0 2/0 2/0 2/0
    28) 45: 25/21 9/4 55: 1/0 1/0 1/0 1/0
    Wins 12 points

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Axel Reichert@21:1/5 to Tony The Welsh Twat on Sat Sep 30 18:35:20 2023
    Tony The Welsh Twat <tonythewelshtwat@gmail.com> writes:

    Has anyone got a sample export file from another backgammon program
    that can be read by GNUBg?

    Play a session with GNU Backgammon and then save it as the desired
    format.

    Axel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)