Prince of Persia: The Sands of Time

Prince of Persia: The Sands of Time

toni.rhcp Sep 4, 2020 @ 12:54am
1
Prince of Persia Trilogy Fix PC - Widescreen Shaders and API Enhancements
Hi, I want to share with you some findings I've done and put it all together for you to play the Prince of Persia Trilogy in ridicously and gorgeous enhanced graphics.
I own Sands of Time in Uplay, Warrior Within and Two Thrones in GOG. So I can't put this guide in the guides section, as I don't have any of these in Steam.

I've compiled all the fixes from these sources:

asi loader
https://thirteenag.github.io/wfp

widescreenfixes and upx by nemesis2000
http://ps2wide.net/pc.html

Reshade
https://reshade.me/

Reshade Fidelity CAS dx11
https://wccftech.com/amd-fidelityfx-cas-got-ported-to-reshade/

dgvoodoo by Dege
http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2.html

LINK to download all above in just one rar
EDIT:
https://drive.google.com/file/d/1vh6ujprlqOqfIo8R-9aNtvAdERyvDDdl/view
Password: POPs enhancements reupload (same as name file)

To properly see the guide images, you can open this link to ubisoft forums. Sorry, I wont change all the IMGs code.
https://forums.ubisoft.com/showthread.php/2266189-Prince-of-Persia-Trilogy-Fix-PC-Widescreen-Shaders-and-API-Enhancements

It's recommended to use vsync in all three games. Pitifully WW and TT have voice sync issues so you need to limit framerate to 30 fps :-(
It's possible to setup with last version of rivatuner a hotkey to toggle the fps limit and play with 60 fps and change on the fly to 30 fps and not have any issues.

Let's begin

Step one: download and unrar the POPs enhancements.rar


Step two: for the fixes to work you must uncompress the game files executables with upx.

[IMG]https://i.imgur.com/Xc2wqIr.png[/img]

For this you must have the exe and the upx files in the same folder, then with cmd you run unpack using the command upx -d pop.exe

[IMG]https://i.imgur.com/h9qr6B0.png[/img]

In this case as the error message shows up it's not necessary for this distribution of SOT, but for WW and TT it's a must.

[IMG]https://i.imgur.com/u038QHN.png[/img]

Check that the file sizes increased

[IMG]https://i.imgur.com/MpelLBu.png[/img]

Now put the game executables where they belong, you can now forget about upx.


Step three: Copy the files inside the Base folder into the game directory

[IMG]https://i.imgur.com/LeGDjWm.png[/img]

This includes: dgvoodoo2 (a directx wrapper), reshade with some basic shaders plus a port of FidelityFX CAS for directx 11, and an asi loader (in this case named dinput8.dll, but you can change it to the name of a dll that the game could use).

[IMG]https://i.imgur.com/xenlbGG.png[/img]

I don't know exactly what the asi loader is but it allows to load multiple dlls changing the extentions as *.asi. This solves the problem of using all these fixes at the same time because all of them share the same dll name: d3d9.dll

Now copy the widescreen fix in the pop folders into the game directory

[IMG]https://i.imgur.com/ywNKCpo.png[/img]

[IMG]https://i.imgur.com/1meLH2F.png[/img]


Step four: set the resolution in the pop.ini file.

[IMG]https://i.imgur.com/lbTUyNu.png[/img]

My monitor is 1080p but I'm using VSR with an AMD RX 570, so I set it in 4K because I can.


Step five: setup dgvoodoo. First of all right click the title bar and select to show all options.

[IMG]https://i.imgur.com/P1cCQGX.png[/img]

Then set the output api as dx11, I want to run the game as borderless so for this first set the appearance as windowed, stretched keep aspect ratio (we recall this later)

[IMG]https://i.imgur.com/5C48KIg.png[/img]

Now in the DirectX tab you can setup the resolution, anisotropic, multisampling antialiasing, vsync, etc
It's REALLY important that the resolution matches the one you put in the edited pop.ini

[IMG]https://i.imgur.com/D5TJoRx.png[/img]

In the GeneralExt tab select Borderless and Fullscreen size. Also allow gpu scaling in your gpu control panel

If you are experiencing problems with the scaling for some reason, then discard this last changes and in General tab in appearance just select Fullscreen.

[IMG]https://i.imgur.com/j14BGlO.png[/img]

Finally in the DirectXExt tab select the ID Type that corresponds with your gpu

[IMG]https://i.imgur.com/vBNWy10.png[/img]

Don't forget to Apply the changes


Step six: open the game and setup your shaders!! I added a few basic ones plus CAS. I really like the port of CAS FidelityFX, gives a nice sharpening to the image.

[IMG]https://i.imgur.com/pOidy90.png[/img]


Step seven: PROFIT IN RIDICULOUS HIGH ENHANCED SETTINGS

[IMG]https://i.imgur.com/PUmiwKQ.jpg[/img]

[IMG]https://i.imgur.com/1aGZsf9.jpg[/img]

[IMG]https://i.imgur.com/PQGEZPc.jpg[/img]

[IMG]https://i.imgur.com/884Qcgs.jpg[/img]

[IMG]https://i.imgur.com/sC3Ju3C.jpg[/img]

[IMG]https://i.imgur.com/3mMpmBm.jpg[/img]

Water and some other effects are just don't . . . scale well? :-/

[IMG]https://i.imgur.com/vd3pozI.jpg[/img]

Cinematics

[IMG]https://i.imgur.com/1URPDiW.jpg[/img]

[IMG]https://i.imgur.com/9t9vYTg.jpg[/img]

[IMG]https://i.imgur.com/pfb1w0y.jpg[/img]

[IMG]https://i.imgur.com/m3yWiF3.jpg[/img]

WW

[IMG]https://i.imgur.com/KYC9Vjh.jpg[/img]

[IMG]https://i.imgur.com/ncpwHqV.jpg[/img]

[IMG]https://i.imgur.com/XTCi7aw.jpg[/img]

[IMG]https://i.imgur.com/FOUm0cV.jpg[/img]

[IMG]https://i.imgur.com/7mBCgQj.jpg[/img]

[IMG]https://i.imgur.com/m6ZnEVt.jpg[/img]

[IMG]https://i.imgur.com/G4QR1sg.jpg[/img]

[IMG]https://i.imgur.com/HDIE5Im.jpg[/img]

TT

[IMG]https://i.imgur.com/WLqqg5z.jpg[/img]

[IMG]https://i.imgur.com/R4f8AKm.jpg[/img]

[IMG]https://i.imgur.com/r59wAs3.jpg[/img]

[IMG]https://i.imgur.com/0BdiQxw.jpg[/img]

Gameplay screenshots in bmp format, (for more visual preasure)
EDIT: It's on mega and it doesn't show here, so go to the ubisoft forums link, there you can see the link.
Last edited by toni.rhcp; Sep 12, 2020 @ 10:34am
< >
Showing 1-15 of 15 comments
MrArdilla Sep 6, 2020 @ 11:01am 
Thanks, this helps a lot
KingCobraJFS Sep 11, 2020 @ 12:10am 
GJ on this thanks.
MMaRsu Sep 12, 2020 @ 7:09am 
dl link is dead
JakMan500 Sep 12, 2020 @ 8:48am 
Originally posted by Twitch.tv/MMaRsu:
dl link is dead

go to the ubisoft link that he posted, it has a MEGA link that works
toni.rhcp Sep 12, 2020 @ 10:35am 
Originally posted by Twitch.tv/MMaRsu:
dl link is dead
Sorry about that, I've just reuploaded it.
MMaRsu Sep 12, 2020 @ 12:53pm 
Originally posted by toni.rhcp:
Originally posted by Twitch.tv/MMaRsu:
dl link is dead
Sorry about that, I've just reuploaded it.

You are a gentleman and a scholar

do you know how to make it work it a dualshock 4?
toni.rhcp Sep 12, 2020 @ 5:05pm 
Originally posted by Twitch.tv/MMaRsu:
Originally posted by toni.rhcp:
Sorry about that, I've just reuploaded it.

You are a gentleman and a scholar

do you know how to make it work it a dualshock 4?

Thank you!! Sincerely I don't know nor tested (I don't own any DS4), so I can't tell :-/
MrArdilla Sep 14, 2020 @ 10:50am 
Originally posted by Twitch.tv/MMaRsu:
Originally posted by toni.rhcp:
Sorry about that, I've just reuploaded it.

You are a gentleman and a scholar

do you know how to make it work it a dualshock 4?

Use steam controller configuration or ds4windows
e.e Sep 14, 2020 @ 11:34am 
Originally posted by MrArdilla:
Originally posted by Twitch.tv/MMaRsu:

You are a gentleman and a scholar

do you know how to make it work it a dualshock 4?

Use steam controller configuration or ds4windows
https://youtu.be/dTRKCXC0JFg
Silver Knight Jun 6, 2023 @ 11:36am 
anybody managed to get the peixoto fix to work with the steam version for higher resolution alpha effects like water?
GreenMithrandir Jun 20, 2023 @ 12:50pm 
at step : ''For this you must have the exe and the upx files in the same folder, then with cmd you run unpack using the command upx -d pop.exe'' This cmd didn't even run for me, it says is not a recognid command. I'm using Windows 11 .
Do I need to put all 3 games '' .exe's '' in the same folder with upx.exe files?
Is there another way to run upx?
INFINIT3AMMO_TTV Oct 2, 2024 @ 10:30pm 
hello! anyways to have this working with modern reshade for rtgi support
Sabotaje Oct 12, 2024 @ 8:24pm 
It's recommended to use vsync in all three games. Pitifully WW and TT have voice sync issues so you need to limit framerate to 30 fps :-(

Dialogue sync can also be fixed by running the game at 75Hz @75fps (don't ask me why) in case you don't want to play WW and TT at 30 fps.
Last edited by Sabotaje; Oct 12, 2024 @ 8:40pm
does this work on Steam Deck?
Originally posted by RabidLime:
does this work on Steam Deck?
Yes, just install and use a community controller layout
< >
Showing 1-15 of 15 comments
Per page: 1530 50