Index ⇒ Site Suggestions ⇒ SDLPoP - open-source port of Prince of Persia

Think you have a suggestion to make? Feel free to post it here!

Moderator: LW Moderator

SDLPoP - open-source port of Prince of Persia

Postby Shattered » Sun Apr 12, 2015 6:34 am

Name of program: SDLPoP
(Earlier name: David's open-source port of PoP)
Author: David from forum.princed.org
Topic in forum:
Code: Select all
http://forum.princed.org/viewtopic.php?f=69&t=3512


=== GENERAL

Q: What is this?
A: This is an open-source port/conversion of the DOS game Prince of Persia.
It is based on the disassembly of the original PoP1 for DOS.

=== USAGE

Q: How do I run it?
A:
Windows:
Double-click on the prince.exe file.
If you want to pass command line parameters, you need to open a command line.
GNU/Linux:
First you have to compile the game. (See the DEVELOPING section.)
Then you can start the game with the
./prince
command.
(Or just double-click it in a file-manager.)

Q: What command-line options are there?
A:
megahit -- Enable cheats.
a number from 1 to 14 -- Start the given level.
draw -- Draw directly to the screen, skipping the offscreen buffer.
full -- Run in full screen mode.

Q: What keys can I use?
A:
Controlling the kid:
left: turn or go left
right: turn or go 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.

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 mode (not implemented)
Ctrl-K: keyboard mode
Ctrl-R: return to intro
Ctrl-S: sound on/off
Ctrl-V: show version

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

Q: Where is the music?
A:
Since version 1.13, the game supports loading music from the data/music folder.
The music is not included in releases because it is very big, and it does not change between versions.
You need to get the music from here: (38MB)
Code: Select all
http://www.popot.org/get_the_games/various/PoP1_DOS_music.zip

It's the last link here:
Code: Select all
http://www.popot.org/get_the_games.php?game=1

Copy the ogg files to the data/music folder. (The mp3 and flac files don't seem to work.)

=== MODS

Q: Can I play mods?
A:
Since version 1.02, the game supports LEVELS.DAT, and since version 1.03, the game can use all .DAT files.
You can either copy the modified .DAT files to the folder of the game, or the game to the mod's folder.

Another way is to start the game while the current directory is the mod's directory.
You can do this from the command line, or with batch files / shell scripts.
This is useful if you want to compare the behavior of this port and the original DOS version (to find bugs).
Especially if you're editing the level and don't want to copy LEVELS.DAT from one place to the other.
/!\ Note that as of 1.03, the data/font folder and its contents must exist in the current directory!
Since 1.11, the data/font folder is no longer required.

Note that this port does not recognize if the PRINCE.EXE of the mod was changed.


Source: the included Readme.txt file.

Forum topic:

Code: Select all
http://forum.princed.org/viewtopic.php?f=69&t=3512


Latest version at the time of this post (v1.14):

Code: Select all
http://forum.princed.org/viewtopic.php?p=16124#p16124
User avatar
Shattered
3DSL Moderator
 
Posts: 2666
Joined: Tue Apr 08, 2008 10:03 pm
Thanks: 777
Thanked: 750 times in 581 posts

The following user would like to thank Shattered for this post
Scaryfun

Return to Site Suggestions

Who is online

Users browsing this forum: No registered users and 61 guests