Posted May 19, 2015
/!\: 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:
[./play.it] Install Teenagent on Linux
-----
Hello fellow Debian users, Ubuntu lovers and Mint freaks!
Here you’ll find scripts allowing you to turn your .exe installer of Teenagent into a .deb package, allowing to install it through DPKG and remove it through APT.
The .deb package built by this script does not use DOSBox but ScummVM. If some people request it, I might build an alternative version using DOSBox.
First thing first, here you can download the script:
GOG release 2.1.0.16, French version: dead link removed
GOG release 2.1.0.16, English version: dead link removed
Choose the language you feel more comfortable with, but rest assured: no language will be stripped from your game (nor added by the way). It is only the language used by the script, not by the game.
I tried to make them as easy to use as possible:
1. Download the script;
2. Put in a same directory the script and the GOG .exe installer (setup_teenagent_2.1.0.16.exe);
3. Check the script dependencies. To run, these scripts need the following packages to be installed on your system:
fakeroot, innoextract, icoutils
4. Open a terminal in the directory containing the script;
5. Run the script via the following command:
sh ./play-teenagent_gog-2.1.0.16.sh
That’s it! The script will take a couple seconds to work its magic, and end by giving you the command to launch as root to install the freshly built .deb package.
-----
ADVANCED USAGE
If you rename your GOG installer, the script will not find it automatically. You have to give it the path to the archive as an argument in order for it to work. This can allow you to run the script without the need to copy the archive around.
Here is an example:
sh ./play-teenagent_gog-2.1.0.16.sh "/home/hopper/GOG games/Teenagent-2.1.0.16.exe"
You can set different options while running these scripts to define some of its behaviours. Here comes the list of these options, with the default option in bold characters.
CHECKSUM=md5,none
By default, the script will check the archive integrity through md5sum. If you want to bypass this check for any reason, set this option to none while launching the script:
CHECKSUM=none sh ./play-teenagent_gog-2.1.0.16.sh
COMPRESSION=none,gzip,xz
By default, the final .deb package is built without compression to speed up the process. You can use gzip or xz compression by setting this option to the adequate value:
COMPRESSION=xz sh ./play-teenagent_gog-2.1.0.16.sh
PREFIX=/usr/local,any absolute path
By default, the .deb package will install the game data under /usr/local. If you want to install it under another path, you can by setting this option to the relevant path. Only an absolute path can be defined this way.
PREFIX=/opt/teenagent sh ./play-teenagent_gog-2.1.0.16.sh
-----
Any return, be it a bug report, a suggestion, a request, a demand for clarification, an insult or a simple "thank you" is welcome in this thread. Requests for similar scripts for other GOG games (or Humble Bundle ones) should go via PM.
I hope you’ll enjoy these scripts as much as I enjoy writing and tweaking them ;)
Have fun, and see you in training camp!
-----
Here you go for more supported games!
[./play.it] Install Teenagent on Linux
-----
Hello fellow Debian users, Ubuntu lovers and Mint freaks!
Here you’ll find scripts allowing you to turn your .exe installer of Teenagent into a .deb package, allowing to install it through DPKG and remove it through APT.
The .deb package built by this script does not use DOSBox but ScummVM. If some people request it, I might build an alternative version using DOSBox.
First thing first, here you can download the script:
GOG release 2.1.0.16, French version: dead link removed
GOG release 2.1.0.16, English version: dead link removed
Choose the language you feel more comfortable with, but rest assured: no language will be stripped from your game (nor added by the way). It is only the language used by the script, not by the game.
I tried to make them as easy to use as possible:
1. Download the script;
2. Put in a same directory the script and the GOG .exe installer (setup_teenagent_2.1.0.16.exe);
3. Check the script dependencies. To run, these scripts need the following packages to be installed on your system:
fakeroot, innoextract, icoutils
4. Open a terminal in the directory containing the script;
5. Run the script via the following command:
sh ./play-teenagent_gog-2.1.0.16.sh
-----
ADVANCED USAGE
If you rename your GOG installer, the script will not find it automatically. You have to give it the path to the archive as an argument in order for it to work. This can allow you to run the script without the need to copy the archive around.
Here is an example:
sh ./play-teenagent_gog-2.1.0.16.sh "/home/hopper/GOG games/Teenagent-2.1.0.16.exe"
CHECKSUM=md5,none
By default, the script will check the archive integrity through md5sum. If you want to bypass this check for any reason, set this option to none while launching the script:
CHECKSUM=none sh ./play-teenagent_gog-2.1.0.16.sh
COMPRESSION=none,gzip,xz
By default, the final .deb package is built without compression to speed up the process. You can use gzip or xz compression by setting this option to the adequate value:
COMPRESSION=xz sh ./play-teenagent_gog-2.1.0.16.sh
PREFIX=/usr/local,any absolute path
By default, the .deb package will install the game data under /usr/local. If you want to install it under another path, you can by setting this option to the relevant path. Only an absolute path can be defined this way.
PREFIX=/opt/teenagent sh ./play-teenagent_gog-2.1.0.16.sh
Any return, be it a bug report, a suggestion, a request, a demand for clarification, an insult or a simple "thank you" is welcome in this thread. Requests for similar scripts for other GOG games (or Humble Bundle ones) should go via PM.
I hope you’ll enjoy these scripts as much as I enjoy writing and tweaking them ;)
Have fun, and see you in training camp!
-----
Here you go for more supported games!
Post edited February 17, 2019 by vv221