Guide to Prince of Persia tricks (Large Topic)

Discuss PoP1 for DOS here.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Norbert wrote: September 17th, 2020, 3:45 pm
atrueprincefanfrom18 wrote: September 16th, 2020, 7:07 pmGreat, then you can do it now, I guess.
Definitely.
viewtopic.php?f=67&t=4595
Will you announce it on Facebook?
Thanks. And yes, will do of course.

[Edit: Posted on FB here].

Also, is there any way for the administrator to email everybody on this forum about this? There are some people are not regular visitors, but would definitely participate in this. If we get lot of participants, then that's an interesting thing.
Norbert wrote: September 17th, 2020, 3:45 pm Added as 152.
Thanks. Recently, I had written a Python script (for fun) which fetches all the tricks from PoPOT. I just loved it to have all the tricks downloaded into popot-tricks directory. I wanted to share it somewhere, so I am sharing it here:

Code: Select all

#!/usr/bin/python3
# -*- coding: utf-8 -*-

import requests
import os
import sys

START = 1

END = 1

if sys.argv[1] is not None:
	END = int(sys.argv[1])

print(f'Will start at {START} and end at {END}...')

OUTPUT_DIR = "popot-tricks"

OUTPUT_FINAL_DIR = os.path.join(os.getcwd(), OUTPUT_DIR)

if not os.path.exists(OUTPUT_FINAL_DIR):
	os.makedirs(OUTPUT_FINAL_DIR)

	print(f"{OUTPUT_FINAL_DIR} didn't existed. Created now!")

# https://www.popot.org/documentation/videos/trick_00001.ogv ==> Sample URL

URL = "https://www.popot.org/documentation/videos/trick_{}.ogv"

DOWNLOAD_VIDEO_EXTENSION = ".ogv"

for x in range(START, END + 1):
	trick_number = str(x).rjust(5, "0")

	print(f"Working on trick: {trick_number}")

	trick_url = URL.format(trick_number)

	# Check if trick exists
	trick_path = os.path.join(OUTPUT_FINAL_DIR, str(trick_number) + str(DOWNLOAD_VIDEO_EXTENSION))

	if os.path.exists(trick_path):
		print(f"{trick_number} trick already exists... Continuing...")
	else:
		try:
			r = requests.get(trick_url, stream = True)

			with open(trick_path, "wb") as f:
				for chunk in r.iter_content(chunk_size = 1024):
					f.write(chunk)

			print(f"Finished working on: {trick_number}")

		except Exception as e:
			print(f"{trick_number} trick couldn't be downloaded. Try again later! {e}")
You need to install Python 3.x.x and install requests module through pip3 install requests. Then run it and pass the latest trick number uploaded to PoPOT. For example,

Code: Select all

python3 filename.py 151
Try if anybody is interested and let me know ;)
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
Falcury
Calif
Calif
Posts: 568
Joined: June 25th, 2009, 10:01 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Falcury »

atrueprincefanfrom18 wrote: September 17th, 2020, 4:29 pm Also, is there any way for the administrator to email everybody on this forum about this? There are some people are not regular visitors, but would definitely participate in this. If we get lot of participants, then that's an interesting thing.
Yes it is possible. Although I would be a bit worried that people might not want to be bothered by e-mail about this... I don't actually know if we have previously sent out e-mails about community and PoP-related events (not that I can remember at least)... The idea is interesting though! What do other people think, is this something we should consider doing?
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Norbert »

Falcury wrote: September 17th, 2020, 11:49 pm
atrueprincefanfrom18 wrote: September 17th, 2020, 4:29 pmAlso, is there any way for the administrator to email everybody on this forum about this?
Yes it is possible. Although I would be a bit worried that people might not want to be bothered by e-mail about this... I don't actually know if we have previously sent out e-mails about community and PoP-related events (not that I can remember at least)...
Back when I was an active admin, I've used that functionality twice or thrice. Although I cannot remember what for, nor whether or not it actually worked properly - but I think it did. Each user on their User Control Panel page has, on the Board Preferences tab, a setting "Administrators can email me information", that can be set to Yes or No. I don't know the default, though. Since it's been used so rarely, certainly not in the last 12 months, I think mass mailing everyone shouldn't be a problem. And maybe some folks who haven't been around for a while may feel nostalgic enough to create a new forum post.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Falcury wrote: September 17th, 2020, 11:49 pm What do other people think, is this something we should consider doing?
Maybe you could consider asking poirot and David. Also, it would be great if any action/decision is taken as soon as possible, there are just 10 days left.
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
Falcury
Calif
Calif
Posts: 568
Joined: June 25th, 2009, 10:01 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Falcury »

Norbert wrote: September 18th, 2020, 12:18 am Each user on their User Control Panel page has, on the Board Preferences tab, a setting "Administrators can email me information", that can be set to Yes or No. I don't know the default, though. Since it's been used so rarely, certainly not in the last 12 months, I think mass mailing everyone shouldn't be a problem. And maybe some folks who haven't been around for a while may feel nostalgic enough to create a new forum post.
Right, I found the setting. I think Yes is the default, although I'm not fully sure.
atrueprincefanfrom18 wrote: September 19th, 2020, 7:35 pmAlso, it would be great if any action/decision is taken as soon as possible, there are just 10 days left.
Ok then, let's do it. Can you PM me the text you want to send? Then I'll send the e-mail.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Falcury wrote: September 21st, 2020, 4:11 pm
atrueprincefanfrom18 wrote: September 19th, 2020, 7:35 pmAlso, it would be great if any action/decision is taken as soon as possible, there are just 10 days left.
Ok then, let's do it. Can you PM me the text you want to send? Then I'll send the e-mail.
You can use the text which is in Twitter or Facebook.

And some more text, if you think that is not enough for people to take some action.
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
Falcury
Calif
Calif
Posts: 568
Joined: June 25th, 2009, 10:01 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Falcury »

Ok, I sent the e-mail. (Hopefully it worked, I don't see it in my own inbox yet.)
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Falcury wrote: September 21st, 2020, 5:41 pm Ok, I sent the e-mail. (Hopefully it worked, I don't see it in my own inbox yet.)
Even I haven't yet received it yet. Maybe it mails slowly (starting from UserID 1) so as not to feel spam. As in, it can mail 10 people and then sleep a minute or something like that...

Edit: I think it has worked. I have not received an e-mail notif from this topic, even though YURA has posted a post: viewtopic.php?p=30592#p30592
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Yay! Found another one! :D :lol:





Self-explanatory (you need to press shift and then at the right time, hit up. May take some practice for some people), a kind of Overflow Bug? It also works on DOSBox and SDLPoP, both (I found it in the 11th level, Room 6 when I picked up the potion and climbed up after few milliseconds). By the way, it would be great if Falcury or David find out correct delay if the loose floor delay is changed in Apoplexy's F3 screen.

I think the game is confused when half of the body is on one room, it needs to show the second room and it somehow gets everything into the third room causing amazing bugs.

Interesting! :)
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Norbert »

atrueprincefanfrom18 wrote: September 22nd, 2020, 11:43 amyou need to press shift and then at the right time, hit up. [...] Interesting! :)
This is interesting!
And, how weird that nobody noticed - or at least, wrote about - this before. :)
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Norbert wrote: September 22nd, 2020, 12:00 pm This is interesting!
And, how weird that nobody noticed - or at least, wrote about - this before. :)
Yes, it's interesting!
It's not easily noticable, because you need proper timing (or at least some delay) to do it and you can only do it if you wish to. It's difficult to notice it by accident. Most people just keep the up button pressed, and hence, they can't find it.
Secondly, it's not useful anywhere in the original game. Maybe if it's useful in other mods.

Norbert, please add it to PoPOT. I think till 2021 we may have 200+ tricks discovered :)
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Norbert »

atrueprincefanfrom18 wrote: September 22nd, 2020, 12:18 pmSecondly, it's not useful anywhere in the original game.
Hm, true.
Although we can now reach this room alive. :P

(I've looked through all original levels; triable are room 7 in level 10, and rooms 6, 1 and 15 in level 11.)
atrueprincefanfrom18 wrote: September 22nd, 2020, 12:18 pmNorbert, please add it to PoPOT.
Yes, I'll add it later today.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: Guide to Prince of Persia tricks (Large Topic)

Post by atrueprincefanfrom18 »

Norbert wrote: September 22nd, 2020, 12:49 pm Although we can now reach this room alive. [video]
I had just recorded and put it here! :lol:

(By the Post ID, I put it first ;))
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Norbert »

atrueprincefanfrom18 wrote: September 22nd, 2020, 12:54 pm
Norbert wrote: September 22nd, 2020, 12:49 pm Although we can now reach this room alive. [video]
I had just recorded and put it here! :lol:

(By the Post ID, I put it first ;))
Hah. :)
Great minds think alike.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5786
Joined: April 9th, 2009, 10:58 pm

Re: Guide to Prince of Persia tricks (Large Topic)

Post by Norbert »

Falcury wrote: September 21st, 2020, 5:41 pm Ok, I sent the e-mail. (Hopefully it worked, I don't see it in my own inbox yet.)
Anyone receive the email yet?
I personally have not.
Maybe it didn't work...
Post Reply