I found a link to the gsf package download page:
http://gsf.cococlyde.org/download/sudokuI must have been there before as I have a copy of the 32 and 64 bit versions of the sudoku tool! (Both have the same SUDZ_WRITE problem, by the way).
And there I also found the
sudz.exe file that
1to9only (thank you!) mentioned above.
It wasn't easy getting it going, but IT WORKS!!
Yes folks, we can compress/decompress to/from SUDZ files under Windows, but some effort is required. This guide should assist anybody willing to make the effort:
InstallingThe exe requires MSVCR71.dll, an older version of the MSVC runtime library that few of us have, but you can get it from here:
http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71You'll get a zip file, which contains just the DLL. The path of least resistance is simply to unzip the file, and place the dll in the same directory alongside
sudz.exe.
Preparing an Input File- the grids to be compressed must be CF grids (minlex) and these must appear in ascending order.
- each grid must be preceded by the band index and the automorphism count. Here is a sample input file that I used for testing. It has 20 grids all from band #2, including a couple with NTA's:
- Code: Select all
2 1 123456789456789123789123465215937648634218597897645231378564912562391874941872356
2 1 123456789456789123789123465215937648634218957897564312342871596561392874978645231
2 2 123456789456789123789123465215937648634218957897564312361872594542391876978645231
2 1 123456789456789123789123465215937648634218957897564312361872594548391276972645831
2 1 123456789456789123789123465215937648634218957897564312361892574542371896978645231
2 1 123456789456789123789123465215937648634218957897564312361892574548371296972645831
2 1 123456789456789123789123465215937648634218957897564312362871594541392876978645231
2 1 123456789456789123789123465215937648634218957897564312378645291541392876962871534
2 1 123456789456789123789123465215937648634218957897564312378645291542391876961872534
2 1 123456789456789123789123465215937648634218957897564312378645291561392874942871536
2 1 123456789456789123789123465215937648634218957897564312378645291562391874941872536
2 1 123456789456789123789123465215937648634218957897645312342871596561392874978564231
2 2 123456789456789123789123465215937648634218957897645312361872594542391876978564231
2 1 123456789456789123789123465215937648634218957897645312361872594548391276972564831
2 1 123456789456789123789123465215937648634218957897645312361892574542371896978564231
2 1 123456789456789123789123465215937648634218957897645312361892574548371296972564831
2 1 123456789456789123789123465215937648634218957897645312362871594541392876978564231
2 1 123456789456789123789123465215937648634218957897645312378564291541392876962871534
2 1 123456789456789123789123465215937648634218957897645312378564291542391876961872534
2 1 123456789456789123789123465215937648634218957897645312378564291561392874942871536
Compressing- use sudz -w -o <sudz file> <input file>
- Code: Select all
> sudz -w -o GridSample.sudz GridSample.txt
> dir grid*
Directory of c:\VBprojects\Sudoku81\GSF
24/07/2019 10:15 PM 117 GridSample.sudz
24/07/2019 10:09 PM 1,740 GridSample.txt
2 File(s) 1,857 bytes
De-Compressing- use sudz -f%g <sudz file> to retrieve the grids.
- Code: Select all
> sudz -f%g GridSample.sudz
123456789456789123789123465215937648634218597897645231378564912562391874941872356
123456789456789123789123465215937648634218957897564312342871596561392874978645231
123456789456789123789123465215937648634218957897564312361872594542391876978645231
123456789456789123789123465215937648634218957897564312361872594548391276972645831
123456789456789123789123465215937648634218957897564312361892574542371896978645231
123456789456789123789123465215937648634218957897564312361892574548371296972645831
123456789456789123789123465215937648634218957897564312362871594541392876978645231
123456789456789123789123465215937648634218957897564312378645291541392876962871534
123456789456789123789123465215937648634218957897564312378645291542391876961872534
123456789456789123789123465215937648634218957897564312378645291561392874942871536
123456789456789123789123465215937648634218957897564312378645291562391874941872536
123456789456789123789123465215937648634218957897645312342871596561392874978564231
123456789456789123789123465215937648634218957897645312361872594542391876978564231
123456789456789123789123465215937648634218957897645312361872594548391276972564831
123456789456789123789123465215937648634218957897645312361892574542371896978564231
123456789456789123789123465215937648634218957897645312361892574548371296972564831
123456789456789123789123465215937648634218957897645312362871594541392876978564231
123456789456789123789123465215937648634218957897645312378564291541392876962871534
123456789456789123789123465215937648634218957897645312378564291542391876961872534
123456789456789123789123465215937648634218957897645312378564291561392874942871536