supertux2.6 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. .TH SUPERTUX2 6 "December 20, 2021" "SuperTux 0.6.3" "Games"
  2. .SH NAME
  3. supertux2 \- SuperTux, a classic jump'n'run platformer featuring Tux
  4. .SH SYNOPSIS
  5. .B supertux2
  6. .RI [ options ]
  7. .br
  8. .B supertux2
  9. .RI [ options ] " level.stl"
  10. .br
  11. .B supertux2
  12. .RI [ options ] " worldmap.stwm"
  13. .br
  14. .SH DESCRIPTION
  15. SuperTux is a classic style 2D platform game.
  16. Run and jump through multiple worlds, fighting off enemies by jumping
  17. on them, bumping them from below or tossing objects at them, grabbing
  18. power-ups and other stuff on the way.
  19. .SH OPTIONS
  20. These programs follow the usual GNU command line syntax, with long
  21. options starting with two dashes (`-').
  22. A summary of options is included below.
  23. .TP
  24. .B \-h, \-\-help
  25. Show this help message
  26. .TP
  27. .B \-v, \-\-version
  28. Show SuperTux version and quit
  29. .TP
  30. .B \-\-verbose
  31. Print verbose messages
  32. .TP
  33. .B \-\-debug
  34. Print extra verbose messages
  35. .TP
  36. .B \-\-print\-datadir
  37. Print SuperTux's primary data directory.
  38. .TP
  39. .B \-\-acknowledgements
  40. Print the licenses of libraries used by SuperTux.
  41. .TP
  42. .B \-f, \-\-fullscreen
  43. Run in fullscreen mode
  44. .TP
  45. .B \-w, \-\-window
  46. Run in window mode
  47. .TP
  48. .B \-g, \-\-geometry WIDTHxHEIGHT
  49. Run SuperTux in given resolution (eg. \-g 800x600)
  50. .TP
  51. .B \-a, \-\-aspect WIDTH:HEIGHT
  52. Run SuperTux with given aspect ratio (eg. \-a 4:3)
  53. .TP
  54. .B \-d, \-\-default
  55. Reset video settings to default values (\-g 800x600 \-a auto \-w)
  56. .TP
  57. .B \-\-renderer RENDERER
  58. Render the game using the specified video renderer. Valid values are sdl, opengl20, opengl33, and auto (the default).
  59. .TP
  60. .B \-\-disable\-sound, \-\-disable\-sfx
  61. Disable sound effects
  62. .TP
  63. .B \-\-disable\-music
  64. Disable music
  65. .TP
  66. .B \-\-edit\-level
  67. Open given level in editor
  68. .TP
  69. .B \-\-resave
  70. Loads given level and saves it
  71. .TP
  72. .B \-\-show\-fps
  73. Display framerate in levels
  74. .TP
  75. .B \-\-no\-show\-fps
  76. Do not display framerate in levels
  77. .TP
  78. .B \-\-show\-pos
  79. Display player's current position
  80. .TP
  81. .B \-\-no\-show\-pos
  82. Do not display player's position
  83. .TP
  84. .B \-\-christmas
  85. Enable Christmas mode outside Christmas times
  86. .TP
  87. .B \-\-no\-christmas
  88. Disable Christmas mode during Christmas times
  89. .TP
  90. .B \-\-developer
  91. Enable developer features
  92. .TP
  93. .B \-s, \-\-debug\-scripts
  94. Enable script debugger.
  95. .TP
  96. .B \-\-spawn\-pos X,Y
  97. Where in the level to spawn Tux. Only used if [level] is specified.
  98. .TP
  99. .B \-\-sector SECTOR
  100. Spawn Tux in SECTOR
  101. .TP
  102. .B \-\-spawnpoint SPAWNPOINT
  103. Spawn Tux in SPAWNPOINT
  104. .TP
  105. .B \-\-record\-demo FILE LEVEL
  106. Record a demo to FILE
  107. .TP
  108. .B \-\-play\-demo FILE LEVEL
  109. Play a recorded demo
  110. .TP
  111. .B \-\-datadir DIR
  112. Set the directory for the games datafiles
  113. .TP
  114. .B \-\-userdir DIR
  115. Set the directory for user data (savegames, etc.)
  116. .TP
  117. .B \-\-repository\-url URL
  118. Set the URL to the Add-On repository
  119. .SH ENVIRONMENT
  120. .TP
  121. .B SUPERTUX2_USER_DIR
  122. Directory for user data (savegames, etc.)
  123. .TP
  124. .B SUPERTUX2_DATA_DIR
  125. Directory for the games datafiles
  126. .SH FILES
  127. .TP
  128. .B ~/.local/share/supertux2, ~/.supertux2
  129. Contains configuration and savegames.
  130. Also acts as an overlay of the SuperTux game data path:
  131. Files placed here will override or supplement game data files.
  132. .SH EXAMPLES
  133. To play level /tmp/mylevel.stl in a window of size 800x600, run
  134. the program like this:
  135. .IP
  136. .B supertux2 --window --geometry 800x600 /tmp/mylevel.stl
  137. .LP
  138. To play a previously recorded demo /tmp/mylevel.demo of level
  139. /tmp/mylevel.stl, run SuperTux like this:
  140. .IP
  141. .B supertux2 --play-demo /tmp/mylevel.demo /tmp/mylevel.stl
  142. .LP
  143. .PP
  144. Custom-made levels can be conveniently stored in the overlay data folder.
  145. .PP
  146. .TP
  147. .B ~/.supertux2/levels/sample_collection/level01.stl
  148. .nf
  149. (supertux-level
  150. (version 2)
  151. (name (_ "Sample Level"))
  152. (author "Myself")
  153. ...
  154. .fi
  155. .PP
  156. Make sure to also create an "info" file, so the collection will be
  157. recognized by SuperTux.
  158. .TP
  159. .B ~/.supertux2/levels/sample_collection/info
  160. .nf
  161. ;SuperTux-Level-Subset
  162. (supertux-level-subset
  163. (title "Sample Collection")
  164. (description "")
  165. )
  166. .fi
  167. .PP
  168. For easier distribution, the level collection can be bundled in a Zip
  169. archive.
  170. .PP
  171. .TP
  172. .B ~/.supertux2/sample_collection.zip
  173. .nf
  174. levels/sample_collection/info
  175. levels/sample_collection/level01.stl
  176. ...
  177. .fi
  178. .SH BUGS
  179. This is a development version, so expect plenty of bugs.
  180. .SH AUTHOR
  181. This manual page was written by the SuperTux Devel Team
  182. and is placed in the public domain.