You are not logged in.
As i've seen Jdoom, Jfduke and other good old games i thought it would be nice to have also Descent 1 or 2 on the AUR repository. As far as i know those are the two current linux projects active for descent:
Descent 1:
http://d1x.warpcore.org/
Descent 2:
http://www.icculus.org/d2x/
¿ Anyone interested ?
Take care.
Offline
You want DXX-Rebirth. See ebuilds for d1x-rebirth and d2x-rebirth.
Offline
DXX-Rebirth looks quite nice! I'd provide a PKGBUILD if I had time to write one - I'll see, maybe I'll find the time to write one in a week...
Haven't been here in a while. Still rocking Arch.
Offline
D1X-Rebirth looks quite good ! I'll try to compile it. : -)
Edit:
Ok, i've compiled both and it is fairly easy. They just require GLU, Physfs and a few other dependencies
and compile straight using latest gcc and scons. Also tested them and both run pretty smooth. However as i'm new to Archlinux i've never built a PKGBUILD, but i'll look into it if no one else does when i got a bit of time.
Last edited by archville (2007-05-26 13:16:50)
Offline
D1X-Rebirth looks quite good ! I'll try to compile it. : -)
Edit:
Ok, i've compiled both and it is fairly easy. They just require GLU, Physfs and a few other dependencies
and compile straight using latest gcc and scons. Also tested them and both run pretty smooth. However as i'm new to Archlinux i've never built a PKGBUILD, but i'll look into it if no one else does when i got a bit of time.
its quite easy look into the abs tree..it as an example of a PKGBUILD
Its a sick world we live in....
Offline
PKGBUILD
pkgname=d1x-rebirth
pkgver=0.52_src_20070505
pkgrel=1
pkgdesc="D1X-Rebirth is a source port of Descent"
arch=('i686' 'x86_64')
url="http://www.dxx-rebirth.de/"
license=('GPL')
depends=('sdl')
makedepends=('nasm' 'scons')
provides=()
conflicts=()
replaces=()
backup=()
install=
source=('http://www.dxx-rebirth.de/download/dxx/oss/src/d1x-rebirth_v0.52-src-20070505.tar.gz'
'http://www.dxx-rebirth.de/download/dxx/res/descent1_patch14a-linux.tar.gz'
'descent.hog'
'descent.pig')
noextract=()
md5sums=('7606e15c259d7b1bac4f933783e68857'
'049d55b771a08ad59cbb2205f935ae7c'
'8adfff2e5205486cd5574ac3dd0b4381'
'7916448ae69bcc0dd4f3b057a961285f')
build() {
cd $startdir/src/d1x-rebirth
sed -i -e "/^PREFIX *=/ s|=.*$|= '/usr/'|" SConstruct
scons || exit 1
mkdir -p $startdir/pkg/usr/bin
cp d1x-rebirth-gl $startdir/pkg/usr/bin
cd $startdir/src
patch -p0 < patch14a/descent.hog.diff descent.hog
patch -p0 < patch14a/descent.pig.diff descent.pig
mkdir -p $startdir/pkg/usr/share/games/d1x-rebirth
cp descent.hog descent.pig $startdir/pkg/usr/share/games/d1x-rebirth
chmod 644 $startdir/pkg/usr/share/games/d1x-rebirth/descent.pig
chmod 644 $startdir/pkg/usr/share/games/d1x-rebirth/descent.hog
}
descent.hog, descent.pig have to be the original unpatched versions.
Happy gaming.
Edit: fixed, completed and tested.
Last edited by ezzetabi (2007-06-06 17:12:20)
Offline
Using the exact same schemata I made also PGKBUILD for descent 2, but I do not found all the needed file for testing.
New Version below.
So, in order to use it locate all original needed file (the ones in source that are not URLs), copy them in the package directory.
According to the INSTALL.txt file almost all files are compressed in the arj archive file 'descent2.sow' in the original CD rom. The other should be findable with only find /dev/cdrom -name '*mvl'
And order:
$ makepkg -g >> PKGBUILD #to add the checksum
$ makepkg # to make the package
It should work.
If someone gives me the descent2.sow file and the *mvl files I'll complete this PKGBUILD automating the unpacking.
Last edited by ezzetabi (2007-06-02 15:26:01)
Offline
Thanks for these PKGBUILDs ezzetabi. I haven't tested them yet but they look promissing.
Is physfs really needed to run the game or is it just needed to unpack the game-files? (in which case it should be changed to a makedep...)
I hope I find the Descent2 CD I had about 9 years ago...
Cheers Sigi
Haven't been here in a while. Still rocking Arch.
Offline
I am pretty sure it is needed for playing since its header is included in the source. But... since I do not have the Descent 2 CD I can not test.
If you find it... well.. can you scp it to me? Only for making the PKGBUILD of course...
Last edited by ezzetabi (2007-06-01 11:38:47)
Offline
Tested it. physfs is needed to play:
d2x-rebirth-gl: error while loading shared libraries: libphysfs-1.0.so.1: cannot open shared object file: No such file or directory
By the way i can send you the files for testing purposes.
Thanks a lot for the PKGBUILDs.
Offline
The physfs checking has been done previously - see ebuild.
Offline
@archville
How large is the descent2.sow file? Does it contains many unneeded files? (if it is the case it is better keeping the source array with the single files)
Anyhow, you should be able of copying the files with
scp FILENAMES descent@82.61.140.104:
giving the password I sent you via email. I should not disconnect for a while.
Last edited by ezzetabi (2007-06-02 09:57:33)
Offline
It's something like 27 Mb ripped (Big videos , are left out.) and compressed with tar.gz.
Contained files:
alien1.pig
alien2.pig
descent2.ham
descent2.hog
descent2.s11
descent2.s22
fire.pig
groupa.pig
ice.pig
pla.mve
robot-h.mvl
robots-h.mvl
water.pig
I'm currently uploading it with scp.
Offline
It seems d2x-rebirth uses a 'all or nothing' approach about the movies. Using the only file .mvl needed I had (robots-h.mvl) the game crashes.
But it works without any movie at all:
pkgname=d2x-rebirth
pkgver=0.52_src_20070505
pkgrel=2
pkgdesc="D2X-Rebirth is a source port of Descent 2"
arch=('i686' 'x86_64')
url="http://www.dxx-rebirth.de/"
license=('GPL')
depends=('sdl' 'physfs')
makedepends=('nasm' 'scons')
provides=()
conflicts=()
replaces=()
backup=()
install=
source=('http://www.dxx-rebirth.de/download/dxx/oss/src/d2x-rebirth_v0.52-src-20070505.tar.gz'
'alien1.pig'
'alien2.pig'
'descent2.ham'
'descent2.hog'
'descent2.s11'
'descent2.s22'
'fire.pig'
'groupa.pig'
'ice.pig'
'water.pig')
# 'robots-h.mvl' 'robots-l.mvl' 'intro-h.mvl' 'intro-l.mvl' 'other-h.mvl' 'other-l.mvl'
noextract=()
md5sums=('a07acaa45a3c72c4d4b3ebc49398584c'
'b0619642eeb50ac4d5198499a26b7355'
'a242d46dfd0f16454f6f5377cbb424a5'
'0449509f7f8a33b0e36a1f0c6e8a209b'
'edeca5b3f9c136e9e06a00f27a711400'
'cc802a0558775498748d301b86257e92'
'9a96c651e3e68b5c4febae6e1f492897'
'b40c8690c6a9467d76ef5732b9e10663'
'b18a27d1ef0dd04aebbbf818c430a578'
'd2a2f49892935395592bb56ae1a0f21e'
'4722f02a4c5bfb3b17fe8da8d4141191')
build() {
cd $startdir/src/d2x-rebirth
sed -i -e "/^PREFIX *=/ s|=.*$|= '/usr/'|" SConstruct
scons || exit 1
mkdir -p $startdir/pkg/usr/bin
cp d2x-rebirth-gl $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/games/d2x-rebirth
cd $startdir/src
cp alien1.pig alien2.pig descent2.ham descent2.hog descent2.s11 descent2.s22 fire.pig groupa.pig ice.pig water.pig $startdir/pkg/usr/share/games/d2x-rebirth
chmod 644 $startdir/pkg/usr/share/games/d2x-rebirth/*
}
I would need all the missing files ('robots-h.mvl' 'robots-l.mvl' 'intro-h.mvl' 'intro-l.mvl' 'other-h.mvl' 'other-l.mvl') for building the 'complete' version.
But I understand if they are too big.
Tested playing the whole first level, it works but you can't see the briefings, you can't see the aspect of the robots in the second part of the briefing and you can't see the scene where you leave the mine.
Last edited by ezzetabi (2007-06-06 17:13:03)
Offline
Does someone know if there is a port of Descent 3?
Offline
It seems loki software ported it:
http://www.lokigames.com/products/descent3/
Offline
Pity Loki does not exist anymore.
Offline
I think the Windows version should work with Wine... Um, yup, it does.
Last edited by Gullible Jones (2007-06-06 14:56:28)
Offline
Note, I tested the PKGBUILD on a 64 bit machine and worked, descent for everyone!
Offline
descent 2 with movies!
pkgname=d2x-rebirth
pkgver=0.52_src_20070505
pkgrel=1
pkgdesc="D2X-Rebirth is a source port of Descent 2"
arch=('i686')
url="http://www.dxx-rebirth.de/"
license=('GPL')
depends=('sdl' 'physfs')
makedepends=('nasm' 'scons')
provides=()
conflicts=()
replaces=()
backup=()
install=
source=('http://www.dxx-rebirth.de/download/dxx/oss/src/d2x-rebirth_v0.52-src-20070505.tar.gz'
'alien1.pig' 'alien2.pig' 'descent2.ham' 'descent2.hog' 'descent2.s11'
'descent2.s22' 'fire.pig' 'groupa.pig' 'ice.pig' 'water.pig' 'robots-h.mvl'
'intro-h.mvl' 'other-h.mvl')
md5sums=('a07acaa45a3c72c4d4b3ebc49398584c'
'b0619642eeb50ac4d5198499a26b7355'
'a242d46dfd0f16454f6f5377cbb424a5'
'0449509f7f8a33b0e36a1f0c6e8a209b'
'edeca5b3f9c136e9e06a00f27a711400'
'cc802a0558775498748d301b86257e92'
'9a96c651e3e68b5c4febae6e1f492897'
'b40c8690c6a9467d76ef5732b9e10663'
'b18a27d1ef0dd04aebbbf818c430a578'
'd2a2f49892935395592bb56ae1a0f21e'
'4722f02a4c5bfb3b17fe8da8d4141191'
'2e10f1d66cf7ab69db05673a32a9ca72'
'7853a531b3c2f0e20b3996f4cac14ae4'
'1a366be61a37311b051ff1e38bc9156f')
noextract=()
build() {
cd $startdir/src/d2x-rebirth
sed -i -e "/^PREFIX *=/ s|=.*$|= '/usr/'|" SConstruct
scons || exit 1
mkdir -p $startdir/pkg/usr/bin
cp d2x-rebirth-gl $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/games/d2x-rebirth
cd $startdir/src
cp alien1.pig alien2.pig descent2.ham descent2.hog descent2.s11 \
descent2.s22 fire.pig groupa.pig ice.pig water.pig \
robots-h.mvl intro-h.mvl other-h.mvl \
$startdir/pkg/usr/share/games/d2x-rebirth
chmod 644 $startdir/pkg/usr/share/games/d2x-rebirth/*
}
Offline
Hi,
I've uploaded twice d2x-rebirth and d1x-rebirth PKGBUILDs to AUR.
My PKGBUILDs don't require datas, .install files do the work to install data (it asks the user to locate the descent.sow file and use unarj to decompress the file and put them in the appropriate location). I think it's a better way.
d2x-rebirth : http://aur.archlinux.org/packages.php?d … 1&ID=11923 (fully tested)
d1x-rebirth : http://aur.archlinux.org/packages.php?d … 1&ID=11933 (binary not tested, cause I haven't full version of Descent 1)
Has anyone tested D2X-XL ( http://www.descent2.de/d2x.html ) ? It seems to be a nicer engine than dxx-rebirth with shadows support, textures and items rework, etc.
I'm unable to make it work, it compiles fine but I can't launch the game and there is no errors printed.
Last edited by gyo (2007-07-06 19:01:00)
Offline
I do not like those packages for this reasons...
1- when installing files via install script pacman will not remove them when uninstalling. So if you copy files via post_install() you should delete them via pre_remove() . But it is easier force the user copy the file in the build folder before building and make the package complete. If the source array is not good for the job (multiple version or non mandatory files) you can check via build what files the user gave.
2- post_upgrade() { post_install } what does it mean?
3- you force the user installing imagemagick just for a icon... It is so necessary?
But I like you copied the license...
Offline
I do not like those packages for this reasons...
1- when installing files via install script pacman will not remove them when uninstalling. So if you copy files via post_install() you should delete them via pre_remove() . But it is easier force the user copy the file in the build folder before building and make the package complete. If the source array is not good for the job (multiple version or non mandatory files) you can check via build what files the user gave.
Ok, but the goal is to provide pacman package, I cannot put datas or an url to those files at AUR, because it's illegal.
There is an example at AUR for ioquake that request propriatory/commercial datas after installation : http://aur.archlinux.org/packages.php?d … =1&ID=6864
the user must put datas at the appropriate target
2- post_upgrade() { post_install } what does it mean?
post_upgrade it's when you type pacman -U, here, it does the same thing than post_install after upgrade
3- you force the user installing imagemagick just for a icon... It is so necessary?
It is required only for the building process (ie with makepkg), it is not required when you install the package with pacman, but I still can convert the .ico before and attach it to the PKGBUILD...
But I like you copied the license...
Ok but I think it's not enough for you for voting to my PKGBUILD
Last edited by gyo (2007-07-06 19:00:01)
Offline
The icons are already available.
Offline
Examples means really a little... I could just answer:- Check Cedega that does as I like:
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
It is better give some explanation about why you like one solution or the other.
About the copyright fact nothing force you putting a complete url, you can (and in this case must) put in the source array only the filename as I did in this thread.
An other good idea maybe making two packages, one with the engine and one with the levels. Of course the latter have the former as dependence and the user must give the files. In this case it is unnecessary, but it can be useful for programs what are useful both with commercial data or without...
About the post_upgrade,,, the question was indirect. As far I as know if you install the version n and copy the data files without passing for the package upgrading the package to version n+1 will keep them intact, why ask the user again to give them?
Voting for a package I do not like? Why? This is personal, of course, but I like the `KISS' idea...
Your package does not follow it. Personally I do not like also the .desktop file since in my system have no use, the icon have no use.
Btw... just because we are in quick-to-hate world... This messages are not against you, but only a way for learning something about package making and share ideas.
Offline