It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
I've put together a Wine wrapper for Deadly Premonition, allowing it 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/deadly_premonition

Full details are in the readme.txt and release notes. Here is the download link:

dp_wine.tar.xz
(313.2 kB, SHA256: f30e24fbe1e7b2194fac007c208e774bdac00d7165f7781c43dc9c066cb5dc92)

Updated 2019/09/14: Updated winewrap.shlib.

The wrapper uses Wine 4.0 and includes DPfix. Wine, Winetricks and the redistributables for some required components will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap and the redistributables will be stored in subdirectories in ~/.cache/winetricks

For now this should be considered a beta release but I did play through most of the game in a previous Wine version without any problems, although that was without DPfix (which I couldn't get working at the time). The game did crash once in my testing with this wrapper, but I couldn't reproduce it & this game tends to crash a lot on Windows anyway, so... ¯\_(ツ)_/¯

Anyway, if anyone does run into problems with this let me know by posting in this thread, Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion and/or The "Judas&trade; 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 &amp; Discussion
Post edited 3 days ago by adamhm
Dear goodness, this is awesome man thanks! I have yet to learn how to make wine wrappers around my windows games; I tried your script and indeed it worked. Just the first two cutscenes have an issue ( intro one and the other one that goes afterwards i believe; if not then just that one.) Besides it working I'll study your script so i can also make some :) and once again thank you.
avatar
adamhm: I've put together a Wine wrapper for Deadly Premonition, allowing it to be played on Linux almost like a native game & with no Wine knowledge required. This game actually seems to run a lot better for me in Wine than it does on Windows, as the loading times are much better (and have never get "stuck") and the game seems more stable.

Simply place the script, resource archive and installer files together in the same directory & run the script. The output is a directory containing a "GOG-style" ready-to-go Wine-wrapped version of the game (the build script also has the option to create a tarball of the assembled game package); from there installation is simply a case of moving the directory to wherever you want it installed to - then just run the start script to play, create a shortcut for the game, access the advanced options 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/deadly_premonition

Full details are in the readme.txt and release notes. Here is the download link:

dp_wine.tar.xz
(297.6 kB, SHA256: df0dab53ae1768be0292a42ea5199af51ff8dad5c9b0f30a8d9bf8c149228872)

Updated 2018/03/31: Update to new winewrap.shlib for all wrappers. This moves more functionality from the start scripts into the shlib and includes a few small fixes and misc enhancements.

The wrapper uses Wine 3.0 with CSMT enabled and includes DPfix. Wine, Winetricks and the redistributables for some required components will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap and the redistributables will be stored in subdirectories in ~/.cache/winetricks

For now this should be considered a beta release but I did play through most of the game in a previous Wine version without any problems, although that was without DPfix (which I couldn't get working at the time). The game did crash once in my testing with this wrapper, but I couldn't reproduce it & this game tends to crash a lot on Windows anyway, so... ¯\_(ツ)_/¯

Anyway, if anyone does run into problems with this let me know by posting in this thread, Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion and/or The "Judas&trade; does this run in Wine" thread v1.173.

For more of my Linux Wine wrappers see my GOGmix: adamhm's Linux Wine wrappers. Also check out Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion
avatar
hm11: Dear goodness, this is awesome man thanks! I have yet to learn how to make wine wrappers around my windows games; I tried your script and indeed it worked. Just the first two cutscenes have an issue ( intro one and the other one that goes afterwards i believe; if not then just that one.) Besides it working I'll study your script so i can also make some :) and once again thank you.
The cutscene videos should work... the build script uses ffmpeg to reencode them so they play properly & they work fine on the systems I tested it on here.

As for learning about Wine, I also made a beginner's guide for PlayOnLinux :) You can find it here: https://www.gog.com/forum/general/the_try_linux_repostrewrite
hmm.. stranger maybe i need like a codec.. let me check my ffmpeg packages.. and cool thanks for that guide! :)
avatar
hm11: Dear goodness, this is awesome man thanks! I have yet to learn how to make wine wrappers around my windows games; I tried your script and indeed it worked. Just the first two cutscenes have an issue ( intro one and the other one that goes afterwards i believe; if not then just that one.) Besides it working I'll study your script so i can also make some :) and once again thank you.
avatar
adamhm: The cutscene videos should work... the build script uses ffmpeg to reencode them so they play properly & they work fine on the systems I tested it on here.

As for learning about Wine, I also made a beginner's guide for PlayOnLinux :) You can find it here: https://www.gog.com/forum/general/the_try_linux_repostrewrite
Is there a way to use this script to patch an already existing install?

I was gifted the game on Steam, and it (obviously) doesn't run, so I was wondering if there was a way to apply this, with maybe a few tweaks, in order for the game to run properly there.

Thanks!
You might be able to modify the script to work with the Steam version but it would take some time & effort, especially if the files for the Steam version are different.

Here's the info if you want to try setting it up yourself:

https://www.gog.com/forum/general/the_judas_does_this_run_in_wine_thread_v1173/post203

Use a clean Wine prefix and only install libraries that are strictly necessary, otherwise it's likely to break.
avatar
hm11: hmm.. stranger maybe i need like a codec.. let me check my ffmpeg packages.. and cool thanks for that guide! :)
There is a regression in newer versions of ffmpeg that was causing the video conversion to fail & it's possible that you were running into this issue. I've implemented a workaround that should fix it :)
avatar
hm11: hmm.. stranger maybe i need like a codec.. let me check my ffmpeg packages.. and cool thanks for that guide! :)
avatar
adamhm: There is a regression in newer versions of ffmpeg that was causing the video conversion to fail & it's possible that you were running into this issue. I've implemented a workaround that should fix it :)
Thanks man! :)
Anyone with long-term playing/testing of this know if it stays relatively stable on linux? I tried playing it in windows 7 and 10 a while back, and the game was unplayable with constant crashing that eventually caused a corrupted save.
avatar
saldite: Anyone with long-term playing/testing of this know if it stays relatively stable on linux? I tried playing it in windows 7 and 10 a while back, and the game was unplayable with constant crashing that eventually caused a corrupted save.
I completed it on Linux; it only crashed once.

I slightly edited this script to create the wine-prefix for the steamplay version. So, thanks adamhm!
Hello,

I am having issues with my 360 controller. The game is detecting the right trigger as up and down on the right analog stick. I can still move the camera left and right with the right analog stick.
avatar
Plastic: Hello,

I am having issues with my 360 controller. The game is detecting the right trigger as up and down on the right analog stick. I can still move the camera left and right with the right analog stick.
I'm having the exact same problem with a logitech F310 in xinput mode. Usually wine games detect it as a 360 pad and work with no additional configuration. I even tried remapping the axes (in jstest-gtk) and switching between event and the old /dev/input interface but the game always thinks RT is up and down on the right stick.
When the script tries to download MPSetup.exe:
2019-09-13 11:56:28 ERROR 404: Not Found
I tried to manually get MPSetup.exe from somewhere else, but cheksum doesnt match(ERROR: Checksum failed for MPSetup.exe). Any workarounds?
avatar
Plastic: Hello,

I am having issues with my 360 controller. The game is detecting the right trigger as up and down on the right analog stick. I can still move the camera left and right with the right analog stick.
avatar
DustinOfcYT: I'm having the exact same problem with a logitech F310 in xinput mode. Usually wine games detect it as a 360 pad and work with no additional configuration. I even tried remapping the axes (in jstest-gtk) and switching between event and the old /dev/input interface but the game always thinks RT is up and down on the right stick.
I don't have much experience with controllers in Wine (I very rarely use a controller) so unfortunately I can't offer much help with it. I know there is some way to get it working but I don't know the specifics; AFAIK it needs some extra stuff installed into the prefix.

avatar
falson: When the script tries to download MPSetup.exe:
2019-09-13 11:56:28 ERROR 404: Not Found
I tried to manually get MPSetup.exe from somewhere else, but cheksum doesnt match(ERROR: Checksum failed for MPSetup.exe). Any workarounds?
The old mirror no longer works - I'll put out a fix later this weekend. In the meantime you can work around it by manually downloading the file from here:

https://web.archive.org/web/20180404022333if_/download.microsoft.com/download/1/b/c/1bc0b1a3-c839-4b36-8f3c-19847ba09299/MPSetup.exe

Place it in ~/.cache/winetricks/wmp9 then try running the script again.
Post edited 4 days ago by adamhm