Page 1 of 1

Prince of Persia (2008) (+20) [Steam license] {mul0}

Posted: Tue Oct 17, 2023 10:59 am
by mul0
Image

Link to my blog :
[Link]

Game: Prince of Persia (2008)
Version: Steam license (Latest)
Date of table creation: 16/10/2023 11:45
Author of Table: mul0

Table Functions:
  • Change Prince Skins - Changes the skin for the prince and Elika
  • Fast climbing up the walls - A quick animation of the prince climbing up the wall
  • Fast climbing down the walls - A quick animation of the prince climbing down the wall
  • Fast moving on the railing - A quick animation of the prince climbing the railing
  • Fast running on the walls - A quick animation of the prince running on the walls (Left or right)
  • Fast movement on the ceiling - A quick animation of the prince moving across the ceiling
  • Fast gliding on platforms - A quick animation of the prince while sliding on the platforms
  • Player Teleportation [To teleport in the direction of the camera - Press key "T"] [Freeze the Fall - Press key "F"]- Lets you teleport the prince to the side where the camera is directed. ("1" to go up at coordinate Z and "2" to go down at coordinate Z)
  • Enable teleportation to any location [Menu on the "TAB"] - Allows you to teleport to any open/closed location (In the TAB menu)
  • Successful Capture of an Unlocked Point - Allows you to capture a closed or open location (If it is available for capture)
  • Instant Point Capture - Instant point capture without long animations
  • Complete protection for black mud - Full protection from black dirt
  • x2 Damage - Double damage to enemies
  • Jump Hack[Hold "Spacebar" after jumping][Press "Q" to accelerate] - Allows you to levitate from the side of the jump.
  • No Collision [Hold key "SHIFT"] - Completely disables character colision
  • Light Mode - In moments where the game is completely black it makes it lighter.
  • Elika Rescue Height - Allows you to set the height from which you will be rescued by Elika
  • Add Light Seeds [Press key "G"] - When you press the "G" button, it adds you Light Seeds
  • Infinite Use Elika Help[Use "Space" + "E"] - You can spam Elika's save button an infinite number of times.
  • Climb Height [Hold key "R" and climb up] - Allows you to set the wall climbing height for the prince

Re: Prince of Persia (2008) (+20) [Steam license] {mul0}

Posted: Tue Oct 17, 2023 6:34 pm
by sebastianyyz
Interesting table, will try it. Thank you so much for sharing it.

Re: Prince of Persia (2008) (+20) [Steam license] {mul0}

Posted: Tue Oct 17, 2023 6:49 pm
by mul0
sebastianyyz wrote:
Tue Oct 17, 2023 6:34 pm
Interesting table, will try it. Thank you so much for sharing it.
You're welcome. :) If you find bugs or crash then write me l try to help. 8-)

Re: Prince of Persia (2008) (+20) [Steam license] {mul0}

Posted: Fri Aug 16, 2024 8:32 am
by GMP
Awesome table as usual mul! As one of the 7 people that care about this game, I have been actively trying to hunt for pointers in this game myself. I want to share all the knowledge I have gathered in case you want to expand this table even further:

The booleans for controlling whether the plates are active or not can be found here:
- Red: "PrinceOfPersia_Launcher.exe"+00B0E808, 84, 58, 18, 20, 10, 4, 18
- Blue: "PrinceOfPersia_Launcher.exe"+00B0E808, 84, 58, 18, 20, 10, C, 18
- Yellow: "PrinceOfPersia_Launcher.exe"+00B0E808, 84, 58, 18, 20, 10, 14, 18
- Green: "PrinceOfPersia_Launcher.exe"+00B0E808, 84, 58, 18, 20, 10, 10, 18

There is a program called "ACViewer by ForgeMaster". It's mainly used for Assassin's Creed games to view the maps, but it also supports PoP 2008 to some extent. I confirmed the plates to be tracked like this via the forge explorer feature: POPWorld0.Components[8].Powers and the last few offsets seem to line up.

The coordinates of the safe spot the prince will spawn after a platforming death can be found here:
X: "PrinceOfPersia_Launcher.exe"+00B37F68, C, C70
Y and Z: Add +4 and +8 to the last offset above

This code executes at the beginning of the game when the player first reaches the desert. This seems to lock the safe spot.

Code: Select all

PrinceOfPersia_Launcher.exe+29D1FB - mov byte ptr [edi+00001768],00
This probably won't be useful outside speedrunning, but still quite interesting. Dying or going near corruption resets that value but there are more values that prevent that from happening.

I will also attach the cheat table with all the values that I have fyr.

If you decide to come back to hunting more values for this game, I hope at least some of this information will be of some help to you. I really believe exploring the ACViewer stuff will help a lot.