Jump to content
  • 0

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


vv221

Question

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 1.4.0.6, French version: http://www.dotslashplay.it/scripts/fr/play-pillars-of-eternity_gog-1.4.0.6.sh

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

(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-1.4.0.6.sh
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
Link to comment
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:

VARIABLE=default,alternative1,alternative2,etc.

 

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-1.4.0.6.sh "/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-1.4.0.6.sh
 

COMPRESSION=none,gzip,xz

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-1.4.0.6.sh
 

CHECKSUM=md5sum,none

Allows you to skip the archive integrity check:

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

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

Edited by vv221
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...