aboutsummaryrefslogtreecommitdiff
path: root/games/sdlpop/sdlpop.rst
blob: 5e12111fb8b63f6053c4dce49f0b28cfea1c9226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
.. RST source for sdlpop(6) man page. Convert with:
..   rst2man.py sdlpop.rst > sdlpop.6
.. rst2man.py comes from the SBo development/docutils package.

.. |version| replace:: 1.16
.. |date| date::

======
sdlpop
======

--------------------------------------
open source port of Prince of Persia 1
--------------------------------------

:Manual section: 6
:Manual group: SlackBuilds.org
:Date: |date|
:Version: |version|

SYNOPSIS
========

sdlpop [megahit [*level*]] [draw] [full] [demo] [record] [replay | *filename*.PIR]

DESCRIPTION
===========

SDLPoP is an open-source port of Prince of Persia 1, that runs natively under Windows and Linux. It is based on the DOS version of the game, and uses SDL 2.  All data files needed to play the game are included.

This manual page just describes the command-line options and keyboard controls.
Full documentation can be found in\:

   /usr/doc/sdlpop-|version|/Readme.txt

OPTIONS
=======

**Note**: options are NOT preceded by **-**.

.. notice the **-opt** *param* stuff? rst's option recognition
.. can't handle non-GNU-style options like -option (it thinks the
.. option is -o, and the ption is the parameter). So we have to help
.. it out a little.

*megahit*   Enable cheats.

*1* through *14*
            Start the given level. Requires *megahit*.

*draw*      Draw directly to the screen, skipping the offscreen buffer.

*full*      Run in full screen mode.

*demo*      Run in demo mode. Only the first two levels will be playable, and quotes from magazine reviews will be displayed.

*record*    Start recording immediately (see the Replays section in Readme.txt).

*replay* or a .PIR filename
            Start replaying immediately (see the Replays section in Readme.txt).
            Filenames not beginning with **/** are interpreted as relative paths
            from the *~/.sdlpop* directory, not the current directory.

KEYBOARD
========

Controlling the kid
-------------------


*left*
     turn or run left

*right*
     turn or run right

*up*
     jump or climb up

*down*
     crouch or climb down

*shift*
     pick up things

*shift+left/right*
     careful step

*home or up+left*
     jump left

*page up or up+right*
     jump right

You can also use the numeric keypad.

Gamepad equivalents
-------------------


*left/right*
     left/right

*A*
     down

*B*
     quit

*X*
     shift

*Y*
     up

Controlling the game
--------------------


*Esc*
     pause game

*space*
     show time left

*Ctrl-A*
     restart level

*Ctrl-G*
     save game (on levels 3..13)

*Ctrl-J*
     joystick/gamepad mode (implemented by segrax)

*Ctrl-K*
     keyboard mode

*Ctrl-R*
     return to intro

*Ctrl-S*
     sound on/off

*Ctrl-V*
     show version

*Ctrl-Q*
     quit game

*Ctrl-L*
     load game (when in the intro)

*Alt-Enter*
     toggle fullscreen

*F6*
     quicksave

*F9*
     quickload

Viewing or recording replays
----------------------------


*Ctrl+Tab (in game)*
     start or stop recording

*Tab (on title screen)*
     view/cycle through the saved replays in the SDLPoP directory

Cheats
------


*Shift-L*
     go to next level

*c*
     show numbers of current and adjacent rooms

*Shift-C*
     show numbers of diagonally adjacent rooms

*-*
     less remaining time

*+*
     more remaining time

*r*
     resurrect kid

*k*
     kill guard

*Shift-I*
     flip screen upside-down

*Shift-W*
     slow falling

*h*
     look at room to the left

*j*
     look at room to the right

*u*
     look at room above

*n*
     look at room below

*Shift-B*
     toggle hiding of non-animated objects

*Shift-S*
     Restore lost hit-point. (Like a small red potion.)

*Shift-T*
     Give more hit-points. (Like a big red potion.)

.. other sections we might want, uncomment as needed.

FILES
=====

*/usr/share/games/sdlpop/*
     Game data files, including graphics, levels, and music.

*~/.sdlpop/*
     Per-user game directory, created the first time **sdlpop** is run.
     The game changes directory here before running.
     Contains symlinks to the data files, and\:

*~/.sdlpop/SDLPoP.ini*
     Config file for sdlpop. Copied (not symlinked) from the data directory,
     so it can be edited as desired. See the comments in **SDLPoP.ini** itself
     for a description.

.. ENVIRONMENT
.. ===========

.. EXIT STATUS
.. ===========

.. BUGS
.. ====

.. EXAMPLES
.. ========

COPYRIGHT
=========

See the file /usr/doc/sdlpop-|version|/gpl-3.0.txt for license information.

AUTHORS
=======

sdlpop was written by David from forum.princed.org, with contributions
from other forum members.

This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.

SEE ALSO
========

Homepage: http://www.popot.org/get_the_games.php?game=SDLPoP

Topic in forum: http://forum.princed.org/viewtopic.php?f=69&t=3512

GitHub: https://github.com/NagyD/SDLPoP