Forum latest

Windows Packages Winetricks and PlayOnLinux
Linux
Written by Booman   
Friday, 12 October 2012 00:00
Article Index
Windows Packages Winetricks and PlayOnLinux
fonts
Direct X 9 & 10
Dot NET Framework 1.1
Dot NET Framework 3.0
Dot NET Framework 3.5
Visual C 2005
Mono
All Pages

After installing Wine, PlayOnLinux and a few games, I started noticing some problems installing games and running them.  Turns out Windows Packages (sometimes known as Libraries) are critical for games to run.  Since Wine is mimicking the way Windows runs games we need to have the correct Packages for the Windows games to run.

Some examples are:

  • Direct X
  • Dot NET Framework
  • XNA
  • Flashplayer
  • Unityplayer

We won't need all of these packages ALL at once, but having the popular ones installed in our default .wine directory will be a good start.
This tutorial will walk you through Wine, Winetricks and PlayOnLinux step by step to get all these packages install correctly with Mint 13.

This configuration will act as a "Template" so we can create Virtual Drives in PlayOnLinux.

Then when we add the same Packages to our PlayOnLinux Virtual Drive it will be quick and easy.  I listed each package by their names and and grouped service packs with their respective package.  For example:  Dot NET Framework 2.0 is grouped with the Dot NET Framework 2.1 Service Pack.

This tutorial follows a specific order for installing packages, but I don't believe there is an exact order to get everything working.  For example:  if you try to install Dot NET Framework 3.5 first, it will automatically install Dot NET Framework 1.1, 2.0 and their respective service packs for you.  I prefer to do them one at a time so when there is an error, I can get it fixed before continuing to the next one.

Lets begin...

Winetricks Setup

Open Winetricks

Select the Default Wine Prefix

Click OK.

We'll start simple... Select Install a Font.


Click Ok

I selected all fonts below:

  • allfonts
  • consolas
  • corefonts
  • droid
  • liberation
  • lucidia
  • opensymbol
  • tahoma
  • takao
  • uff
  • unifont
  • wenquani

 


Click Ok

Wait as they download one by one and install into the Windows fonts folder.

When Winetricks is done installing it will default back to the "What would you like to do to this Wineprefix" menu

Note: all of the Windows Fonts, DLL's and components are downloaded to /home/username/.cache/winetricks folder. Its a good idea to back up this folder for future use WHEN you have to start over.


Direct X 9

Now its time to install a Windows DLL or component

Note: In PlayOnLinux they are known as "Packages"

Click: Install A Windows DLL or Component

Click OK.

Select:
d3dx9 MS d3dx9_??.dll from DirectX 9 Redistributable

Click OK.

The d3dx9 actually installs all the Directx 9 packages.

Wait while Winetricks downloads, extracts and installs the DirectX Binaries into the correct Windows directories.

After DirectX 9 installs, Winetricks will default back to the "What would you like to do to this Wineprefix" menu. There is NO confirmation that DirectX 9 installed correctly.

But the d3dx9 you selected will still be "checked" and all the Directx 9 packages below from 26 to 43.

This means it is already installed.

I was confused the first time this happend because I was waiting for a confirmation.

IF ITS CHECKED, ITS ALREADY INSTALLED

Note: all of the Windows Fonts, DLL's and components are downloaded to /home/username/.cache/winetricks folder. Its a good idea to back up this folder for future use WHEN you have to start over.

Direct X 10

Click: A Windows DLL or Component

Click Ok

Its as simple as Direct X 9

It downloads and there are no installation pop-ups.

Thats it... NO Confirmation just a "checked" d3dx10


Dot NET Framework 1.1 & Service Pack 1

Open Winetricks

Click: A Windows DLL or Component

Click OK.

Select dotnet11 & dotnet11sp1

Click OK.

Winetricks will automatically download the dotnetfx.exe

Winetricks will also download the necessary fonts

Note: if you already have all of these fonts installed in Wine, there may be an error

Install .NET Framework 1.1 Package

Click Yes.

License Agreement.

Click I agree

Installing Components

Confirmation (YES!!!)

Click Ok

 


 

Dot NET Framework 2.0

Open Winetricks

Click: A Windows DLL or Component

Click Ok

Select dotnet20

Click Ok

There will be a notification that you need to download dotnetfx.exe

Winetricks will automatically open up the /home/username/.cache/winetricks/dotnet20 folder

Then it will automatically open up your internet browser to the cnet page where you can download the dotnetfx.exe file.

When you click download it defaults to your "Downloads" folder, but that isn't where you are supposed to save it.

Save it in /home/username/.cache/winetricks/dotnet20

Note:  username is where you put your Mint 13 login

(hence winetricks opened the folder for you)

It is a quick download and you will see dotnetfx.exe in your dotnet20 folder

Click Ok on the notification and then Winetricks closes.

Go to Winetricks again

Click: A Windows DLL or Component

Select dotnet20 again

Click Ok

Working around wine bug

Click Ok

Extracting

Setup

Click Next

End-User License Agreement

Click "I accept the terms..."

Click Install

Setup

Installing

Setup Complete (Confirmation YES!!!)

 


 

Dot NET Framework 3.0

Open Winetricks

Click: A Windows DLL or Component

Click Ok

Select dotnet30

Click Ok

A warning will pop up

Click Ok

Another warning about download/installation time

Click Ok

There will be a notification that you need to download netframework3.exe

Winetricks will automatically open up the /home/username/.cache/winetricks/dotnet30 folder

Then it will automatically open up your internet browser to the oldversion.com page where you can download the netframework3.exe file.

When you click download it defaults to your "Downloads" folder, but that isn't where you are supposed to save it.

Save it in /home/username/.cache/winetricks/dotnet30

Note:  username is where you put your Mint 13 login

(hence winetricks opened the folder for you)

It is a 50MB download and you will see netframework3.exe in your dotnet30 folder

Click Ok on the notification and then Winetricks closes.

Go to Winetricks again

Click: A Windows DLL or Component

Select dotnet30 again

Click Ok

Warning again

Click Ok

Working around bug warning

Click Ok

Extracting Files

Setup

Check: "I have read and ACCEPT"

Click Install

Right click the Icon at bottom right of screen

Select: View Details

Installation Progress

Setup Complete (Confirmation Again YES!!!)

Click Exit

 


 

Dot NET Framework 3.5

Note:  I have not been able to get this to install without errors, but it seems to install anyways. Its very difficult to confirm if Dot NET Framework 5.5 is actually installed.

Open Winetricks

Click: A Windows DLL or Component

Click Ok

Select dotnet3.5

Click Ok

Warning

Working around wine bug 16956...

If you don't have Dot NET Framework 2.0 Service Pack 1 yet, it will automatically download and install it for you.  Apparently 3.5 requires it.

Downloading NetFx20SP1_x86.exe

Net Framework 2.0 sp1 setup

Accept license agreement

Click Install

Installing

Confirmation (YES!!!)

Click Exit

Restart Windows

Click Restart Now

Wait a few seconds for Winetricks to startup again

Note:  If for any reason Winetricks doesn't automatically start downloading, just run it again and select dotnet35 and click Ok.

Downloading dotnetfx35.exe

Setup

First Error

Click Ok

Completed but MSBuild.exe not found

Click Ok

Navigate to your /home/username/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/

Note:  username is where you put your Mint 13 login.

Search the NET Framework v2.0.50727 folder for that MSBuild.exe
If you can't find it there, check some of the other folders.

Copy the MSBuild.exe file
Go back one folder to Framework/

Right-click

Create New Folder

Name it:  v3.5

Paste MSBuild.exe

Start over with Winetricks and select dotnet35 again

Click Ok

You might get another "File not found" error for a logo.bmp
Click Ok

Navigate to your /home/username/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v3.5

Right-click

Create New Folder

Name it:  Microsoft.NET Framework 3.0

Open it

Right-click

Create New Document - Empty Document

Name it:  logo.bmp

Start over with Winetricks and select dotnet35 again

I never got a final confirmation!!!

You can also try installing it with PlayOnLinux from the Install packages tab...

Run PlayOnLInux

Select your Virtual Drive (prefferably your default)

Select Install packages tab

Select dotnet35

Please wait...


Is it working???

You may get one of the above "File Not Found" errors if you didn't allready do the previous steps.

Of course NO CONFIRMATION...

 


 

Visual C

Open Winetricks

Click: A Windows DLL or Component

Click Ok

Select: vcrun2005

Click OK

Downloading

License agreement

Click Yes

No Confirmation, Winetricks will go right back to the wineprefix screen.

If vcrun2005 is "checked" then its installed.

 


 

 

Mono 2.10 (.NET compatability)

Mono is an alternative to Dot NET Framework, there is no guarantee that it will work.
I recommend installing Dot NET Frameworks first before trying Mono.

Note:  There are more versions of Mono that are NOT included in Winetricks.  You will have to install them with PlayOnLinux from the "Install Packages" tab.

Open Winetricks

Click: A Windows DLL or Component

Click Ok

Select Mono 2.10 (.NET compatability)

Click OK

This may take a few minutes depending on your internet speed.

Mono Setup

Click Next

License Agreement

Click I accept the agreement

Click Next

Installation Information

Click Next

Select Desitnation

Click Next

Which components should be installed? Who knows... Mono is some kind of Dot NET Framework compatibilitiy tool.. so leave everything checked.

Click Next

Start Menu Shortcut

Click Next

XSP port

Leave the default 8080 port

Click Next

Ready to Install

Click Install

Extracting & Installing

Confirmation of Mono installation

Click Finish

 

Comments & Questions...

 
Don't Click Here Don't Click Here Either