Posted March 16, 2017
high rated
I've put together Wine wrappers for the STALKER games, allowing them to be played on Linux almost like native games & 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/stalker/ in subdirectories for each game (soc, cs, cop)
Full details are in the readme.txt and release notes. Here are the download links:
stalker_soc_wine.tar.xz
(41.7 kB, SHA256: d19ee384ef80e3d839cf5fccaade7c0eefebcf88ac2cf72d2b6881e30e8d0d93)
stalker_cs_wine.tar.xz
(42.2 kB, SHA256: 112e4812c9700cfdbc9efd46b4222f91fe676e564ce005ee0f9c267310813866)
stalker_cop_wine.tar.xz
(42.5 kB, SHA256: 5ede78993798dcde69c78a80d0b58b988b628eff745dbc53e9c57a457888f63b)
Last updated 2021/07/11
These wrappers all use Wine 6.0 (and DXVK for Clear Sky and Call of Pripyat). Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap
Of course, these require the GOG versions of the games. If you have these games already on Steam (or retail versions) you can claim GOG versions here: https://www.gog.com/reclaim :)
More information is in the readme.txt and release notes in the respective archives. "Sun rays" may need to be disabled if using the open graphics drivers, otherwise the sky may glitch out. If anyone runs into any problems with these 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:
-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/stalker/ in subdirectories for each game (soc, cs, cop)
Full details are in the readme.txt and release notes. Here are the download links:
stalker_soc_wine.tar.xz
(41.7 kB, SHA256: d19ee384ef80e3d839cf5fccaade7c0eefebcf88ac2cf72d2b6881e30e8d0d93)
stalker_cs_wine.tar.xz
(42.2 kB, SHA256: 112e4812c9700cfdbc9efd46b4222f91fe676e564ce005ee0f9c267310813866)
stalker_cop_wine.tar.xz
(42.5 kB, SHA256: 5ede78993798dcde69c78a80d0b58b988b628eff745dbc53e9c57a457888f63b)
Last updated 2021/07/11
These wrappers all use Wine 6.0 (and DXVK for Clear Sky and Call of Pripyat). Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap
Of course, these require the GOG versions of the games. If you have these games already on Steam (or retail versions) you can claim GOG versions here: https://www.gog.com/reclaim :)
More information is in the readme.txt and release notes in the respective archives. "Sun rays" may need to be disabled if using the open graphics drivers, otherwise the sky may glitch out. If anyone runs into any problems with these 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:
-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