Jump to content

Welcome to Obsidian Forum Community
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

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

linux debian ubuntu linux mint GOG

  • Please log in to reply
3 replies to this topic

#1
vv221

vv221

    (4) Theurgist

  • Members
  • 251 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Backer
  • Fig Backer
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.dotslashp..._gog-1.4.0.6.sh
version 1.06, GOG release 1.4.0.6, English version: http://www.dotslashp..._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, 04 June 2015 - 01:51 AM.

  • epu likes this

#2
vv221

vv221

    (4) Theurgist

  • Members
  • 251 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Backer
  • Fig Backer
/!\ 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, 30 April 2016 - 04:22 AM.

  • epu likes this

#3
vv221

vv221

    (4) Theurgist

  • Members
  • 251 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Backer
  • Fig Backer
Looks like I can’t edit my posts after some time, so there you should go for up-to-date download links and instructions:
https://www.gog.com/...o_a_deb_package

#4
vv221

vv221

    (4) Theurgist

  • Members
  • 251 posts
  • Pillars of Eternity Silver Backer
  • Kickstarter Backer
  • Deadfire Backer
  • Fig Backer
/!\ This thread is now obsolete, here you go for up-to-date instructions:
https://forums.obsid...nubuntumintetc/





Also tagged with one or more of these keywords: linux, debian, ubuntu, linux mint, GOG

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users