Skip to content

Instantly share code, notes, and snippets.

@joshuakraemer
Last active July 11, 2024 15:37
Show Gist options
  • Save joshuakraemer/fb794625af08f076d0d283f5d6ba7562 to your computer and use it in GitHub Desktop.
Save joshuakraemer/fb794625af08f076d0d283f5d6ba7562 to your computer and use it in GitHub Desktop.
How to install Windows Media Player 11 to a Proton prefix
  1. Download Windows Media Player 11, 64 bit (wmp11-windowsxp-x64-enu.exe):
    $ cd /tmp/
    $ curl -O https://web.archive.org/web/20190512112704/https://download.microsoft.com/download/3/0/8/3080C52C-2517-43DE-BDB4-B7EAFD88F084/wmp11-windowsxp-x64-enu.exe
  2. Extract the archive:
    $ cabextract wmp11-windowsxp-x64-enu.exe -d wmp11
  3. Run and close the game through Steam. A Proton prefix is created on the first run.
  4. Go to the game's folder inside Steam's compatdata folder:
    $ cd $HOME/.local/share/Steam/steamapps/compatdata/287290
  5. Set prefix to Windows XP:
    $ WINEPREFIX=$PWD/pfx wine winecfg
    Chose "Windows XP" in the drop-down menu and click "OK"
  6. Install Windows Media Player:
    $ WINEPREFIX=$PWD/pfx wine /tmp/wmp11/wmfdist11-64.exe
    Press Ctrl+C when the installer has finished
    $ WINEPREFIX=$PWD/pfx wine wineboot
    $ WINEPREFIX=$PWD/pfx wine /tmp/wmp11/wmp11-64.exe
    Press Ctrl+C when the installer has finished
    $ WINEPREFIX=$PWD/pfx wine wineboot
  7. Set prefix back to Windows 7:
    $ WINEPREFIX=$PWD/pfx wine winecfg
    Chose "Windows 7" in the drop-down menu and click "OK"
@edave64
Copy link

edave64 commented Nov 18, 2021

The URL is down

@Zlywilk
Copy link

Zlywilk commented Nov 20, 2021

@joshuakraemer
Copy link
Author

@Zlywilk, your link does not work.

I have changed the URL to the Internet Archive (which is quite slow, though).

The file's sha-256 hash is 5af407cf336849aff435044ec28f066dd523bbdc22d1ce7aaddb5263084f5526.

@hollowknut
Copy link

OS: Ubuntu
Wine version: 5.0
Having some issues changing the prefix. When I try to change the prefix to XP it returns the following errors.

0014:err:module:map_image Could not map section .reloc, file probably truncated
0014:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\MountMgr": c0000142
001a:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\NDIS": 00000001
0024:err:module:map_image Could not map section .rsrc, file probably truncated
0024:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\winebus": c0000142
0029:err:module:map_image Could not map section .rsrc, file probably truncated
0029:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\wineusb": c0000142
000b:err:module:map_image Could not map section .rsrc, file probably truncated
000b:err:module:DelayLoadFailureHook failed to delay load shell32.dll.SHGetFolderPathW
wine: Call from 0x7b02dae6 to unimplemented function shell32.dll.SHGetFolderPathW, aborting
wine: Unimplemented function shell32.dll.SHGetFolderPathW called at address 000000007B02DAE6 (thread 000b), starting debugger...
0009:err:module:map_image Could not map section .rsrc, file probably truncated
0034:err:environ:run_wineboot boot event wait timed out
0034:err:module:map_image Could not map section .rsrc, file probably truncated
0034:err:module:__wine_process_init L"C:\windows\system32\winecfg.exe" not supported on this system

@lwvmobile
Copy link

Thanks a million, this got Resident Evil 5 up and running for me, along with the unofficial patch and disabling GfWL garbage. WMP install in protontricks is currently busted it seems, but this solution worked just fine the first time, just had to swap the steamid to the appropriate one (21690)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment