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

×
Hello fellow Linux gamers!

Here you’ll find scripts allowing you to build packages for Debian, Arch Linux and any derivative (Ubuntu, Manjaro, Linux Mint, etc.) from your GOG installers for Emperor: Rise of the Middle Kingdom.
You will then be able to easily install these packages with you favourite packages manager.

Download links and usage instructions can be found on the following page:
Emperor: Rise of the Middle Kingdom

I hope you’ll enjoy the ease-of-use provided by these scripts as much as I enjoy writing and tweaking them ;)

Here you go for more supported games!

-----

Salut camarades Linuxiens !

Vous trouverez ici des scripts vous permettant de construire des paquets pour Debian, Arch Linux ou n’importe quelle distribution dérivée de celles-ci (Ubuntu, Manjaro, Linux Mint, etc.) à partir de vos installeurs GOG pour Emperor: Rise of the Middle Kingdom.
Ces paquets pourront ensuite être installés facilement via votre gestionnaire de paquets habituel.

Les liens de télechargement et les instructions d’utilisation se trouvent sur la page suivante :
Emperor: Rise of the Middle Kingdom

J’espère que vous apprécierez le confort apporté par ces scripts autant que j’apprécie les écrire et les améliorer ;)

Pour plus de jeux, rendez-vous par ici !
Post edited October 01, 2017 by vv221
Update

Script updated to ./play.it 2.0
Arch Linux support added
avatar
vv221: Hello fellow Linux gamers!

Here you’ll find scripts allowing you to build packages for Debian, Arch Linux and any derivative (Ubuntu, Manjaro, Linux Mint, etc.) from your GOG installers for Emperor: Rise of the Middle Kingdom.
You will then be able to easily install these packages with you favourite packages manager.

Download links and usage instructions can be found on the following page:
Emperor: Rise of the Middle Kingdom

I hope you’ll enjoy the ease-of-use provided by these scripts as much as I enjoy writing and tweaking them ;)

Here you go for more supported games!

-----

Salut camarades Linuxiens !

Vous trouverez ici des scripts vous permettant de construire des paquets pour Debian, Arch Linux ou n’importe quelle distribution dérivée de celles-ci (Ubuntu, Manjaro, Linux Mint, etc.) à partir de vos installeurs GOG pour Emperor: Rise of the Middle Kingdom.
Ces paquets pourront ensuite être installés facilement via votre gestionnaire de paquets habituel.

Les liens de télechargement et les instructions d’utilisation se trouvent sur la page suivante :
Emperor: Rise of the Middle Kingdom

J’espère que vous apprécierez le confort apporté par ces scripts autant que j’apprécie les écrire et les améliorer ;)

Pour plus de jeux supportés, ça se passe par ici !
Hi, I just bought a copy of the game but failed to installed it since the package provided is for i386 processor architecture and I have amd64 architecture. Is there any fix to this problem?
avatar
sbayuaji: (…)
If you’re running a Debian-based distribution (like Ubuntu or Linux Mint), you need to run the two following commands as root to be able to install i386 packages:
dpkg --add-architecture i386
apt-get update
Update

Better handling of WINE dependency on Debian-based systems
Hi an thanks for your work.
I still have a problem concerning by 64bit system.

After package creation and installation when I execute the game the following error appears.

wine: WINEARCH set to win32 but '/home/XXXXX/.local/share/play.it/prefixes/emperor-rise-of-the-middle-kingdom' is a 64-bit installation.

I tried to execute dpkg --add-architecture i386 but it didn't seem to change anything.

Thanks if you have an idea :)

INFO: I am running wine 1.6.2
Post edited July 19, 2017 by seppuku
avatar
seppuku: (…)
What is the distribution you’re using? Debian Jessie?

Can you post here the result of the following command?
dpkg -l *wine*|grep ^ii
It should give us the list of WINE packages installed on your system, with their architecture and version.
avatar
seppuku: (…)
avatar
vv221: What is the distribution you’re using? Debian Jessie?

Can you post here the result of the following command?

dpkg -l *wine*|grep ^ii
avatar
vv221: It should give us the list of WINE packages installed on your system, with their architecture and version.
Hi, I use Ubuntu 16.04

Here are the results:

ii libwine-development:i386 1.9.6-1ubuntu1 i386 Windows API implementation - library
ii wine 1:1.6.2-0ubuntu14.2 amd64 Microsoft Windows Compatibility Layer (meta-package)
ii wine-development 1.9.6-1ubuntu1 all Windows API implementation - standard suite
ii wine-gecko2.21:amd64 2.21-0ubuntu1 amd64 Microsoft Windows compatibility layer (embedded web browser)
ii wine-gecko2.21:i386 2.21-0ubuntu1 i386 Microsoft Windows compatibility layer (embedded web browser)
ii wine-mono0.0.8 0.0.8-0ubuntu1 all Microsoft Windows compatibility layer (.NET compatibility)
ii wine1.6 1:1.6.2-0ubuntu14.2 amd64 Microsoft Windows Compatibility Layer (Binary Emulator and Library)
ii wine1.6-amd64 1:1.6.2-0ubuntu14.2 amd64 Microsoft Windows Compatibility Layer (64-bit support)
ii wine1.6-i386:i386 1:1.6.2-0ubuntu14.2 i386 Microsoft Windows Compatibility Layer (32-bit support)
ii wine32-development:i386 1.9.6-1ubuntu1 i386 Windows API implementation - 32-bit binary loader
ii winetricks 0.0+20141009+svn1208-2ubuntu1 all Microsoft Windows Compatibility Layer (winetricks)

seems like everything that should be there is in both architectures
avatar
seppuku: (…)
Everything seems good on your side, so I suspect we’re seeing some WINE bug here:
https://bugs.winehq.org/show_bug.cgi?id=29661

I will publish an update to the ./play.it library later today to work around this bug.

-----

Done!

Please tell me if the new version of libplayit2.sh fix this bug.

After re-building the packages with the new library and installing them, you will need to delete the existing prefix before running the game again:
rm --recursive ~/.local/share/play.it/prefixes/emperor-rise-of-the-middle-kingdom
Post edited July 20, 2017 by vv221
avatar
seppuku: (…)
avatar
vv221: Everything seems good on your side, so I suspect we’re seeing some WINE bug here:
https://bugs.winehq.org/show_bug.cgi?id=29661

I will publish an update to the ./play.it library later today to work around this bug.

-----

Done!

Please tell me if the new version of libplayit2.sh fix this bug.

After re-building the packages with the new library and installing them, you will need to delete the existing prefix before running the game again:

rm --recursive ~/.local/share/play.it/prefixes/emperor-rise-of-the-middle-kingdom
avatar
vv221:
Thank you so much, now it worked, what I also had to do was uninstall the 2 emperor-rise-of-the-middle-kingdom_1.0.1.0-gog2.0.0.2+20170616.2_i386 packages, then when I run apt-get install again he deinstalled wine:64 and installed wine:i386

To be frank I didn't understand everything that happened but it works now :)
Thanks again for your help.
Update

Emperor will run in a WINE virtual desktop on first launch, avoiding messed up display on GPU drivers with poor compatibility for low 4:3 resolutions.
This thread will no longer be updated, see this post on the general forums for more details: End of website maintenance