Scroll to navigation

SUPERTUX2(6) Games SUPERTUX2(6)

NAME

supertux2 - SuperTux, a classic jump'n'run platformer featuring Tux

SYNOPSIS

supertux2 [options]
supertux2 [options] level.stl
supertux2 [options] worldmap.stwm

DESCRIPTION

SuperTux is a classic style 2D platform game. Run and jump through multiple worlds, fighting off enemies by jumping on them, bumping them from below or tossing objects at them, grabbing power-ups and other stuff on the way.

OPTIONS

These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

Show this help message
Show SuperTux version and quit
Print verbose messages
Print extra verbose messages
Print SuperTux's primary data directory.
Print the licenses of libraries used by SuperTux.
Run in fullscreen mode
Run in window mode
Run SuperTux in given resolution (eg. -g 800x600)
Run SuperTux with given aspect ratio (eg. -a 4:3)
Reset video settings to default values (-g 800x600 -a auto -w)
Render the game using the specified video renderer. Valid values are sdl, opengl20, opengl33, and auto (the default).
Disable sound effects
Disable music
Open given level in editor
Loads given level and saves it
Display framerate in levels
Do not display framerate in levels
Display player's current position
Do not display player's position
Enable Christmas mode outside Christmas times
Disable Christmas mode during Christmas times
Enable developer features
Enable script debugger.
Where in the level to spawn Tux. Only used if [level] is specified.
Spawn Tux in SECTOR
Spawn Tux in SPAWNPOINT
Record a demo to FILE
Play a recorded demo
Set the directory for the games datafiles
Set the directory for user data (savegames, etc.)
Set the URL to the Add-On repository

ENVIRONMENT

Directory for user data (savegames, etc.)
Directory for the games datafiles

FILES

~/.local/share/supertux2, ~/.supertux2
Contains configuration and savegames. Also acts as an overlay of the SuperTux game data path: Files placed here will override or supplement game data files.

EXAMPLES

To play level /tmp/mylevel.stl in a window of size 800x600, run the program like this:

supertux2 --window --geometry 800x600 /tmp/mylevel.stl

To play a previously recorded demo /tmp/mylevel.demo of level /tmp/mylevel.stl, run SuperTux like this:

supertux2 --play-demo /tmp/mylevel.demo /tmp/mylevel.stl

Custom-made levels can be conveniently stored in the overlay data folder.

~/.supertux2/levels/sample_collection/level01.stl
(supertux-level

(version 2)
(name (_ "Sample Level"))
(author "Myself")
...

Make sure to also create an "info" file, so the collection will be recognized by SuperTux.

~/.supertux2/levels/sample_collection/info
;SuperTux-Level-Subset
(supertux-level-subset

(title "Sample Collection")
(description "") )

For easier distribution, the level collection can be bundled in a Zip archive.

~/.supertux2/sample_collection.zip
levels/sample_collection/info
levels/sample_collection/level01.stl

...

BUGS

This is a development version, so expect plenty of bugs.

AUTHOR

This manual page was written by the SuperTux Devel Team and is placed in the public domain.

December 20, 2021 SuperTux 0.6.3