Saturday, June 2, 2018
Prince of Persia: The Sands of Time
3D Vision fix for Prince of Persia: The Sands of Time. Tested with the GOG version.
Fixed
- Effects like fog and bloom are correctly stereoized thanks to the driver profile tweak in the installation steps.
- Water effects, if you turn on that effect in the graphics options.
- HUD is now at screen depth instead of being affected by convergence. See the "F4" and "F5" hotkeys. The pause and main menu interfaces were already at screen depth and aren't affected by the depth presets.
Installation
- Open the "Prince of Persia" profile with Nvidia Profile Inspector and set "StereoTextureEnable" to "0x00000027" as shown in this image.
- Download this file and extract its contents in the "Prince of Persia The Sands of Time" folder, where "PrinceOfPersia.EXE" is.
- Preferably download the widescreen mod from here to be able to use any resolution and rename its "d3d9.dll" to "d3d9_res.dll" before copying the files to the game folder. Alternatively, and in case something happens to that website, I've packed the fix with the widescreen mod together. You may prefer to download this directly.
- Open "pop.ini" (the config file of the widescreen mod) and set your resolution and other settings to your liking.
- Open "DX9Settings.ini" and change the "ProxyLib = D:\GOG\Prince of Persia The Sands of Time\d3d9_res.dll" line to the path of your "d3d9_res.dll". Remember to not use quotes.
- Launch the game.
Both fix downloads contain my "prince_of_persia_profile.nip", which is the game profile already configured for 3D and also with 8xMSAA + 8x Transparency Supersampling. It also has HBAO+, but I think I read it's something that can't be forced at the same time as 3D Vision is enabled.
Hotkeys
- F1: high convergence preset.
- F2: medium convergence preset.
- F3: low convergence preset.
- F4: HUD depth presets.
- F5: HUD toggle. Not disabled by default.
- F6: blur effect toggle. It also disables the low resolution distortion effect that appears when you go back in time. Not disabled by default. I recommend using this if you want a clearer picture, as the screenshots above show.
Bloom disabling (optional)
I couldn't make it a toggle successfully, so it's a static shader file that will disable the effect instead. If you want to use it, open the "disable_bloom" folder and merge its "shaderoverride" folder with the one in the game folder. Delete the "shaderoverride/pixelshaders/ABB07F2E.txt" file when you want to enable bloom again.
If you liked the fix and want to contribute for more future fixes, you can donate to this PayPal account: masterotakusuko@gmail.com
Subscribe to:
Post Comments (Atom)
Thanks masterotaku, I think it's considered to be the best in series, I'll buy it next time it's on sale :)
ReplyDeleteI'm glad that you like it. I'm doing a proper POP Warrior Within fix too (save for one screen depth distortion effect it's perfect) that I'll publish when I finish the game, and then I'll do POP The Two Thrones.
DeletePressing 'R' to slow the time makes the game VERY blurry when it (slowing) ends (when blur is disabled). You have to Alt + Tab to minimize the game to fix it.
DeleteAlso what exactly F1 - F5 are supposed to do? I don't see any difference when using them in comparison to F6 where the effect is obvious.
I'm using the Steam version, and I'm not seeing this extra blur when slow-mo or rewind ends. It seems OK to me, and doesn't stay blurry where I'd need to alt-tab out.
DeleteF1-F3 are different convergence levels, just a convenience. You can use F3 for example when a cut scene plays, to make it easier to see.
One thing though- I did need to disable the Fog setting, it wasn't playable until I did that, and it's not in the instructions.
I also had issues with the game getting blurry when using slow-motion.
DeleteBut just figured out that it was caused by shaderoverride/pixelshaders/ABB07F2E.txt, which I think is supposed to disable the game's bloom permanently, but instead the game still runs with bloom on by default whether that file's present or absent and pressing F6 still toggles it, but for some reason removing that file fixed slow-motion.
Perhaps it was a leftover?
Hi, it is Great many thanks. But is there any way to toogle F6 (blur remove) automatically at start ?
ReplyDeleteSure, just change the order of the toggle in the DX9Settings.ini file. Under [Key6] section make it Presets=13;12; (can't totally recall, might need to move the UseByDef=true line from Pres13 to Pres12.)
DeleteI tried but it doesnt work.
Deletehttps://postimg.cc/CBxXvKcX
https://postimg.cc/7Gtcjyc6
You'd want to just move the UseByDef=true to Pres12. Can't be in both places. Maybe try leaving the order the same (12,13), but just move that line.
Deleteyeah it Works now. AWESOME ! many thanks.
DeleteF1 to F5 not working or i did something wrong? my HUD is gone by default.
ReplyDeleteJust tested this here, and it was working OK. Win10 21H1, Driver 452.06. Steam version. I used HelixVision to launch and setup. All F-keys were working as described. HUD was available.
DeleteMight be worth trying a clean reinstall of the game, including deleting preferences.
Is there a way to use this alongside Reshade?
ReplyDeleteIs there a way doing the Step 1 using Intel HD Graphics?
ReplyDelete