Windows media player wine

Windows Media Player has actually always been my preferred choice for managing my music library. It’s simple, it has a decent amount of functionality, it can handle most formats that I use regularly, and it looks pretty nice. I’d like to be able to use it on my modern Kubuntu desktop computer, but it seems there are a number of pitfalls when getting it to work with Wine. This page documents my experimentation and research for this.

WMP10 Walkthrough

Strangely, the most useful resource I found on this was this YouTube video detailing how to get Windows Media Player 10 to work with Wine. To avoid having to scrub through the rather tedious video, the process is as follows:

  1. Install PlayOnLinux, which although targeted towards getting Windows games running on Linux, is a useful Wine prefix manager for your system. You can set up specific versions of wine under specific prefixes, which is exactly what we want for the super-custom WMP environment.
  2. Go to Tools -> Manage Wine Versions, and under the x86 versions, install 3.0.4. This specific version is, for some reason, the only one that supports WMP.
  3. Go to Configure and click New in the bottom left. Create a new 32-bit virtual drive using Wine 3.0.4. Name it whatever you like (I’ll assume from here on that it’s called WMP).
  4. Once created, select the virtual drive in the configuration window, go to the Wine tab and choose Configure Wine.
  5. In the Wine configuration window, go to the Applications tab and for Default Settings, set the Windows version to be Windows XP. Next, choose Add Application, type wmplayer.exe into the name box in the file chooser, click Open, and set the Windows version for this to be Windows XP as well. Both of these steps are required, as the default setting will need to be modified later as part of the install process. Keep the configuration window open — we’ll return to it in a second.
  6. Download jscript.dll, urlmon.dll, devenum.dll and quartz.dll. Rename all of these DLLs to be lowercase if they are not already. Go to the Wine prefix for the virtual drive you set up earlier (usually ~/PlayOnLinux's virtual drives/WMP), navigate to drive_c/windows/system32, and paste the four aforementioned DLLs into this folder, overwriting any existing DLLs.
  7. Go back to the Wine configuration window that was opened in step 5. In the Applications tab, select Default Settings. Then go to the Libraries tab, and in the New override for library dropdown box, type urlmon and then click Add. This adds the urlmon DLL override for all applications.
  8. Switch to the Applications tab, select wmplayer.exe, and then switch back to the Libraries tab again. This time, type quartz into the dropdown and click Add, and then type devenum and click Add. This adds overrides for the quartz and devenum DLLs specifically for Windows Media Player.
  9. Assuming wmplayer.exe is still selected in the Applications tab, go to the Graphics tab and deselect the tick box for Allow the window manager to control the windows. This means that Windows Media Player itself can take control for full-screen playback.
  10. Click Apply in the Wine configuration window, but don’t close it — we’ll come back to it again later.
  11. Back in the PlayOnLinux configuration window that was opened in step 3, under the Wine tab, click Command prompt. In the command prompt that opens, execute regsvr32 jscript.dll. This should bring up a success message reporting that the DLL was successfully registered. Close the command prompt.
  12. In the PlayOnLinux configuration window, go to the Miscellaneous tab and click Run a Windows executable (.exe) in this virtual drive. This is where we install Windows Media Player itself. In the file browser that appears, select your WMP installer executable, and this should bring up the install wizard. Click through the stages and allow it to complete. TODO: It’d be useful if we linked to a WMP10 installer here, but I can’t seem to find the one I used…
  13. Once installed, Windows Media Player will appear in a very broken-looking state. To close it, you can click on the Windows logo in the top left, and then choose File -> Exit. The next few steps will fix the player.
  14. In the Wine configuration window that you left open in step 10, go to the Applications tab and choose Default Settings. Change the Windows version in the dropdown to Windows 2000.
  15. Download the Windows Media Encoder 9 installer. In the PlayOnLinux configuration window, under the Miscellaneous tab, click Run a Windows executable (.exe) in this virtual drive and select this installer executable. Click through the installer and allow it to complete.
  16. Next, in the PlayOnLinux configuration window, go to the Install Components tab and install Microsoft Core Fonts, wmpcodecs, and wmp10. Note that some downloads don’t seem to work — the video says it’s OK, and just to continue regardless and allow whichever installers you download successfully to run. It might be worth seeing whether we can obtain other copies of the installers that are downloaded here — from the video, PlayOnLinux is looking for http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe. PlayOnLinux itself looks for https://web.archive.org/web/20121003223319/http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe when I try to install this component, and then says the files do not match.
  17. Finally, create a shortcut by going to the General tab in the PlayOnLinux configuration window, clicking Make a new shortcut from this virtual drive, and choosing wmplayer.exe.

WMP10 FLAC support

TODO: Follow https://web.archive.org/web/20121014125642/http://www.hack7mc.com/2009/01/playing-flac-files-in-media-center.html and write up here.

The process for WMP11 starts off the same, but at step 12 the installer will get stuck as it is not able to verify that the install of Windows is genuine. If the Validate button in the installer greys out when clicked and never becomes active again, cancel and re-run the installer: at this point it will say that the copy of Windows is not genuine.

To fix this, I followed the instructions presented here: select Default settings in the Wine configuration window’s Applications tab, and set the Windows version to be Windows 2003. Then at the EULA screen in the installer, before accepting the EULA, switch the Windows version back to Windows XP. Once it reaches its end, the installer will say that it failed to install WMP, but according to the aforementioned instructions, this doesn’t matter.

Unfortunately, I never got WMP11 to run acceptably — it always looked graphically mutilated and did not respond to input. Another avenue to explore might be to check newer Wine versions and see if it works there.

To install WMP11, you’ll need ‘cabextract’ and the WMP11 installer. Also make sure your wine version is set to XP.

sudo apt-get install cabextract

  1. Open a terminal and type:

    cabextract "/location/to/WMP11/installer.exe" -d $HOME/WMP11
    

    (Obviously, you’ll have to write the real path/location to WMP11 file)

  2. Change to the new created dir:

    cd $HOME/WMP11
    
  3. Install WMP11 codecs:

    wine wmfdist11  
    

    (You’ll have to press Ctrl+C (on terminal) after it finishes installing)

    wine wmp11
    

    (Also press Ctrl+C after it finishes)

  4. Set Wine version to 2003 and run WMP11

    It will pass the genuine check but it will crash. You’ll have to kill the process (open the ‘System Monitor’ and kill setup_wm.exe)

  5. Run WMP11 again and click continue.

    Now WMP11 starts, although you can barely see it. To fix it click on ‘File’, press right and select ‘Mask Mode’.

There you go. WMP11 is installed and running.

reference here

But according to Wine HQ windows media player is rated as garbage

For further reference here

I might be missing something, but you should be able to install those through winetricks

I can never keep track of exactly which windows components are most common, so I’ve bookmarked this page. How to install and configure Wine?

Tags:

Wine

Playonlinux

Related

Loading…

Why am I seeing this?

You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.

Anubis is a compromise. Anubis uses a Proof-of-Work scheme in the vein of Hashcash, a proposed proof-of-work scheme for reducing email spam. The idea is that at individual scales the additional load is ignorable, but at mass scraper levels it adds up and makes scraping much more expensive.

Ultimately, this is a hack whose real purpose is to give a «good enough» placeholder solution so that more time can be spent on fingerprinting and identifying headless browsers (EG: via how they do font rendering) so that the challenge proof of work page doesn’t need to be presented to users that are much more likely to be legitimate.

Please note that Anubis requires the use of modern JavaScript features that plugins like JShelter will disable. Please disable JShelter or other such plugins for this domain.

...

Install the Windows Media Player in Linux

Linux is an operating system that is slowly but surely taking the computer world by storm. Designed by a tight-knit community of developers, Linux is completely free and 100 percent legal. Every program you would use on another operating system has a free and worthwhile equivalent in Linux. By installing a program called WINE, you can also use any program you would have used in Windows in Linux. Use this article as a guide as you install the Windows Media Player in Linux.

Step 1

Install WINE. WINE is a utility that emulates the Windows operating system inside Linux. What this means is that the program tricks your computer into thinking it is running Windows so that it can install and use Windows-specific programs. To download and install WINE, select «Add/Remove» from the «Applications» menu and type «WINE» into the box that appears. Check the box next to «Wine» in the menu and select «OK» to download and install the program.

Step 2

Download the Windows Media Player installation file. This is one executable file that, when run, installs all necessary system files to your computer. You can download this file by selecting the «Download» link from http://www.microsoft.com/windows/WindowsMedia.

Step 3

Execute the Windows Media Player installation file. Normally, Linux wouldn’t know what to do with a file with an .exe extension, as that is not a Linux file format. However, now that WINE is installed, Linux will know to automatically open the Windows Media Player .exe file with WINE once selected. Simply follow the onscreen instructions in order to complete the installation.

Wine Review published a guide about setting up Windows Media Player 9 & 10 on Linux with Wine

I’m aware there are many open source multimedia tools that will play most audio and video formats on Linux these days but many people have come to like Windows Media player over the years. And while Xine and Mplayer will play most .WMV .WMA files, both of these players use Windows codecs that are copied into your /usr/lib/win32 directory. So if your currently happy using the closed source Windows Media codecs why not use the player as well.

Windows Media Player 9 & 10 on Linux with Wine

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Невозможно создать учетную запись в windows 10
  • Как полностью отключить антивирус microsoft defender в windows 11
  • Красивый рабочий стол для windows 10 картинки
  • Как удалить угрозы из журнала защитник windows 10
  • Как отключить эхо в наушниках на windows 11