Replies: 1 comment
-
|
See #897 where I've initiated a roadmap for doing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We will be deprecating the
.gbtXML-based format written by the graphical interface in favour of other formats. At present the plan is that tools may continue to read the.gbtfiles but no longer write them from Gambit 17.These are XML-based files (with a schema that has always been implicitly defined). These have been read and written by embedding a separate library
tinyxmlinto the source code.Note that actually the payload of defining the game in a
.gbtfile is actually just the.efgor.nfgfile format. XML is used entirely to store GUI state, not the game itself.To remove the dependency on this library, we will do the following:
<efgfile>or<nfgfile>tags and attempts to extract the game from that segment. This would not do any parsing or validation of the whole file, but this would seem to be a small cost given our plans to move away from XML; if a file isn't valid XML but has a valid fragment that's an.efgor.nfgthere's no reason not to be able to read it!Beta Was this translation helpful? Give feedback.
All reactions