Solvedwinetricks need wmp9 to install on 64 bits Wine prefix

it is necessary to install devenum and wmp9 with Winetricks for Darksiders game play their cinematics.
I tested on a 32 Wine prefix and it works.
But in a 64 bits prefix, only devenum can be installed with Winetricks.
Proton (SteamPlay) uses a 64 bits wine prefix for Darksiders (and perhaps all games).
To play Darksiders with Proton, I need to install wmp9 on his 64 bits Wine prefix.
Why Winetricks refused to install wmp9 in a 64 bits prefix?
Is there a workaround?
Thank you for your help.

28 Answers

✔️Accepted Answer

Sorry for not submitting a PR or something, but I don't know anything about git, and it's quick & dirty anyway.

$ sha256sum winetricks
316f940a2a50e24c2ac44080cce8b8d9fb6a75bd8b9e09708d44beac894b4c4a  winetricks
$ diff -u winetricks winetricks-custom
--- winetricks	2020-02-08 12:33:16.053305995 +0100
+++ winetricks-custom	2020-02-08 19:56:48.468458158 +0100
@@ -16046,7 +16046,7 @@
     # This version of Windows Media Player can be installed only on Windows 98 Second Edition, Windows Millennium Edition, Windows 2000, Windows XP(32-bit), and Windows .NET Server(32-bit).
-    w_package_unsupported_win64
+#    w_package_unsupported_win64
     w_call wsh57
@@ -16067,8 +16067,11 @@
     w_override_app_dlls MPSetup.exe native pidgen
     w_try_cd "$W_CACHE"/"$W_PACKAGE"
-    w_try "$WINE" MPSetup.exe $W_UNATTENDED_SLASH_Q
+    w_try cabextract -d "$W_TMP" ./MPSetup.exe
+    w_try_cd "$W_TMP"
+    w_try sed -i 's/IsWow64Process/IsNow64Process/' setup_wm.exe
     w_set_winver 'default'

By default WINE associates lots of file types with Windows Media Player 9 when you install it. If that bothers you, here's how to disable them.

Related Issues:

winetricks not able to install dotnet >= 45
For anyone else having this problem a workaround is to run: The installer for .NET 4.0 will run firs...
winetricks need wmp9 to install on 64 bits Wine prefix
Sorry for not submitting a PR or something but I don't know anything about git and it's quick & dirt...
dxvk Pipeline cache
There's a working implementation in the dxvk-shader-cache-v2 branch Enable it by setting dxvk.useSta...
lutris [Ubuntu 18.04] ERROR: object '' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
I see the error online elsewhere but I only ever saw it on my machine after running Lutris My guess ...
mumble macOS Mojave: passing the null port to CGEventTapEnable() segfaults
This is because the accessibility access for Mumble gets disabled on upgrade Trying to run Mumble-1....
dxvk Resident Evil 2 remake stucks at the loading screen
Guys guys In RESIDENT EVIL 2 / BIOHAZARD RE:2 I can play the intro level (at the gas station) which ...
dxvk DXVK replaces dxgi.dll, what does it mean for vkd3d?
As of 1e393bf and using latest wine-git dxvk can be used with wine's DXGI DLL so that only d3d11.dll...
lutris Lutris - Unable to get runners
Hello I just wanted to say that runnign the following commands fixed my issue: So i have this strang...
dxvk Hellblade: Senua's Sacrifice crashes without DXVK_SHADER_OPTIMIZE=1
@60fpshacks @xpander69 It would be good if you isolate bad shader(s) and attach it (them) to be anal...
zsh completions zsh compinit: insecure directories and files, run compaudit for list.
So here is what I did I use oh-my-zsh and I has followed the document ...
nvm .nvmrc example?
If you're currently using the Node version you want for .nvmrc you can run this command: node -v > ....
nvm -bash: nvm: command not found
I had the same issue until I added the following lines to my .bash_profile Running terminal in Mac O...
nvm nvm install node fails to install on macOS Big Sur M1 Chip
For anything under v15 you will need to install node using Rosetta 2 You can do this by running the ...
zsh autosuggestions Maybe fix for slow pastes
Works for me Thanks again for your help For posterity: Howdy ...
pyenv WARNING: pyenv init - no longer sets PATH.
I saw the same message on an RH derivative Linux using bash 4.4.19 To resolve After running pyenv up...
pyenv unable to install python 3.8.0 on macox 11
Try to install brew reinstall zlib bzip2 and in the ~/.zshrc file add the following: in case you are...
pyenv Unable to build Python on macOS Big Sur with Xcode 12 beta
Thank you HomeBrew team for all the hard work you did to find the patch that python team is brewing ...
ohmyzsh compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew
Per #9602 (comment) brew cleanup fixed it for me I am using Apple M1 When I added this line: export ...
rbenv 'find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
Can you try with gem i bundler -v 1.17.3 and bundle i on your project directory? ...
nvm How to uninstall nvm?
@mibamur There is no need for such emphasis in your comments And it is probably better to use the $N...
pyenv Install failed, "zlib not available" on macOS Mojave
Solved it by running: sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_hea...
pyenv Python 3.6 cannot be installed on Mac OS 11.0.1
I solved this issue by the method provided by this blog Hi,Morning: First of all thank you very much...
psysh Not working after upgrading to PHP 7.3
May I know how do you open this file and drop in the code you mentioned? Thanks ...
nvm NVM is not compatible with the npm config "prefix" option warning (OS X)
nvm unalias default worked for me! Much appreciated @MwumLi 🍻 Split off from #855 ; see that issue ...
zsh autosuggestions Doesn't seem to work in oh-my-zsh at all
Crazy idea I found your issue thinking I had the same problem using antigen Just pulled and added to...
pyenv ImportError: No module named pyexpat
This worked for me: I got error on OS X 10.11.3 when I try to install v2.7.10 as following: python-b...
nvm NVM fails to load within nested shell
For me Operating system and version: macOS High Sierra 10.13.1 (17B48) nvm debug output: nvm ls outp...
screenFetch awk: fatal: cannot open file `proc/fb' for reading on Ubuntu 18.04 for Windows 10
Downlode the latest version from here wget -O screenfetch-dev Then sudo rm /usr...
pyenv pyenv install doesn't work with homebrew installed tcl-tk
Finally! After all of this When installing any version of python with pyenv I can't get tkinter to w...
nvm "nvm use" not persisting
nvm use isn't meant to persist - it's only for the lifetime of the shell Sorry I'm sure this is a du...
ohmyzsh how to enable username and hostname in the default theme?
In fact I finally found the solution for the problem I do want to stick with the default theme but I...
nvm nvm is not compatible with the "PREFIX" environment variable: currently set to "/usr/local"
No need to unset anything.. This behavior happens when you have more than 1 installation of npm/yarn...
ohmyzsh source ~/.zshrc error
@huangjihua @mcornella There are steps which helped me: zsh chsh -s $(which zsh) Logout from the sys...
ohmyzsh tab completion not working
For me there were no permission issues on my completion scripts so the above didn't fix my issue ...
zsh syntax highlighting Slowness when pasting commands with bracketed-paste-magic enabled; slowness with zle -U
Yes i used zstyle ':bracketed-paste-magic' active-widgets '.self-*' and it works like charm (instant...
pyenv Error 139 When Installing Python 3.6 on Fedora 34
You need to patch some Python 3.6 object allocation code to use 16 byte alignment It appears that th...
gitsome Command "python egg_info" failed with error code 1 in /tmp/pip-build-7SrToZ/gitsome/
I had the same problem on OSX and Solve my issue (I have both python versions installed). ...
ohmyzsh Zsh is not installed! Please install zsh first!
Well zsh is not there so it must not be installed sudo apt install zsh will do. ...
ohmyzsh rvm error after starting zsh
For me it is rm ~/.zcomp* I'm getting this error when opening new zshell: As suggested on other rela...
wslu Cannot create directory "//.cache": Permission denied
Hello Here an improved version Background Information: Build: 17763 WSL: Ubuntu 18.04.03 Version: ws...
nvm How to update npm?
nvm install-latest-npm Attempt to upgrade to the latest working npm on the current node version ...
nvm nvm prefix error appears in VS Code terminal only when default alias is present
I think i see the problem - you don't have a system node installed Operating system and version: Mac...
kaldi Is there any speaker diarization documentation and already trained model?
@iacoshoria the recipe is not bound to this dataset We are talking about making a diarization recipe...
ohmyzsh Warning: plugin cargo not found
Removing the comma at the end of git solved it for me thank you @mcornella ! Went from: to to fix it...
asdf Version command fails on macOS after first installation
I am having this issue as well using homebrew Steps to reproduce $ brew install asdf Follow instruct...
psysh Error: mkdir(): Permission denied
This error occurs because you switch user (guessing using su) without dash option ...
pyenv pyenv 1.2.6 osx 10.13.6 cannot install python 3.6.6
The only way I could get it working is through the below command Description Platform information: o...
asdf "No version is set" when version is set and returned by asdf current [ruby]
In relation to NodeJS my issue was the globally installed yarn was for node v10 and not v12 ...
rbenv yarn shim can't seem to find installed yarn
The yarn shim was added to rbenv because one of the Ruby versions has for some reason a yarn executa...
pyenv BUILD FAILED (OS X 11.0.1 using python-build 20180424)
I faced the same issue Installing XCode Command Line Tools 12.3 Beta helped but I cannot install Pyt...