Scroll to navigation

cavepacker(6) games cavepacker(6)


cavepacker - Sokoban game


cavepacker [option]


cavepacker CavePacker is a sokoban game. Keep your cave tidy. To do this, make sure that all the spread packages are put onto their targets. You can only push, pulling is not allowed.

You get higher ratings for lesser moves you need. The first few maps might be easy to solve - but the more you progress in the game, the harder the maps will be.

There is also a multiplayer mode available.


Start the server for the game (headless mode).
Change the value of a config variable.


Open the in-game console with SHIFT+ESC. Just type a config variable name there to get the current value. The console commands can also be triggered from the commandline by just putting a - in front of it.

Possible level values are: TRACE, DEBUG, INFO, WARN, ERROR


These variables can be modified by using the -set command - or by providing default values for some of them in the config.lua file in the asset directory. You can override any file by putting it into the same subdir as in your installation folder into ~/.local/share/cavepacker

Change the rendering frontend that is used by the game. Possible values are: sdl, opengl and opengles2

Set to false to start in windowed mode - also see width and height vars.

-1 will pick the desktop height

The user name that is used in multiplayer games
If you start in headless mode via -server you can disable the ncurses interface by setting this to false

If you have frontend set to sdl, you can change the renderer that sdl is using. Refer to the SDL documentation for a list of valid options here.

-1 will pick the desktop width



Copyright © 2014-2016 by Martin Gerhardy. Source code licensed under GPL3 - assets under CC-BY-SA 3.0.

February 2015 cavepacker