aboutsummaryrefslogtreecommitdiff
path: root/games/sdlpop/sdlpop.rst
blob: 79e6fc5cc99f3dd1a7963c2116064e3876f85a63 (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
277
278
279
280
281
282
283
284
285
286
287
288
289
.. 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.17
.. |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*] [validate *filename.PIR*] [mod *mod_name*] [debug] [seed=number]

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 **-**, except for *--help* and *--version*.

*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.

*validate* **replays/filename.p1r**
            Print out information about a replay file and quit.

*mod* **mod_name**
            Run with custom data files from **~/.sdlpop/mods/mod_name**.

*debug*
            Enable debug cheats.

*seed=number*
            Set initial random seed, for testing.

*--version*, *-v*
            Display SDLPoP version and quit.

*--help*, *-h*, *-?*
            Display help and quit.

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/replays** directory.

*F (while viewing a replay)*
     Skip forward to the next room.

*Shift-F (while viewing a replay)*
     Skip forward to the next level.

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).

Debug cheats
------------

*[*
    Shift kid 1 pixel to the left.

*]*
    Shift kid 1 pixel to the right.

*t*
    Toggle timer.

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.

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