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 (.dvk and .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, .dvj and .dvb files; 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

  1. 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.
  2. 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.
  3. 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 press Enter.
  4. 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

  1. 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.png beside Calculator.dvk).
  2. Send the .dvk file. If the program reads other files beside it (data, images, other documents), pack them into one .dvb bundle with Divooka Compute's stew --pack and send that instead. See Exporting.
  3. 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