Steam Wine

Questions about Wine on Linux
Locked
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Steam Wine

Post by HortonX25 »

I'm attempting to run Age Of Empires II HD via steam through Wine.

I can get the Steam thing up, however, I cannot seem to launch the game.

Is it possible to run AoE II HD on wine? The original AoE II appears to work.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Wine version? If it's not 1.8, upgrade.

The most recent two test reports in the AppDB say you have to delete Launcher.exe and rename Aoe2HD.exe to Launcher.exe. https://appdb.winehq.org/objectManager. ... ngId=90138
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

wine-1.6.2

Any information on ho upgrading is done? I can find info on how to install, but not on actual upgrades to Wine.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Assuming the version you have now was installed through your package manager, upgrade through your package manager.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

Synaptic package manager is showing 1.6 as the latest version of wine.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

You need to add the appropriate repository. viewtopic.php?f=8&t=25767
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

After going through with this, I got this
bash: wine: command not found
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

HortonX25 wrote:After going through with this, I got this
bash: wine: command not found
What exactly is "this"? Please describe everything you did. Also, what distro are you on?
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

dimesio wrote: What exactly is "this"? Please describe everything you did.
Commands listed here:

Code: Select all

sudo dpkg --add-architecture i386
wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
deb https://dl.winehq.org/wine-builds/debian/ jessie main to sources.list
sudo apt-get update
sudo apt-get install winehq-devel

Then tried Wine --version, got the same version. This resulted in me trying sudo apt-get remove wine and then sudo apt-get install to see if it installed the new wine 1.8. Instead I got this.

Code: Select all

The following packages have unmet dependencies:
 wine-devel : Depends: wine-devel-amd64 (= 1.8.0~jessie) but it is not going to be installed
              Depends: wine-devel-i386 (= 1.8.0~jessie)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Also, what distro are you on?
I'm currently on Debian Jessie. uname -a returns the following

Code: Select all

Linux Computer 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u2 (2015-07-17) x86_64 GNU/Linux
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Now that you've added the repository, try installing through Synaptic, which (I've heard) does a better job of resolving dependency problems.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

It's still as 1.6 on the package manager. Attempting to install that sets the 1.8 Devel to be removed.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Try purging all versions of Wine from your system, then installing the WineHQ package. I have a feeling there's a dependency conflict between the WineHQ packages and the distro ones.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

Removing has this pop up

Code: Select all

 wine-devel : Depends: wine-devel-amd64 (= 1.8.0~jessie) but it is not installed
              Depends: wine-devel-i386 (= 1.8.0~jessie)
Is this anything I need to be aware of?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Did you try the command apt-get suggested earlier?

Code: Select all

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
If you haven't, try that.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

Code: Select all


After this operation, 301 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://dl.winehq.org/wine-builds/debian/ jessie/main wine-devel-amd64 amd64 1.8.0~jessie
  404  Not Found
Err http://dl.winehq.org/wine-builds/debian/ jessie/main wine-devel-i386 i386 1.8.0~jessie
  404  Not Found
E: Failed to fetch http://dl.winehq.org/wine-builds/debian/pool/main/w/wine-devel/wine-devel-amd64_1.8.0~jessie_amd64.deb  404  Not Found

E: Failed to fetch http://dl.winehq.org/wine-builds/debian/pool/main/w/wine-devel/wine-devel-i386_1.8.0~jessie_i386.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?



User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

The 1.9.0 packages are out now, so that's why you're getting the 404 not found message for 1.8.0. Try running

Code: Select all

sudo apt-get update
sudo apt-get install winehq-devel
again.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

Code: Select all

After this operation, 63.5 kB of additional disk space will be used.
(Reading database ... 157618 files and directories currently installed.)
Preparing to unpack .../winehq-devel_1.9.0~jessie_amd64.deb ...
Unpacking winehq-devel (1.9.0~jessie) ...
dpkg: error processing archive /var/cache/apt/archives/winehq-devel_1.9.0~jessie_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/winehq-devel_1.9.0~jessie_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

HortonX25 wrote:

Code: Select all

dpkg: error processing archive /var/cache/apt/archives/winehq-devel_1.9.0~jessie_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
I thought you purged all distro Wine packages? Please uninstall that package, any other distro Wine packages, and any packages that depend on those packages.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

Running auto remove and then sudo apt-get install winehq-devel gets me

The following packages have unmet dependencies:
winehq-devel : Depends: wine-devel (= 1.9.0~jessie)
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Try running sudo apt-get update and then sudo apt-get install winehq-devel.
HortonX25
Level 2
Level 2
Posts: 11
Joined: Fri Dec 25, 2015 7:54 am

Re: Steam Wine

Post by HortonX25 »

Attempted, got this.

Code: Select all

horton@Computer:~$ sudo apt-get install winehq-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 1.9.0~jessie)
E: Unable to correct problems, you have held broken packages.


Then tried this

Code: Select all

horton@Computer:~$ sudo apt-get install wine-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-devel : Depends: wine-devel-i386 (= 1.9.0~jessie)
E: Unable to correct problems, you have held broken packages.
Then this

Code: Select all

horton@Computer:~$ sudo apt-get install wine-devel-i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-devel-i386:i386 : Depends: libpcap0.8:i386 (>= 0.9.8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Steam Wine

Post by dimesio »

Code: Select all

The following packages have unmet dependencies:
 wine-devel-i386:i386 : Depends: libpcap0.8:i386 (>= 0.9.8) but it is not going to be installed
So install whatever package provides libpcap0.8:i386. If apt-get complains about other missing dependencies, install those, too. If you're not sure which package(s) to install, ask on the Debian forum; I don't use Debian, so I can't really help you with figuring out which package provides what dependency.
Locked