Prince of Persia: The Sands of Time (2003), a Metacritic 92 action-adventure classic, was practically unplayable on modern hardware due to engine-level technical constraints
In many games from that era, FOV, and game speed were all hardcoded to a fixed framerate and 4:3 resolution – problems that couldn’t be solved with simple patches
GOG built a custom proxy for DirectX 9 DLLs that sit between the game and the GPU, intercepting the engine’s own frame-boundary calls
The proxy gives us direct knowledge of frame timing – when each frame starts and ends – rather than forcing us to guess from the outside
This heavily reduced the need for assembler-level patches and CPU-intensive workarounds, replacing them with stable, precise C++ fixes
The core of the proxy is game-agnostic: the same technology can be applied to other DirectX 9 titles from the same era
Sands of Time now runs at modern resolutions, native 60 fps without workarounds and need for vsync, and with FOV correctly recalculated for widescreen –…