Posted September 27, 2020
high rated
I've put together Wine wrappers for the Prince of Persia: The Sands of Time trilogy and Prince of Persia (2008), allowing them to be played on Linux almost like a native game & with no Wine knowledge required.
Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.
The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.
(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)
User data is stored under ~/.local/share/pop_sot, ~/.local/share/pop_ww, ~/.local/share/pop_t2t, ~/.local/share/prince_of_persia
Full details are in the readme.txt and release notes. Here is the download link:
pop_sot_wine.tar.xz
(88.8 kB, SHA256: 0272731da078fe3f5228a699da36228734af786e7b1af6456719ab575955040e)
pop_ww_wine.tar.xz
(388.9 kB, SHA256: bc7fbce1c8fa5d985e0d6958025f617cf8237d8dd8abc8c19748cc45974df6a5)
pop_t2t_wine.tar.xz
(172.7 kB, SHA256: 55dcc12f8a247c0ea84d2a33f40a46b7a388d289b2015342fd03fc0d3f6583af)
pop2008_wine.tar.xz
(37.4 kB, SHA256: bb74b5b881095e240ce85bbfdaea4a1499b922918136db0606b11c0413236428)
Last updated 2021/07/11
These wrappers use Wine 6.0. Wine/Proton and Winetricks will be downloaded automatically if not previously downloaded by my wrapper scripts; to avoid redownloading for other scripts the downloaded Wine/Proton package will be stored in ~/.cache/winewrap
The Sands of Time games use Nemesis2000's widescreen fixes except for The Two Thrones which uses RhymeKidder's uncensor patch & widescreen fix, and The Sands of Time itself uses Vulkan via DXVK to work around some minor rendering issues with WineD3D.
If anyone encounters any problems then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ & Discussion and/or The "Judas™ does this run in Wine" thread v1.173.
For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ & Discussion
Additional notes:
The Sands of Time uses DXVK.
- You can enable DXVK's framerate display by setting the environment variable: DXVK_HUD=fps
If you want to create a shortcut to start the game with this set then use these arguments for the shortcut:
env DXVK_HUD=fps %command% play
- Additional packages may be necessary to enable Vulkan support on your system, e.g.: libvulkan1 and libvulkan1:i386
Users of the open graphics drivers may also need to install mesa-vulkan-drivers and mesa-vulkan-drivers:i386
Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.
The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.
(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)
User data is stored under ~/.local/share/pop_sot, ~/.local/share/pop_ww, ~/.local/share/pop_t2t, ~/.local/share/prince_of_persia
Full details are in the readme.txt and release notes. Here is the download link:
pop_sot_wine.tar.xz
(88.8 kB, SHA256: 0272731da078fe3f5228a699da36228734af786e7b1af6456719ab575955040e)
pop_ww_wine.tar.xz
(388.9 kB, SHA256: bc7fbce1c8fa5d985e0d6958025f617cf8237d8dd8abc8c19748cc45974df6a5)
pop_t2t_wine.tar.xz
(172.7 kB, SHA256: 55dcc12f8a247c0ea84d2a33f40a46b7a388d289b2015342fd03fc0d3f6583af)
pop2008_wine.tar.xz
(37.4 kB, SHA256: bb74b5b881095e240ce85bbfdaea4a1499b922918136db0606b11c0413236428)
Last updated 2021/07/11
These wrappers use Wine 6.0. Wine/Proton and Winetricks will be downloaded automatically if not previously downloaded by my wrapper scripts; to avoid redownloading for other scripts the downloaded Wine/Proton package will be stored in ~/.cache/winewrap
The Sands of Time games use Nemesis2000's widescreen fixes except for The Two Thrones which uses RhymeKidder's uncensor patch & widescreen fix, and The Sands of Time itself uses Vulkan via DXVK to work around some minor rendering issues with WineD3D.
If anyone encounters any problems then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ & Discussion and/or The "Judas™ does this run in Wine" thread v1.173.
For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ & Discussion
Additional notes:
The Sands of Time uses DXVK.
- You can enable DXVK's framerate display by setting the environment variable: DXVK_HUD=fps
If you want to create a shortcut to start the game with this set then use these arguments for the shortcut:
env DXVK_HUD=fps %command% play
- Additional packages may be necessary to enable Vulkan support on your system, e.g.: libvulkan1 and libvulkan1:i386
Users of the open graphics drivers may also need to install mesa-vulkan-drivers and mesa-vulkan-drivers:i386
Post edited July 11, 2021 by adamhm