Prince of Persia: The Sands of Time

Prince of Persia: The Sands of Time

201 ratings
Essential Fixes & Controller Support
By iriyap
How to get the game up and running on a modern machine.
2
16
2
2
   
Award
Favorite
Favorited
Unfavorite
Essential
Install the widescreen patch[ps2wide.net], it gives hor+ 1080p/4K support, fixes UI and FOV. Just unpack the files to your game folder using 7-zip[www.7-zip.org], then edit the .ini to set your desired resolution.

Then, limit the frame rate to 60 FPS via Nvidia Control Panel, and make sure vsync is enabled in-game. Otherwise there will be physics glitches, such as invisible walls, certain puzzle/platforming elements not working correctly, etc etc.

Finally, if you're experiencing the fog glitch (e.g. you can't see the 3D background in the main menu, everything but the UI is blue), then go to the game folder, open Hardware.ini and set the following:
ForceVSFog=1 InvertFogRange=0
Controller Support
All controllers should work. This includes both old DInput controllers as well as modern XInput controllers and also whatever is supported by Steam (DualShock, DualSense, Switch Pro etc). Make sure your controller is plugged in/turned on before starting the game as it only checks it during start up, then go to the options/controls and set the button mappings. I recommend following the original PS2 scheme[strategywiki.org]. Note that the tutorial button prompts are for mouse/keyboard only.

If you still have trouble getting the game to detect your controller, make sure Steam controller configuration isn't automatically picking up some community template for the game, a lot of those just bind keyboard keys to your controller. You can check it by going into Big Picture Mode -> Library -> Prince of Persia: The Sands of Time -> Manage Game -> Controller Configuration. If there's indeed some community template, then just reset it to the default "Gamepad" template.

Unlike the sequels, the menus in The Sands of Time are mouse/keyboard only, but you can work around this by using Steam controller configuration to e.g. map the D-pad to mouse movement (choose "joystick mouse" and then set the sensitivity to the lowest), Select to Escape (for pausing, skipping videos and going out of menus) and Start to Left Click (for confirming).

Finally, if walking/running feels off, try changing the left stick dead zone shape to square in Steam controller configuration. You can also decrease the outer dead zone a bit so that the Prince starts running sooner.
Other
If you want to skip the lengthy intro videos, remove/rename the following files in the "Video" folder: Bink.int, Intro.int, nvidia.int, poplogo.int, ubisoft.int.

While it's possible to also remove/rename the loading screen videos to speed up the loading times it's known to cause softlocks, so it's not recommended.

Steam overlay for this game is intentionally disabled by the publisher, there's no way to take or upload screenshots without the use of third party software.
Screenshots
1080p downscaled from 4K
29 Comments
dimebagdan 24 Feb @ 11:01pm 
You are the 🐐!
vendian 28 Apr, 2024 @ 6:24am 
thank you for this! especially the solution for the fog glitch
BLAZE 4 Jan, 2024 @ 1:40pm 
trae trojano
Vo1t 2 Jan, 2024 @ 1:58pm 
I did everything on the guide but i cannot get 4k resolution
JustASimp38 6 Dec, 2023 @ 8:12pm 
Very useful. Thanks. c:
MoMMyMiLKeR 28 Nov, 2023 @ 12:31am 
Thank you very much. its work verry well :steamhearteyes:
76561198000973506 22 Jul, 2023 @ 6:22am 
Used Steam controller layout, mapped WASD to left joystick to fix problem with walking in some directions. + used reverse outer ring to map walk toggle for gentle tilt. Only got 8 directions but it's not a problem here, direction change is smooth like butter. Then used Nvidia panel to add multisampling, now the image is smoother than silk. I am grateful that we have the tools to bring older games to modern standards.
Bogda 4 Jul, 2023 @ 1:11pm 
I also have troubles with audio in cutscenes, especially in the very first one, ive limited fps to 60, 59, turned fast vsync thru nvidia control panel, uninstalled eax from the game but it didnt work out(
SwordLAAAA 17 Jun, 2023 @ 5:59pm 
i have it on gog, and i cant use an xbox one controller
juicysnacks 14 Jun, 2023 @ 10:43am 
Thanks for this, was able to get everything up and running easily!