It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Today, Prince of Persia: The Sands of Time joins the GOG Preservation Program with a major technical update to make this classic adventure run smoothly on modern PCs.
 

We’ve rebuilt our initial experimental work into a lightweight wrapper that tackles modern hardware compatibility while adding widescreen and ultrawide support, customizable camera scaling with new in-game overlay, FPS limits, and multi-monitor mouse locking.
 

After all these years, the Prince’s journey is ready to continue on modern hardware. We hope these improvements make it easier than ever to return to the sands! 

 

Read more about it HERE.

 


 
Post edited August 19, 2026 by GOG.com
avatar
arsalan12: Thank you so much for this, but unfortunately, the game does not recognize my dedicated graphics card and runs on the integrated Intel graphics instead :(
Then you need to provide the graphics card model and report it on the GOG panel.
I used to play through this game again once a year when i was a kid. One of the best games of that console era for sure. I should reinstall it..
avatar
Ancient-Red-Dragon: GOG shouldn't even sell it
unless & until they add controller support to it.
avatar
SargonAelther: Speak for yourself. I've played and beaten every single POP game with mouse and keyboard multiple times. In a PC game, Mouse & Keyboard support matter most. Also these games do support controllers, you just have to bind every action first.
Except the controller bindings do not work properly. If you bind movement to the analog stick, it defaults to walking instead of running.

You need a third party patch to get proper Xinput suppor.t
There seems to be an issue with some of the "fixed camera" portions of the game. When making long platforming jumps, for example, the camera briefly switches to a fixed camera for cinematic effect. Sometimes, the view is completely bugged out which makes these sections nearly unplayable since you can't see where you're landing. I'm playing at 3440x1440 resolution if that makes a difference. Anyone else experience this?
avatar
Dark_Odyssey1: I'm going to try this on Linux. Does anyone know what .dll files GOG added to make these changes happen? Do they have generic names where I would need to add them to WINEDLLOVERRIDES?
avatar
prettyvanilla: There are a number of new .dll and .exe files, but the two core libraries shimming dinput8 and d3d9 have helpfully been named di.dll and dx.dll respectively, so there is no need to add anything to WINEDLLOVERRIDES from that side. Running the new launcher executable PrinceOfPersia_gog.EXE in a fresh wine prefix worked fine with wine-staging from the Arch Linux repos, but only after installing DXVK (with its own needed overrides) into the prefix. Without it I get an assertion error from nuklear.h (which is from the Nuklear GUI toolkit used for the new overlay invoked via F11). But practically, with Heroic Games Launcher I didn't have to do much besides restoring InvertFogRange=0 in Hardware.ini as I mentioned earlier.

Underneath this now also uses SDL3, and reads configuration from a new gog.toml file where you can additionally enable the loading of the DirectInput8 wrapper dinput8_wrap.dll. I wasn't able to get the game to recognize my DualSense via Wine either way so far though, not sure where this is going wrong.

Besides, the previous executables (PrinceOfPersia.EXE) are still included and have a separate launcher entry, those still use the system d3d9 and dinput8 directly and none of the new custom wrapping machinery.
I was able to use my Dualshock 4 by following the tip on PCGamingWiki. First hold down the button on the controller that you want to map, then while you're holding it down double click on the menu box of the action you want to bind the button to. If you tried that and it didn't work then I'm not sure. Also I had no issue with the fog (so far).
Post edited August 20, 2026 by Dark_Odyssey1
avatar
prettyvanilla: There are a number of new .dll and .exe files, but the two core libraries shimming dinput8 and d3d9 have helpfully been named di.dll and dx.dll respectively, so there is no need to add anything to WINEDLLOVERRIDES from that side. Running the new launcher executable PrinceOfPersia_gog.EXE in a fresh wine prefix worked fine with wine-staging from the Arch Linux repos, but only after installing DXVK (with its own needed overrides) into the prefix. Without it I get an assertion error from nuklear.h (which is from the Nuklear GUI toolkit used for the new overlay invoked via F11). But practically, with Heroic Games Launcher I didn't have to do much besides restoring InvertFogRange=0 in Hardware.ini as I mentioned earlier.

Underneath this now also uses SDL3, and reads configuration from a new gog.toml file where you can additionally enable the loading of the DirectInput8 wrapper dinput8_wrap.dll. I wasn't able to get the game to recognize my DualSense via Wine either way so far though, not sure where this is going wrong.

Besides, the previous executables (PrinceOfPersia.EXE) are still included and have a separate launcher entry, those still use the system d3d9 and dinput8 directly and none of the new custom wrapping machinery.
avatar
Dark_Odyssey1: I was able to use my Dualshock 4 by following the tip on PCGamingWiki. First hold down the button on the controller that you want to map, then while you're holding it down double click on the menu box of the action you want to bind the button to. If you tried that and it didn't work then I'm not sure. Also I had no issue with the fog (so far).
I haven't tried that (very unintuitive I have to say ^^) option, but have been able to get this to work for my DualSense by enabling the loading of a custom dinput8.dll via the new gog.toml configuration file as described before, just this time instead of trying to load the bundled dinput_wrap.dll I set it to load the DLLs from current versions of Xidi + its SDL3 plugin (as described on PCGW). This way I could map the buttons also after clicking on the action to bind. ;)

I added a general hint about the mechanism to the Controller Support section on PCGW as well.

The fog issue seems to be hardware/driver specific then I suppose, I still count that as a regression as it was in a working configuration before. If you don't have fog rendering issues now, does reverting to InvertFogRange=0 in Hardware.ini have any negative consequences for you?
avatar
Dark_Odyssey1: I was able to use my Dualshock 4 by following the tip on PCGamingWiki. First hold down the button on the controller that you want to map, then while you're holding it down double click on the menu box of the action you want to bind the button to. If you tried that and it didn't work then I'm not sure. Also I had no issue with the fog (so far).
avatar
prettyvanilla: I haven't tried that (very unintuitive I have to say ^^) option, but have been able to get this to work for my DualSense by enabling the loading of a custom dinput8.dll via the new gog.toml configuration file as described before, just this time instead of trying to load the bundled dinput_wrap.dll I set it to load the DLLs from current versions of Xidi + its SDL3 plugin (as described on PCGW). This way I could map the buttons also after clicking on the action to bind. ;)

I added a general hint about the mechanism to the Controller Support section on PCGW as well.

The fog issue seems to be hardware/driver specific then I suppose, I still count that as a regression as it was in a working configuration before. If you don't have fog rendering issues now, does reverting to InvertFogRange=0 in Hardware.ini have any negative consequences for you?
Well let me clarify this is my first time playing the game, and I've only gotten to the part where you run into the princess for the first time. So still very early I think. Should I have noticed the fog issue by now if there was any? I tried looking up a video of this issue and just saw the entire screen covered by fog to the point where you couldn't even see your character.

Edit: About the way you have to bind buttons being unintuitive, I doubt that was intentional. Maybe just some weird quirk or bug with the game or a result of its age? If it was intentional then I don't know what tf they were thinking.
Post edited August 20, 2026 by Dark_Odyssey1
avatar
GOG.com: Today, Prince of Persia: The Sands of Time joins the GOG Preservation Program with a major technical update to make this classic adventure run smoothly on modern PCs.
 

We’ve rebuilt our initial experimental work into a lightweight wrapper that tackles modern hardware compatibility while adding widescreen and ultrawide support, customizable camera scaling with new in-game overlay, FPS limits, and multi-monitor mouse locking.
 

After all these years, the Prince’s journey is ready to continue on modern hardware. We hope these improvements make it easier than ever to return to the sands!

 

Read more about it HERE.
Everything is great! But why doesn't the HUD and in-game prompt positioning adapt to high resolutions? They end up extending beyond the screen boundaries. The HUD is a crucial part of any game, and lessons from previous fixes should have been taken into account. I’m certainly not downplaying your work, but such a critical oversight seems extremely odd.
avatar
Ricco2014: Everything is great! But why doesn't the HUD and in-game prompt positioning adapt to high resolutions? They end up extending beyond the screen boundaries.
You can correct this by editing the file "Hardware.ini" in the game directory and change the value of of the variable "CanStretchRect" from 1 to 0. See attached screenshots for 2560*1440 resolution.
Attachments:
standard.jpg (315 Kb)
corrected.jpg (319 Kb)
Out of curiosity, can these fixes be applied to the already existing Steam release versions as well?
Or atleast, make them compatible?
avatar
Ricco2014: Everything is great! But why doesn't the HUD and in-game prompt positioning adapt to high resolutions? They end up extending beyond the screen boundaries.
avatar
Raketenfahrer: You can correct this by editing the file "Hardware.ini" in the game directory and change the value of of the variable "CanStretchRect" from 1 to 0. See attached screenshots for 2560*1440 resolution.
Thanks, it seems to be working! How do you take screenshots? When I press F8 using Bandicam, the game freezes completely; that didn't happen with my Steam version.
avatar
Ricco2014: How do you take screenshots? When I press F8 using Bandicam, the game freezes completely; that didn't happen with my Steam version.
I use F12 in Galaxy - yeah, I'm one of THOSE people.
Post edited August 20, 2026 by Raketenfahrer
avatar
Artzei93GOG: Out of curiosity, can these fixes be applied to the already existing Steam release versions as well?
Or atleast, make them compatible?
I don't own the Steam version, but a Google search for "Prince of Persia: The Sands of Time" and "CanStretchRect" finds the following Steam Guide:

https://steamcommunity.com/sharedfiles/filedetails/?id=593284625
Anyone else getting the "Unable to find POPData.BF" error?
I'm referringt to PoP Sands of time, installed from offline installer 1.8.1 German.
Post edited August 23, 2026 by Guter
When a game enters the GOG Preservation Program, do they maintain it forever or do they just work on it for a set amount of time, then stop updating it?