Jump to content
  • Sign Up
  • 0
Sign in to follow this  

[Linux] Turn your GOG .tar.gz archive into a .deb package


Hello fellow Debianists, Ubunteros and Mint fanatics!


I’m here to present you a way to convert the .tar.gz archive sold by GOG.com into .deb packages that can be natively installed on your distribution throught tools like DPKG, and removed through APT (synaptic, apt-get, aptitude, etc.). The building process is done through a shell script that should work "out-of-the-box" on any Debian-based distribution.


So, here are the scripts:


version 1.06, GOG release, French version: http://www.dotslashplay.it/scripts/fr/play-pillars-of-eternity_gog-

version 1.06, GOG release, English version: http://www.dotslashplay.it/scripts/en/play-pillars-of-eternity_gog-

(updated on 2015-06-04)


old versions of the scripts are kept online in case you need them (if you want to convert an old archive):

French versions: http://www.dotslashplay.it/scripts/fr/

English versions: http://www.dotslashplay.it/scripts/en/


Choose the one corresponding to your version of the game, the language is just the language used by the script, and has no effect on your game language.


Now, how to use it?

1. Download the script, and place it in the same directory than the game archive (gog_pillars_of_eternity_1.4.0.6.tar.gz).

If you own some GOG DLC (gog_pillars_of_eternity_dlc1_1.0.0.1.tar.gz, gog_pillars_of_eternity_dlc2_1.0.0.1.tar.gz and/or gog_pillars_of_eternity_dlc3_1.0.0.1.tar.gz), put them in the same directory;

2. Run the script via sh:

sh ./play-pillars-of-eternity_gog-
3. Everything beside this point is automated. Just wait a dozen minutes, and the script will end by giving you the command to run as root to install the freshly built .deb packages.

4. Enjoy the rebirth of old-school RPG on your favourite GNU/Linux distribution!




Feedback of all kind is welcome here, positive as well as negative, feature requests will be listened to and worked on as much as possible.




Advanced usage

Edited by vv221
  • Like 1

Share this post

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

/!\ This thread is now obsolete, here you go for up-to-date instructions:

Install PoE & extensions on Debian/Ubuntu/Mint/etc.




The scripts proposed here accept some options to tweak the state of the final package. I’ll describe them here, with the following format:



First thing is not an option per se. If you renamed your installer, or don’t want to copy/move it in the same directory than the script, you can run the script by giving it the path to the installer. If you own some GOG DLC, they will be automatically found as long as they are in the same directory than the archive and they have not been renamed.

sh ./play-pillars-of-eternity_gog- "/home/watcher/GOG Games/PoE-1.06.tar.gz"

PREFIX=/usr/local,any absolute path

You can use this option to install the game in alternative places:

PREFIX=/opt/poe sh ./play-pillars-of-eternity_gog-


You can use this option to use dpkg-deb built-in compression methods to reduce the size of the final package, at the cost of increased building and installation times:

COMPRESSION=xz sh ./play-pillars-of-eternity_gog-


Allows you to skip the archive integrity check:

CHECKSUM=none sh ./play-pillars-of-eternity_gog-

Of course, you can use any combination of these options.

Edited by vv221
  • Like 1

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.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   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.

Sign in to follow this  

  • Create New...