It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

/!\: This thread is not kept up-to-date anymore, please go to the following one to get the latest links and instructions, or for any kind of feedback on the scripts:
[./] Install Zeus: Master of Olympus on Linux



This guide will help you to build packages for your distribution from the GOG installer.

The scripts used in this guide make use of unzip, wine (>= 1.5.9), wrestool and icotool.

1. Making packages

This first script will create a folder named "zeus-data" containing all data needed to run Zeus. You'll have to change the value of ZEUS_SETUP to the path to GOG installer :

export ZEUS_SETUP="/path/to/setup_zeus_*.exe"
export WINEARCH=wine32
export WINEDEBUG=-all
mkdir $HOME/zeus-data
cd $HOME/zeus-data
mkdir install-prefix
export WINEPREFIX=$HOME/zeus-data/install-prefix
wineboot --init
mkdir -p usr/local/games
cd install-prefix/dosdevices
rm *
ln -s ../drive_c c\:
ln -s ../../usr/local/games d\:
cd d\:
cp "$ZEUS_SETUP" .
wine "$(basename "$ZEUS_SETUP")"
cd zeus
wrestool -t 14 -x Zeus.exe | icotool -x -
mkdir -p ../../share/icons/hicolor/16x16/apps ../../share/icons/hicolor/32x32/apps
mv *16x16x4.png ../../share/icons/hicolor/16x16/apps/zeus.png
mv *32x32x8.png ../../share/icons/hicolor/32x32/apps/zeus.png
rm *.png
cd $HOME/zeus-data
rm -Rf "usr/local/games/$(basename "$ZEUS_SETUP")" install-prefix
In the installer, click "Options" and untick anything but "Zeus" (and EULA of course (no desktop icons and stuff)) and set the path to "D:\zeus".

/!\ Don't launch the game at the end of the installation. Click "Exit". /!\

This second script will create the launchers allowing you to play Zeus on Linux :

mkdir -p $HOME/zeus/usr/local/bin
cd $HOME/zeus/usr/local/bin
echo "
export WINEDEBUG=-all
export WINEPREFIX=\$HOME/.zeus/.wine-prefix
mkdir -p \$HOME/.zeus/.wine-prefix
export WINEARCH=win32
wineboot --init
cd \$HOME/.zeus/.wine-prefix/dosdevices/
rm *
ln -s ../drive_c c\:
mkdir \$HOME/.zeus/.wine-prefix/dosdevices/d\:
ln -s \$HOME/.zeus \$HOME/.zeus/.wine-prefix/dosdevices/d\:/zeus
cd \$HOME/.zeus/
ln -s /usr/local/games/zeus/* .
rm Zeus.ini
cp /usr/local/games/zeus/Zeus.ini ." > zeus-init
echo "
export WINEDEBUG=-all
export WINEPREFIX=\$HOME/.zeus/.wine-prefix
if ! [ -d ~/.zeus ]; then
sh /usr/local/bin/zeus-init
cd \$HOME/.zeus/.wine-prefix/dosdevices/d\:/zeus
wine Zeus.exe" > zeus
chmod a+x *
cd ..
mkdir -p share/applications
echo "[Desktop Entry]
Name=Zeus + Poseidon
Categories=Application;Game;" > share/applications/zeus.desktop
2. Building the packages

As for now there are scripts only for .deb packages (Debian, Ubuntu, Linux Mint...).
More may come later as I learn how to do it (or sooner if you know how to package in other formats and post the method here).

.deb packages

cd $HOME/zeus-data
mkdir DEBIAN
echo "Package: zeus-data
Version: 1
Section: non-free
Priority: extra
Architecture: all
Installed-Size: 789116
Maintainer: local build
Description: Zeus + Poseidon - data" > DEBIAN/control
cd $HOME
fakeroot dpkg-deb --build zeus-data/
rm -Rf zeus-data/
This first build might take a long time, the package is around 770M.

cd $HOME/zeus
mkdir DEBIAN
echo "Package: zeus
Version: 1
Section: contrib
Priority: extra
Architecture: all
Depends: zeus-data, wine | wine-unstable | wine:i386 | wine-unstable:i386
Installed-Size: 36
Maintainer: local build
Description: Zeus + Poseidon - binaries" > DEBIAN/control
cd $HOME
fakeroot dpkg-deb --build zeus/
rm -Rf zeus/
You can install the resulting packages by launching (as root) :

dpkg -i zeus-data.deb
dpkg -i zeus.deb
apt-get install -f


Please tell me if something doesn't work on your distribution.
Post edited July 07, 2019 by vv221