Is there a way to make GOG purchase work in Linux (Ubunt)  (Read 399 times)

The_Cowboy

  • Sr. Member
  • *
  • Posts: 241
  • Country: in
  • CodeZilla
Howdy!

I have a legit purchase from GOG (the dirt cheap) edition. Just to proof the purchasing, the snap shot is



Now I would want to use this on Linux. Gil certainly plays on Linux (but I can't know if he has GOG purchase).
Any clues or pointers?
Quote from: Wormbo
You learn UnrealScript mainly by reading other people's code. Removing code without an important reason (download size reduction and lack of helpfulness are not important in that sense) is extremely antisocial IMHO.

tirofijo!!

  • Sr. Member
  • *
  • Posts: 208
  • Country: ec
  • bash the fash
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #1 on: May 06, 2022, 17:54 »
HI there, i used to play the gog version in ubuntu 16.04, worked great until i install graphic card and all went to sh$"$t.... now i use virtual machine jajaja
heres the guide i used that time:
http://www.gamersonlinux.com/forum/threads/unreal-tournament-2004-guide.1219/

Kyhado

  • Newbie
  • *
  • Posts: 11
  • Country: us
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #2 on: May 06, 2022, 18:11 »
Nice

[MiA]Latte

  • 1337
  • *
  • Posts: 679
  • Country: ca
  • \m/
    • xS0NARx
    • LatteXIV
    • Njordr3
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #3 on: May 06, 2022, 18:26 »
First things first, contact GOG customer service and request a unique CD key. The default one from the GOG install is considered a warez/pirate key and is banned almost everywhere that has anticheat.

They should give you one free of charge. If not, request a refund and buy through Steam.

As far as using on Linux goes, I dunno. Ask GOG too, maybe they know, lol. I'm not super familiar with Linux so I wouldn't know if Tirofijo's guide is still good since we're about 5/6 versions ahead on Ubuntu now, but it's worth a shot at least.
« Last Edit: May 06, 2022, 18:41 by [MiA]Latte »
Previously known as: xS0NARx, Njordr.

The_Cowboy

  • Sr. Member
  • *
  • Posts: 241
  • Country: in
  • CodeZilla
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #4 on: May 07, 2022, 01:25 »
Thanks guys for quick responses.

Gonna go through each of them.
Quote from: Wormbo
You learn UnrealScript mainly by reading other people's code. Removing code without an important reason (download size reduction and lack of helpfulness are not important in that sense) is extremely antisocial IMHO.

-Adler-

  • Junior Member
  • *
  • Posts: 34
  • Country: 00
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #5 on: May 07, 2022, 12:41 »
Download
Unreal tournament 2004 DVD
https://archive.org/details/ut-2004-dvd

Megapack
edit path to your ut2004 path "/usr/local/games/ut2004/"

Code: [Select]
#!/bin/sh
URL="https://www.utzone.de/forum/downloads.php?do=file&id=1194_UT2004-Mega-Pack-Linux-+-LinuxPatch-3369.2"
FILE=ut2004megapack-linux.tar.bz2
if test -f "$FILE"; then
    echo "$FILE exists."
tar -jxvf $FILE
cd UT2004MegaPack/
sudo cp -R * /usr/local/games/ut2004/
else
    echo "$FILE does not exist."

echo "Download $FILE URL= $URL"
fi

sudo apt-get install libstdc++5
sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 /path/to/your/folder/UT2004/System/libSDL-1.2.so.0

Soundfix
sudo apt-get install libopenal1

Code: [Select]
#!/bin/sh
sudo mv /usr/local/games/ut2004/System/openal.so /usr/local/games/ut2004/System/openal.so.bak
sudo ln -s /usr/lib/x86_64-linux-gnu/libopenal.so.1 /usr/local/games/ut2004/System/openal.so
« Last Edit: May 08, 2022, 10:02 by -Adler- »
-----------------------------------------------------------------
Sorry, but I don't trust anything that bleeds for five days and doesn't die.

The_Cowboy

  • Sr. Member
  • *
  • Posts: 241
  • Country: in
  • CodeZilla
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #6 on: May 09, 2022, 01:06 »
Download
Unreal tournament 2004 DVD
https://archive.org/details/ut-2004-dvd

Megapack
edit path to your ut2004 path "/usr/local/games/ut2004/"

Code: [Select]
#!/bin/sh
URL="https://www.utzone.de/forum/downloads.php?do=file&id=1194_UT2004-Mega-Pack-Linux-+-LinuxPatch-3369.2"
FILE=ut2004megapack-linux.tar.bz2
if test -f "$FILE"; then
    echo "$FILE exists."
tar -jxvf $FILE
cd UT2004MegaPack/
sudo cp -R * /usr/local/games/ut2004/
else
    echo "$FILE does not exist."

echo "Download $FILE URL= $URL"
fi

sudo apt-get install libstdc++5
sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 /path/to/your/folder/UT2004/System/libSDL-1.2.so.0

Soundfix
sudo apt-get install libopenal1

Code: [Select]
#!/bin/sh
sudo mv /usr/local/games/ut2004/System/openal.so /usr/local/games/ut2004/System/openal.so.bak
sudo ln -s /usr/lib/x86_64-linux-gnu/libopenal.so.1 /usr/local/games/ut2004/System/openal.so

Hola Adler! Thanks for script lines and links. Just wondering if the DVD download is legal (not that I mind it, but some may).
Quote from: Wormbo
You learn UnrealScript mainly by reading other people's code. Removing code without an important reason (download size reduction and lack of helpfulness are not important in that sense) is extremely antisocial IMHO.

Gil-galad

  • Junior Member
  • *
  • Posts: 45
  • Country: pt
  • Hail the Holy Flying Spaguetti Monster!
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #7 on: May 14, 2022, 20:34 »
Hello!
Indeed, I run a native linux install but on Manjaro. I had the help of a more skilled friend to set it up, and it was some time ago. I'm stating this to explain that I can't help you, even if I encourage you to try the native version.

I used the steam script.


You have a gog version that I didn't try.


« Last Edit: May 15, 2022, 20:01 by Gil-galad »
His sword was long, his lance was keen.
His shining helm afar was seen;
the countless stars of heaven's field
were mirrored in his silver shield.

The Fall of Gil-galad - J. R. R. Tolkien

The_Cowboy

  • Sr. Member
  • *
  • Posts: 241
  • Country: in
  • CodeZilla
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #8 on: May 14, 2022, 23:18 »

With steam it be trivial!! I am trying GOG version because of almost all the members here recommending it and the high discounts  8)
Adler's methodology seems to be working. I have already obtained the key from GOG support and will be using that for future gaming sessions.

Sorry about the warez key admins, but as [Mia]Latte pointed, it is the default setting and needs manual intervention.  O:-)
Quote from: Wormbo
You learn UnrealScript mainly by reading other people's code. Removing code without an important reason (download size reduction and lack of helpfulness are not important in that sense) is extremely antisocial IMHO.

-Adler-

  • Junior Member
  • *
  • Posts: 34
  • Country: 00
Re: Is there a way to make GOG purchase work in Linux (Ubunt)
« Reply #9 on: May 15, 2022, 10:11 »
Yeah,
i play ut2004 (x64) on Linux Mint 20.3.

Unreal Tournament 2004 DVD
https://archive.org/details/ut-2004-dvd

i installed with the orginal linux-installer.sh script from UT2004 DVD Version



installed libraries
sudo apt-get install libstdc++5
sudo apt-get install libopenal1
sudo apt-get install libsdl1.2debian

installed UT2004 Mega Pack Linux + LinuxPatch 3369.2 from
https://www.utzone.de/forum/downloads.php?do=file&id=1194_UT2004-Mega-Pack-Linux-+-LinuxPatch-3369.2

Code: [Select]
#!/bin/sh
URL="https://www.utzone.de/forum/downloads.php?do=file&id=1194_UT2004-Mega-Pack-Linux-+-LinuxPatch-3369.2"
FILE=ut2004megapack-linux.tar.bz2
if test -f "$FILE"; then
    echo "$FILE exists."
tar -jxvf $FILE
cd UT2004MegaPack/
sudo cp -R * /usr/local/games/ut2004/
else
    echo "$FILE does not exist."

echo "Download $FILE URL= $URL"
fi

Linked the libs to ut2004 folder or copy the libs to ut2004 system folder
sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0  /usr/local/games/ut2004/System/libSDL-1.2.so.0
 (libSDL-1.2.so.0 linked to libSDL-1.2.so.0.11.4)

sudo ln -s /usr/lib/x86_64-linux-gnu/libopenal.so.1 /usr/local/games/ut2004/System/openal.so
(openal.so linked to libopenal.so.1.19.1)
« Last Edit: May 15, 2022, 16:34 by -Adler- »
-----------------------------------------------------------------
Sorry, but I don't trust anything that bleeds for five days and doesn't die.