euklid314 wrote: ↑05 October 2025, 18:11
Start a game with the option "Export the game in *.mat format". Not possible in Arena mode I am afraid...
When you have finished the game (or even during the game) you can go into the user preferences (top right - Click SETUP in the area where you find your user name) and you can choose "MAT export".
Yep. These instructions are totally correct.
A couple of intricacies:
1) Not only should you turn on “Export to MAT format” (green box on left) before setting up a table, you also need to set inflexibility as well (turn green switch on right off). For a time, I couldn’t figure out why I wasn’t seeing the MAT export option under SETUP, but apparently I was flexible about the setting while opponents were not. Being inflexible may mean it’ll take longer to find an opponent since they will need to have fiddle with the default settings, either being flexible on the “Export to MAT format” option, or enabling it.
2) The “MAT export” option top right under the SETUP tool seems to only be available immediately after a game or match when the browser window reads “End of match” (or possibly “End of game” — dunno as I never play 1-pointers; 5-points w/cube only for me!).
3) So this means of the two matches I just played, I only have access to the MAT file for the second file. Which looks okay and I might as well paste it in here if it’s not too long. The table # is in the metadata at the top of the file, and though I don’t have any backgammon software that can handle MAT files, I’ll see if ChatGPT 5 will convert it to SGF that GnuBG can handle.
MY THOUGHTS ON THIS:
1) Although the MAT files are small, it would add load if this export (or SGF export for that matter) was occurring behind the scenes on every game. Good point there. But then, since the replay mechanism can extract all of the rolls and moves (sometimes in a highly buggy manner, as I mentioned elsewhere and in bug reports to follow), it strikes me that if only 1% or less of users need MAT file (or SGF file) exports, this is certainly an option that could be made available on every game, and built as needed from the SQL logs by any user.
2) Is there a privacy issue to consider here? Is there a reason why a player would NOT want a game to be exported to MAT/SGF format? The one thing I can think of is that a game in progress should likely not have any export capability, as then a player might cheat, taking their three minutes per turn to download the game info, feed it to an analyzer, and come up with their move either realtime or turn-based if the software could analyze a position within a minutes or so (most good AI can’t do that!).
3) So perhaps since ALL games can be replayed visually, and hand-transcribed to analyzers after the game for analysis as I have begun doing in recent matches, a reasonably policy would be to disallow MAT (or SGF) export during the game, and only completed games can be downloaded and analyzed.
4) One possible exception to the policy is if players enter into a turn-based or realtime game with the “infinite” time setting (a “just for fun” game with no impact on ELO). My son and I have been doing that to play turn-based games played in two sessions per week, and it works quite well. I’m teaching him the proper moves to beat me, so it’s best that ELO is disabled for that type of teaching experience.
What say you all? Once I get my credentials to tinker with backgammon and start knocking off bug tickets over time, this might be a revamp to consider. Again: My emphasis will be to initially focus on fixing things that affect me, for the most part. And then I’ll get to the lower hanging fruit as time permits. First step is to be granted access, and I hope I’m not ruffling any feathers by openly posting my thoughts “out of school” as I haven’t been let in the school doors quite yet.
Food for thought. The MAT export capability should be super clear and easy to use, and it is far from that right now, taking me a full month to get my first MAT export, and then only of the second match played so I’ll have to hand-transcribe the first match by hand into Gnu Backgammon via an SGF file.
And all of this should just work. No weird issues around the time folks double. 100% compatibility with analyzers should be the goal.