You are not logged in.
SidK wrote:Thanks for taking over on that one fettouhi
I would to take over the package but I don't know how to upload it to AUR. Since I can't create scr.tar.gz without having the game myself.
DONE!
https://aur.archlinux.org/packages/gog- … onization/
just bought the game on sale on GOG.
Offline
The linux version of the Witcher 2 is on GOG now I made a PKGBUILD for the game (the english installer) and uploaded it to AUR.
EDIT: Just updated the dependencies for the game based on the Steam/Game-specific troubleshooting wiki page
https://wiki.archlinux.org/index.php/St … dencies_27
Regarding the patch that is available on GOG that brings the game up to version 1.0.0.4 and in sync with the Steam version I'm a bit unsure on how to apply it to the PKGBUILD.
Offline
Hi all, first of all thanks for the Packages that are out there already!
Question: Is there anybody willing to make gog Packages for the Unreal games? There are Linux binaries, and packages for the cd versions, but none yet for the gog Downloads. Sadly, I'm not up to par for the job, but I'd be very happy if somebody could do that... ( I could even gift one or two copies...)
Offline
It would be difficult too to do that without the actual gog package. What is its content? Probably a 'tar tvf gog-*.tar.gz' will suffice. Where do you want the package/binary installed?
Edit: Several errors, typing is getting harder and harder.
Last edited by emeres (2014-09-18 15:42:43)
Offline
Hello. can you help me with GOG Wasteland 2 ? i bought it today, but after run start.sh i get nothing.
Offline
@4iter Start a new thread.
Offline
@ emeres
There isn't a Linux package for the unreal games on GOG. They only have the windows installers, so you'd have to extract those first with innoextract and then copy the required files. I have no Idea where the binaries should go, but I'm guessing the unreal packages for the CD version in the AUR would be a good reference.
Offline
Aha, well the conventional approach would be to install it through wine. What exactly is the issue here? You cannot get the game to run? Why would you want to create a aur package for a conventional windows game? Yes, there are few of those, but is it worth the effort? You surely can just install it wherever you want. Without the linux binaries or the package itself, I can do very little. Are the binaries available somewhere? And the jump from gog to original installer might be difficult on itself. I will take a look at it, but promise nothing.
Offline
Yes it runs well with wine, but there is a native linux version, and it would be awesome to have that installed with the gog download file.
The linux binaries should be in the sources for the unrealtournament package that is in the AUR
https://aur.archlinux.org/packages/unrealtournament/
It seams like I can't find the required files for ut2004 though
Offline
The rest of the default build I guess needs to be implemented. So far I get exit code 1, but the maps are not really ready yet. Maybe I will take a look later.
# Contributor: quantax -- contact via Arch Linux forum or AUR
# Maintainer: Ben R <thebenj88 *AT* gmail *DOT* com>
pkgname=ut-gold-gog
pkgver=1
pkgrel=1
pkgdesc="The classic Unreal Tournament form 1999. GOG version required."
arch=('i686' 'x86_64')
url="http://www.unrealtournament2004.com/utgoty/"
license=('custom')
groups=(ut1999-goty)
changelog=${pkgname}.changelog
if [ "$CARCH" = "x86_64" ]; then
depends=('lib32-alsa-lib' 'lib32-libgl' 'lib32-sdl' 'lib32-openal')
optdepends=('lib32-nvidia-utils: Accelerated 3D with the NVIDIA binary blob video driver'
'lib32-catalyst-utils: Accelerated 3D with the AMD/ATI binary blob video driver')
else
depends=('libgl' 'sdl' 'openal' 'alsa-lib')
fi
makedepends=(makepkg-lib-unreal innoextract)
replaces=(ut ut-server)
source=(ut436.run::'http://www.liflg.org/?what=dl&catid=6&gameid=51&filename=unreal.tournament_436-multilanguage.run' \
ut436goty.run::'http://www.liflg.org/?what=dl&catid=6&gameid=51&filename=unreal.tournament_436-multilanguage.goty.run' \
http://www.utpg.org/patches/UTPGPatch451.tar.bz2 \
ut.desktop \
disk.list \
utpg.list \
setup_unreal_gold.exe)
md5sums=('726aede817997a2aefccb8c20601d760' \
'7012dc6caaa9453dcf8951474556912a' \
'77a735a78b1eb819042338859900b83b' \
'0c94a4c1fda89a53a905756d4c15c5a9' \
'7fbe728f7cef23d53bdfe6be17b7129a' \
'72efce99d512b1a71587c2c127dccd06' \
'7a270229d28a44089030150bd9f3a1e1')
noextract=('UTPGPatch451.tar.bz2')
PURGE_TARGETS=($PURGE_TARGETS *.dll)
_install_patches() {
echo "Adding Loki's Linux runtime files..."
cd "${srcdir}"
sh ./ut436.run --tar xfC 436
sh ./ut436goty.run --tar xfC 436goty
cd 436goty
install --mode=644 -D -- ut.xpm "${pkgdir}/usr/share/pixmaps/ut.xpm"
install --mode=644 -- README "${pkgdir}/opt/ut/Help/README"
install --mode=644 -- README.Loki "${pkgdir}/opt/ut/Help/README.Loki"
install --mode=755 -- bin/Linux/x86/ucc "${pkgdir}/opt/ut/ucc"
install --mode=755 -- bin/ut "${pkgdir}/opt/ut/ut"
ln -fs -- /opt/ut/ut "${pkgdir}/usr/bin/ut"
tar xfC data.tar.gz "${pkgdir}/opt/ut" \
--exclude=System/UnrealTournament.ini.PATCH
chmod 644 -- "${pkgdir}/opt/ut/System/OpenGLDrv.int"
install --mode=644 -D -- "${pkgdir}/opt/ut/System/License.int" \
"${pkgdir}/usr/share/licenses/${pkgname}/License.int"
tar xfC UT436-OpenGLDrv-Linux-090602.tar.gz "${pkgdir}/opt/ut"
tar xfC OpenGL.ini.tar.gz "${pkgdir}/opt/ut"
tar xfC Credits.tar.gz "${pkgdir}/opt/ut"
tar xfC NetGamesUSA.com.tar.gz "${pkgdir}/opt/ut"
# As there is no distinction between GOTY and non-GOTY CDs yet, we just try
# to patch everything that applies. Also Loki's patcher is too unreliable.
cd "${srcdir}"
echo "Trying to apply Loki's 436 Xdelta patches..."
_unreal_fail_safe_patcher 436/setup.data/data "${pkgdir}/opt/ut"
_unreal_fail_safe_patcher 436goty/setup.data/data "${pkgdir}/opt/ut"
# ./436/setup.data/bin/Linux/x86/loki_patch \
# ./436/setup.data/patch.dat "${pkgdir}/opt/ut"
# ./436goty/setup.data/bin/Linux/x86/loki_patch \
# ./436goty/setup.data/patch.dat "${pkgdir}/opt/ut"
echo "Applying 451 UTPG patch..."
tar xfC UTPGPatch451.tar.bz2 451utpg
_unreal_move_files 451utpg "${pkgdir}/opt/ut" < utpg.list
# Fix a small bug until next UTPG release. Thanks for the hint, elsixdiab.
sed -i '/^LoadClassMismatch/s/\.%s$//' \
"${pkgdir}/opt/ut/System/Core.int"
}
package() {
source /usr/lib/makepkg/unreal.sh
install --directory -- "${srcdir}"/{436,436goty,451utpg} \
"${pkgdir}/usr/bin" \
"${pkgdir}"/opt/ut/{Help,Logs,Maps,Music,Sounds,System,Textures} \
"${pkgdir}"/opt/ut/Web/{images,inc,plaintext/inc}
install --mode=644 -D -- "${srcdir}/ut.desktop" \
"${pkgdir}/usr/share/applications/ut.desktop"
cd ${pkgdir};
innoextract -d ${pkgdir}/opt/ut ${srcdir}/setup_unreal_gold.exe;
mv ${pkgdir}/opt/ut/app/* ${pkgdir}/opt/ut;
rmdir ${pkgdir}/opt/ut/app;
_install_patches;
}
It should build with 'makepkg -d', innoextract is needed obviously*.
Edit: *Changed that.
Edit2: I used the outdated PKGBUILD it seems.
Last edited by emeres (2014-09-21 00:00:50)
Offline
Okay, small contribution from me: I made a PKGBUILD for Shadowrun: Dragonfall DC! But as of yet, it doesn't launch, see this error:
Running Shadowrun Dragonfall DC
support/gog_com.shlib: line 211: ./Dragonfall: Permission denied
And I don't know which dependencies I need to add...
But here is the PKBUILD so far:
# Maintainer : TimorLee […]
pkgname=gog-shadowrun-dragonfall-dc
pkgver=1.0.0.3
pkgrel=1
pkgdesc="The critically acclaimed shadowrun campaign! Classic RPG based on Shadowrun and released on GOG as a standalone"
arch=("i686" "x86_64")
url="http://www.gog.com/game/shadowrun_dragonfall_directors_cut"
license=("custom")
groups=("games")
source=("gog_shadowrun_dragonfall_dc_${pkgver}.tar.gz" "gog-shadowrun-dragonfall-dc")
sha256sums=('7a5a280f75c7bb195cf95d4c74ddcfb5ff7492870b593eec42f130ec3a32fe71'
'78cc1a3f8423b0ac91852818b869fbcdd94db3ac51e0e554c0d27890bc832c88')
depends=(alsa-lib desktop-file-utils)
#options=('!strip')
PKGEXT=.pkg.tar
package() {
mkdir -p "${pkgdir}"/opt/gog/shadowrun-dragonfall-dc
cp -r "${srcdir}"/Shadowrun\ Dragonfall\ DC/* "${pkgdir}"/opt/gog/shadowrun-dragonfall-dc
install -Dm644 "${srcdir}"/Shadowrun\ Dragonfall\ DC/support/gog-shadowrun-dragonfall-dc-primary.desktop "${pkgdir}"/usr/share/applications/gog-shadowrun-dragonfall-dc-primary.desktop
install -Dm644 "${srcdir}"/Shadowrun\ Dragonfall\ DC/support/gog-shadowrun-dragonfall-dc.png "${pkgdir}"/usr/share/pixmaps/gog-shadowrun-dragonfall-dc.png
install -Dm644 "${srcdir}"/Shadowrun\ Dragonfall\ DC/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
install -Dm755 "${srcdir}/gog-shadowrun-dragonfall-dc" "${pkgdir}/usr/bin/gog-shadowrun-dragonfall-dc"
}
and the file start.sh:
#!/usr/bin/bash
gogdir="/opt/gog/shadowrun-dragonfall-dc"
"$gogdir"/start.sh
Shamelessly copied from the Legend of Grimrock PKGBUILD.
If anybody tells me how to circumvent the permissions error, I'd even upload it to the AUR
Offline
Okay, I've "fixed" the problem, so here is the new PKGBUILD. It now runs easily, I'm not happy with giving away all those permissions, but the game refuses to run otherwise. I'll upload it to the AUR now. You all are welcome to test it!
# Maintainer : TimorLee <vexron[at]gmx.de
pkgname=gog-shadowrun-dragonfall-dc
pkgver=1.0.0.3
pkgrel=1
pkgdesc="The critically acclaimed shadowrun campaign! Classic RPG based on Shadowrun and released on GOG as a standalone"
arch=("i686" "x86_64")
url="http://www.gog.com/game/shadowrun_dragonfall_directors_cut"
license=("custom")
groups=("games")
source=("gog_shadowrun_dragonfall_dc_${pkgver}.tar.gz" "gog-shadowrun-dragonfall-dc")
sha256sums=('7a5a280f75c7bb195cf95d4c74ddcfb5ff7492870b593eec42f130ec3a32fe71'
'78cc1a3f8423b0ac91852818b869fbcdd94db3ac51e0e554c0d27890bc832c88')
depends=(lib32-libstdc++5 lib32-libx11 lib32-libxcursor lib32-libxcb lib32-libdrm desktop-file-utils)
#options=('!strip')
PKGEXT=.pkg.tar
package() {
mkdir -p "${pkgdir}"/opt/gog/shadowrun-dragonfall-dc
cp -r "${srcdir}"/Shadowrun\ Dragonfall\ DC/* "${pkgdir}"/opt/gog/shadowrun-dragonfall-dc
install -Dm644 "${srcdir}"/Shadowrun\ Dragonfall\ DC/support/gog-shadowrun-dragonfall-dc-primary.desktop "${pkgdir}"/usr/share/applications/gog-shadowrun-dragonfall-dc-primary.desktop
install -Dm644 "${srcdir}"/Shadowrun\ Dragonfall\ DC/support/gog-shadowrun-dragonfall-dc.png "${pkgdir}"/usr/share/pixmaps/gog-shadowrun-dragonfall-dc.png
install -Dm644 "${srcdir}"/Shadowrun\ Dragonfall\ DC/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
install -Dm755 "${srcdir}/gog-shadowrun-dragonfall-dc" "${pkgdir}/usr/bin/gog-shadowrun-dragonfall-dc"
chmod -R 755 "${pkgdir}/opt/gog/shadowrun-dragonfall-dc"
}
Oh, and here is one for "Sir, You are Being Hunted" (also in the AUR now):
# Maintainer : TimorLee <vexron[at]gmx.de>
pkgname=gog-sir-you-are-being-hunted
pkgver=1.0.0.2
pkgrel=1
pkgdesc="You are being hunted. Better keep moving and find a way to escape!
The GOG tarball needs to be in the package directory to install this game."
arch=("i686" "x86_64")
url="http://www.gog.com/game/sir_you_are_being_hunted"
license=("custom")
groups=("games")
source=("sir_you_are_being_hunted_${pkgver}.tar.gz" "gog-sir-you-are-being-hunted")
sha256sums=('51f1e9165dd8cc537260aabcc11b34e9607994abdc5ad42a3eb8b8e5755ba0ee' '9bf1e1c947776e1768b312dc7c35f9e6c00734026e54d0280fa432494eea84fe')
depends=(lib32-libstdc++5 lib32-libx11 lib32-libxcursor lib32-libxcb lib32-libdrm desktop-file-utils)
#options=('!strip')
PKGEXT=.pkg.tar
package() {
mkdir -p "${pkgdir}"/opt/gog/sir-you-are-being-hunted
cp -r "${srcdir}"/Sir\ You\ Are\ Being\ Hunted/* "${pkgdir}"/opt/gog/sir-you-are-being-hunted
install -Dm644 "${srcdir}"/Sir\ You\ Are\ Being\ Hunted/support/gog-sir-you-are-being-hunted-primary.desktop "${pkgdir}"/usr/share/applications/gog-sir-you-are-being-hunted.desktop
install -Dm644 "${srcdir}"/Sir\ You\ Are\ Being\ Hunted/support/gog-sir-you-are-being-hunted.png "${pkgdir}"/usr/share/pixmaps/gog-sir-you-are-being-hunted.png
install -Dm644 "${srcdir}"/Sir\ You\ Are\ Being\ Hunted/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
install -Dm755 "${srcdir}/gog-sir-you-are-being-hunted" "${pkgdir}/usr/bin/gog-sir-you-are-being-hunted"
chmod -R 777 /opt/gog/sir-you-are-being-hunted/game/sir_/
}
Last edited by TimorLee (2014-09-23 12:42:04)
Offline
Baldur's gate is now on Linux via GOG and it is a wine bottle. Anyone tried to make a PKGBUILD?
Last edited by fettouhi (2014-10-14 17:01:09)
Offline
Just added Silent Service PKGBUILD to AUR (for those interested).
Offline
Added Sam & Max: Hit The Road PKGBUILD to AUR:
Offline
Working on PKGBUILD for Baldur's Gate but I'm having trouble getting saving to work. Since Baldur's Gate is a wine game the structure the tar file consists for prefix folder with the game. The game saves under .../prefix/GOG Games/Baldurs Gate/Save/. Since I want to do install the game under /opt/. I need a slick way to get write access to the that save directory. I tried unionfs but it is not working for me as it has with the dosbox and scummvm games. Any suggestions on how to do that?
Offline
Got a first version of a launcher script and PKGBUILD for Baldur's Gate from GOG. Here is the launcher script
#!/usr/bin/bash
ID=baldurs-gate
WRITABLE='*.ini *.key *.tlk'
EXE=BGMain.exe
USERDIR=$HOME/.gog/$ID
export WINEPREFIX=$USERDIR/.wine
export WINEDEBUG=-all
if ! [ -d $USERDIR ]
then
INSTALLDIR=/opt/gog/$ID
mkdir -p $(dirname $USERDIR)
cp -as $INSTALLDIR $USERDIR
WINEARCH=win32 wineboot -i
rm $WINEPREFIX/dosdevices/"z:"
ln -s $USERDIR $WINEPREFIX/drive_c
cd $USERDIR
for file in $WRITABLE
do
cp -a --remove-destination $INSTALLDIR/$file $file
done
fi
cd $WINEPREFIX/drive_c/$ID/prefix/drive_c/GOG\ Games/Baldur's\ Gate/
wine $EXE
uses the systemwide wine instead of the build in but the game won't launch ATM.
and the PKGBUILD
# Maintainer : André Fettouhi <a.fettouhi@gmail.com>
pkgname=gog-baldurs-gate
pkgver=1.0.0.8
pkgrel=1
pkgdesc="Chaos threatens to overwhelm the Sword Coast."
arch=("i686" "x86_64")
url="http://www.gog.com/game/baldurs_gate_the_original_saga"
license=("custom")
groups=("games")
source=("gog_baldurs_gate_${pkgver}.tar.gz" "gog-baldurs-gate" "gog-bg-config" "gog-bg-config.desktop")
sha256sums=('c2db4fc324c9f501d6699c48ca46d7be91ac9f3700b25a9f45ccbe1c4b36795d'
'ee334b5e7120c5d60963c1b56f24eba4f3033a8c3bff338df0b3aadfa3e560d4'
'5cea1dde4686646b5d79e7570ec981b186da95e86b1909cab1e0109f0f331a09'
'689e75e51d931a44ae3daa866cdd048779502916bfbfba21b2ace1a5669c191d')
depends=(freetype2 wine)
#options=('!strip')
PKGEXT=.pkg.tar
package() {
mkdir -p "${pkgdir}"/opt/gog/baldurs-gate
cp -r "${srcdir}"/Baldurs\ Gate/* "${pkgdir}"/opt/gog/baldurs-gate
rm -rf "${pkgdir}"/opt/gog/baldurs-gate/wine_standalone
install -Dm644 "${srcdir}"/Baldurs\ Gate/support/gog-baldurs-gate-primary.desktop "${pkgdir}"/usr/share/applications/gog-baldurs-gate.desktop
install -Dm644 "${srcdir}"/gog-bg-config.desktop "${pkgdir}"/usr/share/applications/gog-bg-config.desktop
install -Dm644 "${srcdir}"/Baldurs\ Gate/support/gog-baldurs-gate.png "${pkgdir}"/usr/share/pixmaps/gog-baldurs-gate.png
install -Dm644 "${srcdir}"/Baldurs\ Gate/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
install -Dm755 "${srcdir}/gog-baldurs-gate" "${pkgdir}/usr/bin/gog-baldurs-gate"
install -Dm755 "${srcdir}/gog-bg-config" "${pkgdir}/usr/bin/gog-bg-config"
}
any suggestions a welcome
Last edited by fettouhi (2014-10-31 06:59:04)
Offline
Finally got it working. Here is the PKGBUILD for Baldur's Gate
https://aur.archlinux.org/packages/gog-baldurs-gate/
This uses system wine and not the prepackaged one. Many thanks to vv221 on GOG.com Baldur's Gate series forum for helping me with the PKGBUILD.
Offline
Added Planescape Torment to AUR.
Offline
Added Baldur's Gate 2
https://aur.archlinux.org/packages/gog-baldurs-gate-2/
These are all of the D&D games so far that have Linux versions on GOG.com.
Last edited by fettouhi (2014-11-11 15:20:40)
Offline
Added door kickers:
https://aur.archlinux.org/packages/gog-door-kickers/
I'm working on: Battleworlds Kronos, braveland, Halfway and Race the sun
Offline
Added Braveland:
https://aur.archlinux.org/packages/gog-braveland/
And Race The Sun:
https://aur.archlinux.org/packages/gog-race-the-sun/
And Halfway:
https://aur.archlinux.org/packages/gog-halfway/
And Battle Worlds: Kronos
https://aur.archlinux.org/packages/gog- … ds-kronos/
I've still got 2-3 Linux games in my Library, I'll see when I can also add them
Last edited by TimorLee (2014-11-13 20:40:51)
Offline
Added AKALABETH: WORLD OF DOOM
Offline
Fettouhi, I'm trying to packaging Baldur's Gate 2: Enhanced Edition, and I'm running into a problem. I'm using your Icewind Dale: Enhanced Edition PKGBUILD as a template, but I can't seem to stop makepkg --source from trying to add the game tar.gz file to the source package. How did you achieve that? Did you just remove the file manually after building the source package?
Offline
Offline