Divooka Player
Divooka Player runs Divooka programs without an editor. Use it to share a program you made in Divooka Explore or Divooka Compute with people who do not have either.
Divooka Player is free, and you may pass it on. It is coming as a free download at methodox.itch.io/divooka-player; that page is not live yet.
What it runs
- Divooka documents (
.dvkand.dvj) and app bundles (.dvb). - Programs that use any Divooka Compute toolbox except Deep Learning. A program that needs Deep Learning lists it as missing on its Spec tab.
It has no editor and no example documents. To change a program, open it in Divooka Explore or Divooka Compute.
Install Divooka Player
The installer:
- installs for you alone by default, with no administrator rights; choose Everyone on this computer to install into Program Files
- adds a Start menu shortcut, and a desktop shortcut if you ask for one
- can make Divooka Player the program that opens
.dvk,.dvjand.dvbfiles; it offers this only when no other program opens them - upgrades an earlier Player in place
The Player's language follows your computer's display language: English, Simplified Chinese or Traditional Chinese.
Run a program
- Open Divooka Player, then drop the program's file on the window, or click the window and pick the file. The program opens on its own page.
- If the Spec tab names a missing dependency, the program cannot run in this Player. Configure lets you change the program's inputs and settings before it runs. Overview shows its title, author, version and description.
- Press Run (
F5). The program's console output shows in the window. If the program asks for input, type it in the row under the console and pressEnter. - Press Stop (
Shift+F5) to end the program.
If a run fails, the window says which step failed and why. Details shows where in the program it stopped.
A program whose author saved it as a Desktop Application skips this page: opening its file starts it in its own window, with no Player window. The Player still has to be installed.
Run a program from the command line
DivookaPlayer "Tally.dvk" --Name Ada --Count=3
Here Tally.dvk has two inputs, Name and Count. Give inputs by name (--Name Ada or --Name=Ada) or in order after the file name (DivookaPlayer "Tally.dvk" Ada 3).
The program starts at once when you give it any input, or when it has nothing to set. Otherwise the Player opens its page first; add --run to skip the page and start with the document's own values.
Share your program
- Save the program in Divooka Explore or Divooka Compute. To show a picture on its Overview, put an image with the same name beside it (
Calculator.pngbesideCalculator.dvk). - Send the
.dvkfile. If the program reads other files beside it (data, images, other documents), pack them into one.dvbbundle with Divooka Compute'sstew --packand send that instead. See Exporting. - Tell people to get Divooka Player.
Divooka Compute can also publish a program as an executable of its own, which runs without the Player. See Exporting.
See also
- Divooka Distributions: how the Player compares with Explore and Compute.
- Toolboxes: what the toolboxes do.