The text format that Wayne's program support is the XML sudbook format which allows multiple puzzles to be compiled within a file.
It is not used for saving Pencil marks and other intermediate state.
I will send you an example in an email.
Rubylips solver also supports the XML format.
Simes and AngusJ you both use a much simpler text format - it would be quite nice if you recognized each others format. It is possible to copy and paste from Simes program to AngusJ but not vice versa (without pasting into an intermediate file) because Angus includes pencil marks and other state in his clipboard data.
- Code: Select all
.ss file format
...|..8|931
98.|13.|...
31.|9..|6.8
-----------
421|567|893
638|419|752
..9|823|146
-----------
2.5|.91|.87
1..|.8.|.69
89.|7..|.1.
E15002
SS clipboard data
...|..8|931
98.|13.|...
31.|9..|6.8
-----------
421|567|893
638|419|752
..9|823|146
-----------
2.5|.91|.87
1..|.8.|.69
89.|7..|.1.
...|..8|931
98.|13.|...
31.|9..|6.8
-----------
421|567|893
638|419|752
..9|823|146
-----------
2.5|.91|.87
1..|.8.|.69
89.|7..|.1.
[57] [4567] [2467] [26] [457] [8] [9] [3] [1]
[9] [8] [2467] [1] [3] [2456] [45] [27] [45]
[3] [1] [247] [9] [457] [245] [6] [27] [8]
[4] [2] [1] [5] [6] [7] [8] [9] [3]
[6] [3] [8] [4] [1] [9] [7] [5] [2]
[57] [57] [9] [8] [2] [3] [1] [4] [6]
[2] [46] [5] [36] [9] [1] [34] [8] [7]
[1] [47] [347] [23] [8] [245] [2345] [6] [9]
[8] [9] [346] [7] [45] [2456] [2345] [1] [45]
.sdk file format
[Puzzle]
.....8.31
9........
31.9..6..
4.1.6....
6.84.97.2
....2.1.6
..5..1.87
........9
89.7.....
[State]
.....8931
98.13....
31.9..6.8
421567893
638419752
..9823146
2.5.91.87
1...8..69
89.7...1.
[PencilMarks]
57,4567,247,26,47,,9,,
,8,267,1,37,26,45,27,45
,,247,,457,45,,27,8
,2,,5,,7,8,9,3
,3,,,1,,,5,
57,57,9,8,,3,,4,
2,46,,36,9,,34,,
1,47,347,23,8,45,2345,6,
,,36,,45,26,23,1,45
Simes clipboard
+---+---+---+
|...|..8|931|
|98.|13.|...|
|31.|9..|6.8|
+---+---+---+
|421|567|893|
|638|419|752|
|..9|823|146|
+---+---+---+
|2.5|.91|.87|
|1..|.8.|.69|
|89.|7..|.1.|
+---+---+---+
Bob