Skip to content

Instantly share code, notes, and snippets.

@vespakoen
Created April 21, 2015 22:03
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save vespakoen/b6825baefd9604bf5dd4 to your computer and use it in GitHub Desktop.
Save vespakoen/b6825baefd9604bf5dd4 to your computer and use it in GitHub Desktop.
install steam & age of empires 2 HD on ubuntu 14.04
# install wine 1.7
add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
# download steam
curl -o ~/Downloads/SteamSetup.exe http://media.steampowered.com/client/installer/SteamSetup.exe
# install some tricks
winetricks vcrun2010
winetricks d3dx9_43
winetricks xact
# install steam
wine ~/Downloads/SteamSetup.exe -no-dwrite
# run steam with -no-dwrite so it will show fonts
wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite
# !!!!!!!!!!! INSTALL AGE OF EMPIRES VIA STEAM HERE !!!!!!!!!!!1
cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/Age2HD/
# backup the old launcher
mv Launcher.exe Launcher.bak
# move age of empires exe there instead
mv AoK\ HD.exe Launcher.exe
# rename _CommonRedist to stop installation of directx / vcrun on startup
mv _CommonRedist _CommonRedistOld
# PLAY!
@firestorm23
Copy link

When I try 'winetricks', it says
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message
What am I doing wrong?

@anaibol
Copy link

anaibol commented Aug 27, 2017

Thank you @vespakoen!

@brando90
Copy link

does this work on all ubuntu's?

Copy link

ghost commented Jan 2, 2018

It Worked for me, on Ubuntu 16.04.3 LTS (Xenial Xerus)

@nmolanog
Copy link

Can you update this? ppa:ubuntu-wine/ppa is deprecated

Package wine1.7 is a virtual package provided by:
winehq-staging 2.21.0xenial
winehq-stable 3.0.0
xenial
winehq-devel 3.0rc6xenial
You should explicitly select one to install.

Thanks

@bozeyman9000
Copy link

sudo apt-get install wine1.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine1.7 is a virtual package provided by:
winehq-staging 2.21.0xenial
winehq-stable 3.0.0
xenial
winehq-devel 3.5.0~xenial
You should explicitly select one to install.

E: Package 'wine1.7' has no installation candidate

This is step I am stuck on... Any advice is welcome, ill post results with my hit and misses

@bozeyman9000
Copy link

Update:

FAIL

@bozeyman9000
Copy link

I have a hunch I am going to need to install DLL or other components from the wine menu

@giordanolima
Copy link

After installing Steam, I received the message that the content servers were unavailable. To adjust I edited the file drive_c / Program Files / Steam / config / config.vdf and I added, just after the "cip" and "CM" directives (everything in the same line):
"CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"

@Rhevin
Copy link

Rhevin commented Jul 26, 2018

you also need to install cabextract to make this run successfully if you're using arch or manjaro 😄

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