Jump to content
Age of History Games
robotox1

How to play AoC2 on Linux

Recommended Posts

Unfortunately, AoC does not have official support for the Linux system, but running this game on this system is very easy.

1. Download AoC2 files from Steam.

a) You can do it from Windows to copy files to your Linux but you can also enable "PlayOnLinux" emulation on Steam to download AoC2 files.

Steam -> Settings -> SteamPlay -> "Enable Steam Play for all titles" and reload Steam.

MIB4v7F.png

 

b) Install game by Steam Client

 

2. Install Oracle Java (skip if you have installed)

To check your java, open terminal and put "java -version"

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)


 

Ubuntu/Debian
 

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt install oracle-java8-installer

sudo apt install oracle-java8-set-default

 

OpenSuse

Download Oracle Java: http://www.oracle.com/technetwork/java/javase/downloads/index.html

In the following commands replace VERSION for your version of downloaded file (for example 191)

tar -xf jdk-8uVERSION-linux-x64.tar.gz

or unpack by Ark
 

sudo chown -R root:root jdk1.8.0_VERSION

sudo mkdir -p /usr/local/java

sudo mv jdk1.8.0_VERSION /usr/local/java
sudo gedit /etc/profile

// OR nano OR vim OR your favorite text editor

-> Paste inside this file:

JAVA_HOME=/usr/local/java/jdk1.8.0_VERSION
JRE_HOME=$JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin

export JAVA_HOME
export JRE_HOME
export PATH

and save

sudo update-alternatives --install /usr/bin/java java /usr/local/java/jdk1.8.0_VERSION/bin/java 1

sudo update-alternatives --install /usr/bin/javac javac /usr/local/java/jdk1.8.0_VERSION/bin/javac 1

sudo update-alternatives --config java

and select jdk (not openJDK) - it should be the last one

source /etc/profile
java -version

should show

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Other Linux

Check the tutorials on the internet, because I can not write this point for all distributions

 

3. Run Age of Civilizations 2

Go to game directory (for example /home/user/.local/share/Steam/steamapps/common/Age of Civilizations II/) and open terminal.

java -jar AoC2.jar

The game should start without any emulator with a maximum FPS

Share this post


Link to post
Share on other sites

I use Linux too. I use arch Nice tutorial btw. Just a minor note: If you don't want to run the game with the command line, you can just run it by steam using proton, works perfectly. However, the Java method gives you better performance.

Edited by Chexier

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Tell a friend

    Love Age of History Games? Tell a friend!

  • Posts

×
×
  • Create New...