Subversion Repositories Games.Prince of Persia

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
; ====================
2
; SDLPoP configuration
3
; ====================
4
 
5
; This is the configuration file for SDLPoP.
6
; Lines starting with a semicolon (";") are comment lines and are ignored by SDLPoP.
7
; They are used to document the available customization options.
8
 
9
; "default" is a valid setting for any option.
10
 
11
 
12
 
13
[General]
14
; Enable or disable the potions (copy protection) level.
15
enable_copyprot = false
16
 
17
; Use mixer and enable music.
18
enable_mixer = true
19
 
7 pmbaty 20
; Sound mixer volume, from 1 to 100
21
mixer_volume = 100
22
 
1 pmbaty 23
; Enable or disable fading.
24
enable_fade = true
25
 
26
; Enable or disable flashing.
27
enable_flash = true
28
 
29
; Enable or disable texts.
30
enable_text = true
31
 
32
; Display the SDLPoP information screen when the game starts.
33
enable_info_screen = false;
34
; The text says: SDLPoP 1.1.7
35
;    To quick save/load, press F6/F9 in-game.
36
;   To record replays, press Ctrl+Tab in-game.
37
; To view replays, press Tab on the title screen.
38
 
39
; Start the game in fullscreen mode. (In-game fullscreen toggle: Alt+Enter)
40
start_fullscreen = false
41
 
42
; Width and height of the game window.
43
; By default, the window is 640 pixels wide and 400 pixels tall.
44
; When using the "correct aspect ratio" option, the default height is 480 instead of 400.
45
pop_window_width = 1024
46
pop_window_height = 768
47
 
48
; Render the game in the originally intended 4:3 aspect ratio.
49
; NB. Works best using a high resolution.
50
use_correct_aspect_ratio = true
51
 
52
; Enable pixel perfect scaling. That is, make all pixels the same size by forcing integer scale factors.
53
; Note: If you enable both integer scaling and the 4:3 aspect ratio setting above,
54
; then integer scaling will be disabled, unless the window is at least 1600 x 1200 pixels (without the border).
55
; Integer scaling will also be disabled if the window is smaller than 320 x 200 pixels.
56
; Note: You need to compile with SDL 2.0.5 or newer for this.
57
use_integer_scaling = false
58
 
59
; If using a controller with a rumble motor, provide haptic feedback when the kid is hurt.
60
enable_controller_rumble = true
61
 
62
; When using a controller, only use the joysticks for horizontal movement (instead of all-directional movement).
63
; This could make the game easier to control, depending on your preference and depending on which controller you have.
64
joystick_only_horizontal = true
65
 
66
; Joystick 'dead zone' sensitivity threshold. Range: 0 to 32767 (default = 8000)
67
joystick_threshold = 8000
68
 
69
; You can choose which levels to play using the 'levelset' option:
70
;    'original'       --> play the original levels (Default)
71
;    'Your Mod Name'  --> play a custom levelset (the custom files must be in a directory "mods/Your Mod Name/")
72
 
73
levelset = original
74
 
75
 
76
 
77
[AdditionalFeatures]
78
; Enable quicksave/load feature. (In-game: press F6 to quicksave, F9 to quickload)
79
enable_quicksave = true
80
 
81
; Try to let time keep running out when quickloading. (similar to Ctrl+A)
82
; Technically, the 'remaining time' is still restored, but with a penalty for elapsed time (up to 1 minute).
83
; The one minute penalty will also be applied when quickloading from e.g. the title screen.
84
enable_quicksave_penalty = false
85
 
86
; Enable recording/replay feature.
87
enable_replay = false
88
 
89
; The folder where replays will be kept.
90
replays_folder = replays
91
 
92
; Darken those parts of the screen that are not near a torch.
93
enable_lighting = true
94
 
2 pmbaty 95
; Filter screen with a XBRZ pixel scaling algorithm (set to 1 to disable)
96
filter_level = 6
1 pmbaty 97
 
98
 
99
[Enhancements]
100
use_fixes_and_enhancements = false
101
 
102
;    'prompt' --> the game will ask each time the game is launched
103
;    'true'   --> fixes and enhancements are used
104
;    'false'  --> fixes and enhancements are not used (Default)
105
;
106
; Below, you can pick which fixes/enhancements will be active.
107
; NB. If use_fixes_and_enhancements is set to 'false', all of the below options are disabled.
108
 
109
 
110
; Adds a way to crouch immediately after climbing up: press down and forward simultaneously.
111
; In the original game, this could not be done (pressing down always causes the kid to climb down).
112
enable_crouch_after_climbing = true
113
 
114
; Time runs out while the level ending music plays; however, the music can be skipped by disabling sound.
115
; This option stops time while the ending music is playing (so there is no need to disable sound).
116
enable_freeze_time_during_end_music = true
117
 
118
; Enable guard hitpoints not resetting to their default (maximum) value when re-entering the room.
119
enable_remember_guard_hp = true
120
 
121
; If a room is linked to itself on the left, the closing sounds of the gates in that room can't be heard.
122
fix_gate_sounds = true
123
 
124
; An open gate or chomper may enable the Kid to go through walls. (Trick 7, 37, 62)
125
fix_two_coll_bug = true
126
 
127
; If a room is linked to itself at the bottom, and the kid's column has no floors, the game hangs.
128
fix_infinite_down_bug = true
129
 
130
; When a gate is under another gate, the top of the bottom gate is not visible.
131
fix_gate_drawing_bug = true
132
 
133
; When climbing up to a floor with a big pillar top behind, turned right, Kid sees through floor.
134
fix_bigpillar_climb = true
135
 
136
; When climbing up two floors, turning around and jumping upward, the kid falls down.
137
; This fix makes the workaround of Trick 25 unnecessary.
138
fix_jump_distance_at_edge = true
139
 
140
; When climbing to a higher floor, the game unnecessarily checks how far away the edge below is;
141
; This contributes to sometimes "teleporting" considerable distances when climbing from firm ground.
142
fix_edge_distance_check_when_climbing = true
143
 
144
; Falling from a great height directly on top of guards does not hurt.
145
fix_painless_fall_on_guard = true
146
 
147
; Bumping against a wall may cause a loose floor below to drop, even though it has not been touched. (Trick 18, 34)
148
fix_wall_bump_triggers_tile_below = true
149
 
150
; When pressing a loose tile, you can temporarily stand on thin air by standing up from crouching.
151
fix_stand_on_thin_air = true
152
 
153
; Buttons directly to the right of gates can be pressed even though the gate is closed (Trick 1)
154
fix_press_through_closed_gates = true
155
 
156
; By jumping and bumping into a wall, you can sometimes grab a ledge two stories down (which should not be possible).
157
fix_grab_falling_speed = true
158
 
159
; When chomped, skeletons cause the chomper to become bloody even though skeletons do not have blood.
160
fix_skeleton_chomper_blood = true
161
 
162
; Controls do not get released properly when drinking a potion, sometimes causing unintended movements.
163
fix_move_after_drink = true
164
 
165
; A drawing bug occurs when a loose tile is placed to the left of a potion (or sword).
166
fix_loose_left_of_potion = true
167
 
168
; Guards may "follow" the kid to the room on the left or right, even though there is a closed gate in between.
169
fix_guard_following_through_closed_gates = true
170
 
171
; When landing on the edge of a spikes tile, it is considered safe. (Trick 65)
172
fix_safe_landing_on_spikes = true
173
 
174
; The kid may glide through walls after turning around while running (especially when weightless).
175
fix_glide_through_wall = true
176
 
177
; The kid can drop down through a closed gate, when there is a tapestry (doortop) above the gate.
178
fix_drop_through_tapestry = true
179
 
180
; When dropping down and landing right in front of a wall, the entire landing animation should normally play.
181
; However, when falling against a closed gate or a tapestry(+floor) tile, the animation aborts.
182
; (The game considers these tiles floor tiles; so it mistakenly assumes that no x-position adjustment is needed)
183
fix_land_against_gate_or_tapestry = true
184
 
185
; Sometimes, the kid may automatically strike immediately after drawing the sword.
186
; This especially happens when dropping down from a higher floor and then turning towards the opponent.
187
fix_unintended_sword_strike = true
188
 
189
; By repeatedly pressing 'back' in a swordfight, you can retreat out of a room without the room changing. (Trick 35)
190
fix_retreat_without_leaving_room = true
191
 
192
; The kid can jump through a tapestry with a running jump to the left, if there is a floor above it.
193
fix_running_jump_through_tapestry = true
194
 
195
; Guards can be pushed into walls, because the game does not correctly check for walls located behind a guard.
196
fix_push_guard_into_wall = true
197
 
198
; By doing a running jump into a wall, you can fall behind a closed gate two floors down. (e.g. skip in Level 7)
199
fix_jump_through_wall_above_gate = true
200
 
201
; If you grab a ledge that is one or more floors down, the chompers on that row will not start.
202
fix_chompers_not_starting = true
203
 
204
; As soon as a level door has completely opened, the feather fall effect is interrupted because the sound stops.
205
fix_feather_interrupted_by_leveldoor = true
206
 
207
; Guards will often not reappear in another room if they have been pushed (partly or entirely) offscreen.
208
fix_offscreen_guards_disappearing = true
209
 
210
 
211
 
212
[CustomGameplay]
213
; Starting minutes left. (default = 60)
214
; To disable the time limit completely, set this to -1.
215
;start_minutes_left = 60
216
 
217
; Starting number of ticks left in the first minute. (default = 719)
218
; 1 tick = 1/12 second, so by default there are 59.92 seconds left in the first minute.
219
;start_ticks_left = 719
220
 
221
; Starting hitpoints. (default = 3)
222
;start_hitp = 3
223
 
224
; Maximum number of hitpoints you can get. (default = 10)
225
;max_hitp_allowed = 10
226
 
227
; First level where you can save the game. (default = 3)
228
;saving_allowed_first_level = 3
229
 
230
; Last level where you can save the game. (default = 13)
231
;saving_allowed_last_level = 13
232
 
233
; Start the game with the screen flipped upside down, similar to Shift+I (default = false)
234
;start_upside_down = false
235
 
236
; Start in blind mode, similar to Shift+B (default = false)
237
;start_in_blind_mode = false
238
 
239
; The potions level will appear before this level. Set to -1 to disable. (default = 2)
240
;copyprot_level = 2
241
 
242
; Set up edges of the level.
243
; Tile drawn at the top of the room if there is no room that way. (default = floor)
244
; E.g. 0: empty, 1: floor, 20: wall (etc.)
245
;drawn_tile_top_level_edge = floor
246
 
247
; Tile drawn at the left of the room if there is no room that way. (default = wall)
248
;drawn_tile_left_level_edge = wall
249
 
250
; Tile behavior at the top or left of the room if there is no room that way (default = wall)
251
;level_edge_hit_tile = wall
252
 
253
; Enable triggering any tile. (default = false)
254
; For example, a button could make loose floors fall, or start a stuck chomper.
255
;allow_triggering_any_tile = false
256
 
257
; Enable the dungeon Wall Drawing Algorithm (WDA) in the palace environment.
258
; N.B. Use with a modified VPALACE.DAT that provides dungeon-like wall graphics!
259
;enable_wda_in_palace = false
260
 
261
; Colors of the hard-coded color palette (RGB values 0..255, will be rounded down to nearest multiple of 4).
262
;vga_color_0 = 0, 0, 0
263
;vga_color_1 = 0, 0, 170
264
;vga_color_2 = 0, 170, 0
265
;vga_color_3 = 0, 170, 170
266
;vga_color_4 = 170, 0, 0
267
;vga_color_5 = 170, 0, 170
268
;vga_color_6 = 170, 85, 0
269
;vga_color_7 = 170, 170, 170
270
;vga_color_8 = 85, 85, 85
271
;vga_color_9 = 85, 85, 255
272
;vga_color_10 = 85, 255, 85
273
;vga_color_11 = 85, 255, 255
274
;vga_color_12 = 255, 85, 85
275
;vga_color_13 = 255, 85, 255
276
;vga_color_14 = 255, 255, 85
277
;vga_color_15 = 255, 255, 255
278
 
279
; Level that will be loaded when starting a new game. (default = 1)
280
;first_level = 1
281
 
282
; Always skip the title sequence: the first level will be loaded immediately. (default = false)
283
;skip_title = false
284
 
285
; First level where level skipping with Shift+L is denied in non-cheat mode. (default = 4)
286
;shift_L_allowed_until_level = 4
287
 
288
; Number of minutes left after Shift+L is used in non-cheat mode. (default = 15)
289
;shift_L_reduced_minutes = 15
290
 
291
; Number of ticks left after Shift+L is used in non-cheat mode. (default = 719)
292
; (1 tick = 1/12 second, 719 ticks is 59.92 seconds)
293
;shift_L_reduced_ticks = 719
294
 
295
 
296
; The following customization options can be used in all level sections:
297
; level_type = 0: dungeon, 1: palace
298
; level_color = 0: colors from VDUNGEON.DAT/VPALACE.DAT, >0: colors from PRINCE.DAT (You need a PRINCE.DAT from 1.3 or 1.4 for this.)
299
; guard_type = 0: guard, 1: fat, 2: skel, 3: vizier, 4: shadow
300
; guard_hp = Base hitpoints for guards on this level.
301
; cutscene = 0: none, 2 or 6: standing, 4: lying down, 8: mouse leaves, 9: mouse returns, 12: standing or turn around
302
[Level 0] ; demo
303
[Level 1]
304
[Level 2]
305
[Level 3]
306
[Level 4]
307
[Level 5]
308
[Level 6]
309
[Level 7]
310
[Level 8]
311
[Level 9]
312
[Level 10]
313
[Level 11]
314
[Level 12]
315
[Level 13] ; Jaffar
316
[Level 14] ; princess
317
[Level 15] ; potions