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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
|
.\" Man page generated from reStructuredText.
.
.TH SDLPOP 6 "2016-08-13" "1.16" "SlackBuilds.org"
.SH NAME
sdlpop \- open source port of Prince of Persia 1
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" RST source for sdlpop(6) man page. Convert with:
.
.\" rst2man.py sdlpop.rst > sdlpop.6
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
sdlpop [megahit [\fIlevel\fP]] [draw] [full] [demo] [record] [replay | \fIfilename\fP\&.PIR]
.SH DESCRIPTION
.sp
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.
.sp
This manual page just describes the command\-line options and keyboard controls.
Full documentation can be found in:
.INDENT 0.0
.INDENT 3.5
/usr/doc/sdlpop\-1.16/Readme.txt
.UNINDENT
.UNINDENT
.SH OPTIONS
.sp
\fBNote\fP: options are NOT preceded by \fB\-\fP\&.
.\" 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.
.
.sp
\fImegahit\fP Enable cheats.
.INDENT 0.0
.TP
.B \fI1\fP through \fI14\fP
Start the given level. Requires \fImegahit\fP\&.
.UNINDENT
.sp
\fIdraw\fP Draw directly to the screen, skipping the offscreen buffer.
.sp
\fIfull\fP Run in full screen mode.
.sp
\fIdemo\fP Run in demo mode. Only the first two levels will be playable, and quotes from magazine reviews will be displayed.
.sp
\fIrecord\fP Start recording immediately (see the Replays section in Readme.txt).
.INDENT 0.0
.TP
.B \fIreplay\fP or a .PIR filename
Start replaying immediately (see the Replays section in Readme.txt).
Filenames not beginning with \fB/\fP are interpreted as relative paths
from the \fI~/.sdlpop\fP directory, not the current directory.
.UNINDENT
.SH KEYBOARD
.SS Controlling the kid
.INDENT 0.0
.TP
.B \fIleft\fP
turn or run left
.TP
.B \fIright\fP
turn or run right
.TP
.B \fIup\fP
jump or climb up
.TP
.B \fIdown\fP
crouch or climb down
.TP
.B \fIshift\fP
pick up things
.TP
.B \fIshift+left/right\fP
careful step
.TP
.B \fIhome or up+left\fP
jump left
.TP
.B \fIpage up or up+right\fP
jump right
.UNINDENT
.sp
You can also use the numeric keypad.
.SS Gamepad equivalents
.INDENT 0.0
.TP
.B \fIleft/right\fP
left/right
.TP
.B \fIA\fP
down
.TP
.B \fIB\fP
quit
.TP
.B \fIX\fP
shift
.TP
.B \fIY\fP
up
.UNINDENT
.SS Controlling the game
.INDENT 0.0
.TP
.B \fIEsc\fP
pause game
.TP
.B \fIspace\fP
show time left
.TP
.B \fICtrl\-A\fP
restart level
.TP
.B \fICtrl\-G\fP
save game (on levels 3..13)
.TP
.B \fICtrl\-J\fP
joystick/gamepad mode (implemented by segrax)
.TP
.B \fICtrl\-K\fP
keyboard mode
.TP
.B \fICtrl\-R\fP
return to intro
.TP
.B \fICtrl\-S\fP
sound on/off
.TP
.B \fICtrl\-V\fP
show version
.TP
.B \fICtrl\-Q\fP
quit game
.TP
.B \fICtrl\-L\fP
load game (when in the intro)
.TP
.B \fIAlt\-Enter\fP
toggle fullscreen
.TP
.B \fIF6\fP
quicksave
.TP
.B \fIF9\fP
quickload
.UNINDENT
.SS Viewing or recording replays
.INDENT 0.0
.TP
.B \fICtrl+Tab (in game)\fP
start or stop recording
.TP
.B \fITab (on title screen)\fP
view/cycle through the saved replays in the SDLPoP directory
.UNINDENT
.SS Cheats
.INDENT 0.0
.TP
.B \fIShift\-L\fP
go to next level
.TP
.B \fIc\fP
show numbers of current and adjacent rooms
.TP
.B \fIShift\-C\fP
show numbers of diagonally adjacent rooms
.TP
.B \fI\-\fP
less remaining time
.TP
.B \fI+\fP
more remaining time
.TP
.B \fIr\fP
resurrect kid
.TP
.B \fIk\fP
kill guard
.TP
.B \fIShift\-I\fP
flip screen upside\-down
.TP
.B \fIShift\-W\fP
slow falling
.TP
.B \fIh\fP
look at room to the left
.TP
.B \fIj\fP
look at room to the right
.TP
.B \fIu\fP
look at room above
.TP
.B \fIn\fP
look at room below
.TP
.B \fIShift\-B\fP
toggle hiding of non\-animated objects
.TP
.B \fIShift\-S\fP
Restore lost hit\-point. (Like a small red potion.)
.TP
.B \fIShift\-T\fP
Give more hit\-points. (Like a big red potion.)
.UNINDENT
.\" other sections we might want, uncomment as needed.
.
.SH FILES
.INDENT 0.0
.TP
.B \fI/usr/share/games/sdlpop/\fP
Game data files, including graphics, levels, and music.
.TP
.B \fI~/.sdlpop/\fP
Per\-user game directory, created the first time \fBsdlpop\fP is run.
The game changes directory here before running.
Contains symlinks to the data files, and:
.TP
.B \fI~/.sdlpop/SDLPoP.ini\fP
Config file for sdlpop. Copied (not symlinked) from the data directory,
so it can be edited as desired. See the comments in \fBSDLPoP.ini\fP itself
for a description.
.UNINDENT
.\" ENVIRONMENT
.
.\" ===========
.
.\" EXIT STATUS
.
.\" ===========
.
.\" BUGS
.
.\" ====
.
.\" EXAMPLES
.
.\" ========
.
.SH COPYRIGHT
.sp
See the file /usr/doc/sdlpop\-1.16/gpl\-3.0.txt for license information.
.SH AUTHORS
.sp
sdlpop was written by David from forum.princed.org, with contributions
from other forum members.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
Homepage: \fI\%http://www.popot.org/get_the_games.php?game=SDLPoP\fP
.sp
Topic in forum: \fI\%http://forum.princed.org/viewtopic.php?f=69&t=3512\fP
.sp
GitHub: \fI\%https://github.com/NagyD/SDLPoP\fP
.\" Generated by docutils manpage writer.
.
|