The24net
The24net.com >  Sudoku >  Help > Parameters

SuDoKu-Cracker - Parameters



 
Parameter (general):
  • (Open) Sudoku-puzzle-file
    e.g. C:\Programs\Sudoku\Sudoku.exe C:\Sudoku\mypuzzle.sdk
Parameters for auto-generate puzzles:
Other parameters:

All parameters are case-insensitive.
Filenames containing space characters must be enclosed in quotation marks e.g.
  /file:"C:\Program Files\KSAW\SuDoKu\MyFile"



Parameters for auto-generate puzzles
/file: ( or /f: ) e.g.:
  • /f:C:\sudokus.txt
    if file extension is not '.txt', '.txt' will be added, except if you are using a template-file (se below).

/level: ( or /l: ) ( level-range: 1 - 7, Very Easy to Super Sudoku ) e.g.:
  • /l:2   ( symmetric, level=2, Easy )
  • /l:+2  ( = /l:2 )
  • /l:-4  ( asymmetric, level=4, Hard )
  • /l:*4  ( random symmetric, level=4 )
  • /l:*   ( symmetric, random level )
  • /l:-*  ( asymmetric, random level )
  • /l:**  ( random symmetric and level )

/count: ( or /c: ) e.g.:
  • /c:10  ( generate 10 puzzles )
    The value of this switch is set to 1 (one), when out-filename is not a text-file ( /f:C:\sudoku.htm ).

/template: ( or /t: ) e.g.:
  • /t:htmldoc.tpl   ( generate a puzzle based on 'htmldoc.tpl' ).
    Template-files are found in subdirectory TEMPLATE (see remarks below). The file can be any type of ASCII file that does not include ASCII(0) (e.g. txt, htm, html, php, rtf, ...). Maximum number of characters in the template-file must be less than 64 KB (Max. 65532 Bytes).
    Template-files with '.tpl' extension are included in the export-list (e.g. Save button).
    You can generate multiple puzzles in one file, only if the out-file is a text-file ( extension '.txt' ) e.g. /f:C:\sudokus.txt. Otherwise the file are overwritten (/count: should be set to one [ /count:1 ]).
    See also: Example-file



/language: ( or /lng: ) e.g.:
  • /lng:English  ( set English as current language )
    This switch sets the language to use (e.g. for export).

/playlist: ( or /list: ) e.g.:
  • /playlist:mylist.lst  ( starts the program with the playlist-file 'mylist.lst' )
    A playlist contains a defined list of puzzles to play one after the other. Indispensable in a sudoku-competition.
    See also: Playlist-file



Examples
  C:\Programs\Sudoku\Sudoku.exe /f:C:\sudokus.txt /l:-5 /c:5
  C:\Programs\Sudoku\Sudoku.exe /c:30 /l:* /f:C:\sudokus /lng:deutsch
    
( .txt will be added => /f:C:\sudokus.txt )
  C:\Programs\Sudoku\Sudoku.exe /f:C:\sudoku.htm /l:4 /c:1 /t:htmldoc.tpl
  C:\Programs\Sudoku\Sudoku.exe /lng:deutsch
  C:\Programs\Sudoku\Sudoku.exe /playlist:mylist.lst

To start SuDoKu with parameters
 - Right click on the program Sudoku.exe
 - Create a Shortcut
 - Right click on the Shortcut, select Properties
 - Add your parameters, delimited with space, in the Target line
 - Execute (e.g. Double-click) your Shortcut



Remarks
Following template-files belongs to default installation and will be overwritten when you reinstall the program (e.g. an update):
· HtmlDoc.tpl
· PlainText.tpl
· RtfText.tpl
· WithSolution.tpl
· WordDoKu.tpl
· WorDoKu.tpl
· HtmlDoc.exp
· PlainText.exp
· RtfText.exp
· WithSolution.exp
· WordDoKu.exp
· WorDoKu.exp
If you want to change this files, save your changes in a new file (Save as ...).



© 2006-2010  The24net.com - Arne R. Webby