Package Details: doom3 1.3.1.1304-12

Git Clone URL: https://aur.archlinux.org/doom3.git (read-only)
Package Base: doom3
Description: Doom 3 Engine. You need the retail .pk4 files to play.
Upstream URL: http://www.doom3.com/
Licenses: custom:"DOOM 3"
Conflicts: doom3-bin, iodoom3, iodoom3-bin, iodoom3-git
Provides: doom3
Submitter: None
Maintainer: Slash
Last Packager: Slash
Votes: 76
Popularity: 0.897880
First Submitted: 2005-12-21 00:34
Last Updated: 2015-06-08 17:48

Dependencies (0)

Sources (8)

Latest Comments

danger89 commented on 2015-12-28 20:41

The mirrors are not correct:
ftp://ftp.idsoftware.com/idstuff/source/idtech4-doom3-source-GPL.zip

Is not working. Maybe github is a better place to get the source code?
https://github.com/id-Software/DOOM-3

MrEvilBreakfast commented on 2015-04-14 21:38

I think I might be missing something. I downloaded and extracted the tarball, ran makepkg -s as per usual, but pacman can't find a bunch of things which I guess are orphaned dependencies.

error: target not found: lib32-libgl
error: target not found: lib32-alsa-lib
error: target not found: lib32-openal
error: target not found: lib32-libxxf86vm
error: target not found: lib32-libstdc++5
==> ERROR: 'pacman' failed to install missing dependencies.

Slash commented on 2014-12-20 23:31

Thanks, I fixed the mirror and uploaded again.

Anonymous comment on 2014-12-20 18:08

"Warning: All packages uploaded to the AUR before 2014-05-27 18:35 UTC (AUR 3.0.0 release) are missing AUR metadata and should be reuploaded by their respective maintainers. If you encounter such packages, please notify their maintainer about their status." - I have this issue with your package so I'm informing as asked. :)

Slash commented on 2014-07-23 18:42

The idsoftware FTP URL is the one complained about in the earlier comments. It goes up and down and the speed seems to be throttled. If it's the only working mirror, then I guess we have no choice ;)

DaMadOne commented on 2014-07-23 06:04

current GPL link doesn't work.

ftp://ftp.idsoftware.com/idstuff/source/idtech4-doom3-source-GPL.zip

passes integrity check and probably wont stop working.

Gently commented on 2014-04-11 20:41

Rebuilt. A few bigchanges. Decided to move all files to the data.pkg. I made more sense to me, so this is just the engine. I should be good, comments, suggestions would be liked. Final build. Sorry about the multiple listings.

change log:

2014-04-11 Gently <toddrpartridge@gmail.com>

* r2.a9c49da-2 :
pkgver to revision-number.shorthash (as no proper version yet)
URL updated
Multilib trimmed
Removed `provides=doom3` as is already package... right?
.install file proper adjustments
Changelog added
Removed patch (to aur/doom3-data)
Engine source from git tarball
Larger icon: http://tinyurl.com/lc47g2u
doom3-server added (wasn't built)
compiling flag is now... better: native
default: /usr/share/games/doom3/ and link to /opt/doom3/ for legacy
General tidyup

doom3 | https://drive.google.com/file/d/0B-3Ad-VEtVXFRDJXdVI4aWk2VG8/edit?usp=sharing | doom3-r2.a9c49da-2.src.tar.gz

Gently commented on 2014-04-07 19:33

Final build. Sorry about the multiple listings.

Rebuilt package:

doom3 | https://drive.google.com/file/d/0B-3Ad-VEtVXFYmtNbTFQazZ3Zkk/edit?usp=sharing | doom3-r2.a9c49da-1.src.tar.gz

change log:

* Engine source from git (as is more likely to get updated)
* multilib trim
* pkgver to revision number
* launchers and now just links
* larger icon: http://tinyurl.com/lc47g2u
* new compiling flags option: native
* added doom3-server (wasn't builtbefore)
* rebuild install-file

requires dependency... now:

doom3-data | https://drive.google.com/file/d/0B-3Ad-VEtVXFZGJRdjFrd3dVc0U/edit?usp=sharing | doom3-data-1.0-1.src.tar.gz

currently a placeholder package is there, I left a note, hoping to get it renewed:

https://aur.archlinux.org/packages/doom3-data/

Gently commented on 2014-04-07 16:42

Rebuilt package:

doom3 | https://drive.google.com/file/d/0B-3Ad-VEtVXFU2Y5T1dIaXRSU0U/edit?usp=sharing | doom3-r2.a9c49da-1.src.tar.gz

change log:

* Engine source from git (as is more likely to get updated)
* multilib trim
* pkgver to revision number
* launchers and now just links
* larger icon: http://tinyurl.com/lc47g2u
* new compiling flags option: native
* added doom3-server (wasn't builtbefore)
* rebuild install-file

requires dependency... now:

doom3-data | https://drive.google.com/file/d/0B-3Ad-VEtVXFZGJRdjFrd3dVc0U/edit?usp=sharing | doom3-data-1.0-1.src.tar.gz

currently a placeholder package is there, I left a note, hoping to get it renewed:

https://aur.archlinux.org/packages/doom3-data/

Gently commented on 2014-04-07 16:31

Rebuilt package:

doom3 | https://drive.google.com/file/d/0B-3Ad-VEtVXFWDRQbVVKcXJTNTQ/edit?usp=sharing | doom3-r2.a9c49da-1.src.tar.gz

change log:

* Engine source from git (as is more likely to get updated)
* multilib trim
* pkgver to revision number
* launchers and now just links
* larger icon: http://tinyurl.com/lc47g2u
* new compiling flags option: native
* added doom3-server (wasn't builtbefore)
* rebuild install-file

requires dependency... now:

doom3-data | https://drive.google.com/file/d/0B-3Ad-VEtVXFZGJRdjFrd3dVc0U/edit?usp=sharing | doom3-data-1.0-1.src.tar.gz

currently a placeholder package is there, I left a note, hoping to get it renewed:

https://aur.archlinux.org/packages/doom3-data/

Gently commented on 2014-04-07 15:09

Rebuilt package:

doom3 | https://drive.google.com/file/d/0B-3Ad-VEtVXFampYZ3d4NU9QVjQ/edit?usp=sharing | doom3-r2.a9c49da-1.src.tar.gz

change log:

* Engine source from git (as is more likely to get updated)
* multilib trim
* pkgver to revision number
* launchers and now just links
* larger icon: http://tinyurl.com/lc47g2u
* new compiling flags option: native
* added doom3-server (wasn't builtbefore)
* rebuild install-file

requires dependency... now:

doom3-data | https://drive.google.com/file/d/0B-3Ad-VEtVXFZGJRdjFrd3dVc0U/edit?usp=sharing | doom3-data-1.0-1.src.tar.gz

currently a placeholder package is there, I left a note, hoping to get it renewed:

https://aur.archlinux.org/packages/doom3-data/

Gently commented on 2014-04-07 11:39

Rebuilt package:

doom3 | https://drive.google.com/file/d/0B-3Ad-VEtVXFcm1ZM0kzbGFiVEk/edit?usp=sharing | doom3-r2.a9c49da-1.src.tar.gz

change log:

* Engine source from git (as is more likely to get updated)
* multilib trim
* pkgver to revision number
* launchers and now just links
* larger icon: http://tinyurl.com/lc47g2u
* new compiling flags option: native
* added doom3-server (wasn't builtbefore)
* rebuild install-file

requires dependency... now:

doom3-data | https://drive.google.com/file/d/0B-3Ad-VEtVXFZGJRdjFrd3dVc0U/edit?usp=sharing | doom3-data-1.0-1.src.tar.gz

currently a placeholder package is there, I left a note, hoping to get it renewed:

https://aur.archlinux.org/packages/doom3-data/

Gently commented on 2014-03-29 20:34

URL broken. Use this???: http://www.idsoftware.com/games/doom/doom3

fettouhi commented on 2012-10-18 11:17

Has anyone been able to play DOOM 3 with a gamepad on Linux? Like an xbox 360 controller?

Slash commented on 2012-07-26 18:35

Updated url

tea commented on 2012-07-26 00:15

The FTP is either broken or slow as hell.

Here's an alternative link. Passes the integrity check.
http://pnfiles.gamespy.com/hostedftp/planetdoom/fms/files/other/38/idtech4doom3sourceGPL.zip

MCMic commented on 2012-06-22 12:33

The FTP link seems broken :-/

hwkiller commented on 2012-06-21 23:06

ERROR: Missing 'WEAPON_NETFIRING' field in script object 'weapon_fists'

Why? I have the .pk4 files from the disc in ~/.doom3/base/, and it is loading them, but this is bugging out with the above error.

Slash commented on 2012-02-14 23:46

Updated .install file.

frb commented on 2012-02-08 20:17

Ok, tested the localization on doom3 too :)

frb commented on 2012-02-08 19:09

Localization is supported, I found it in the ubuntu wiki. I just tried copying zpak000.pk4 in /opt/iodoom3/base and change the lang in ~/.doom3/DoomConfig.cfg and it worked. You should update the .install file accordingly.
md5sum of zpak000.pk4 b9fbe9def3d590a0465d850cc147e0c4
I tried on iodoom3 package but I think this would work also on this one.

ref: http://wiki.ubuntu-it.org/Giochi/Doom3 (sorry it's in italian)

Slash commented on 2012-02-07 23:58

I think changing iodoom3-git to install to /opt/doom3/ is a good idea. Otherwise, mods would need to be made for each engine. For example, there would need to be "doom3-darkmod", "iodoom3-darkmod", etc.

frb commented on 2012-02-06 18:52

Imho you can install it on /opt/doom3 for mods compatibility as Slash do for ioquake3: https://aur.archlinux.org/packages.php?ID=25900

Behem0th commented on 2012-02-06 14:57

conflicts=(... 'iodoom3-git' ...)
My current package is installed in /opt/iodoom3/ and desktop file is iodoom3.desktop. Theoretically our packages do not conflict.
But I'm not sure whether I should rename the installation folder for compatibility with mods? Or, is left as it is to be able to establish simultaneously both our package?
I apologize for my English.

Slash commented on 2012-02-03 16:28

Thanks, updated.

frb commented on 2012-02-02 09:50

Ok tested, it's only needed as makedepends.

frb commented on 2012-02-02 09:24

I think zip should be in makedepends; I'll test it shortly.

gtmanfred commented on 2012-02-02 02:17

I just had this error http://sprunge.us/CWUM
might need to add zip to the depends

Slash commented on 2012-02-02 00:31

@Babets: Thanks, I updated the PKGBUILD. I also added iodoom3-bin (binary stable release) to the conflicts, just in case ;)

frb commented on 2012-02-01 19:11

It seems you don't need all game*.pk4 archives you only need to copy pak00*.pk4 files so change:
install -m 644 base/* $pkgdir/opt/doom3/base
install -m 644 d3xp/* $pkgdir/opt/doom3/d3xp

with

install -m 644 base/pak00*.pk4 $pkgdir/opt/doom3/base
install -m 644 d3xp/pak00*.pk4 $pkgdir/opt/doom3/d3xp

you should also change the "conflicts" array like this:

conflicts=('doom3-bin' 'iodoom3' 'iodoom3-git')

I have tested this changes on x86_64.

frb commented on 2012-01-30 22:18

Hi, I've cleaned and fixed a little bit the pkgbuild, it has been tested on x86_64:

------------------------
pkgname=doom3
pkgver=1.3.1.1304
pkgrel=10
pkgdesc='Doom 3 Engine. You need the retail .pk4 files to play.'
url='http://www.doom3.com/'
license=('custom:"DOOM 3"')
[ "$CARCH" = "i686" ] && depends=('libgl' 'alsa-lib' 'openal' 'libxxf86vm' 'libstdc++5')
[ "$CARCH" = "x86_64" ] && depends=('lib32-libgl' 'lib32-alsa-lib' 'lib32-openal' 'lib32-libxxf86vm' 'lib32-libstdc++5')
makedepends=('scons')
[ "$CARCH" = "x86_64" ] && makedepends=('gcc-multilib')
[ "$CARCH" = "i686" ] && optdepends=('alsa-plugins: pulseaudio-support' 'libpulse: pulseaudio support')
[ "$CARCH" = "x86_64" ] && optdepends=('lib32-alsa-plugins: pulseaudio-support' 'lib32-libpulse: pulseaudio support')
arch=('i686' 'x86_64')
install=doom3.install
source=('doom3.launcher' 'doom3-dedicated.launcher' 'doom3.desktop' \
'doom3.launcher64' 'doom3-dedicated.launcher64' 'doom3.png' \
"ftp://ftp.idsoftware.com/idstuff/source/idtech4-$pkgname-source-GPL.zip" \
"http://www.1337-server.net/doom3/$pkgname-linux-$pkgver.x86.run")
provides=('doom3')
conflicts=('doom3-bin')
md5sums=('da5f33feaa929c2c588a5a773c777e0f'
'6bdef1e111e5f450bca3f1c043caf4a2'
'facb0291279621d997f9504924d7e9b1'
'7ccbdd8f07672c6c34b2fe1de131e57c'
'aca58ca787ac3c2c44eea46b08a5a3c1'
'f99eb141eecc4b9dd188d6819d741546'
'8ef8ab167d89ffa801e974722391d3c0'
'6325f0936f59420d33668754032141cb')

build() {
cd $srcdir/doom3.gpl/neo

# Build Binaries from Source
scons NOCURL=1 BUILD=release BUILD_GAMEPAK=1

cd $srcdir

# Make Installer Executable
chmod +x $srcdir/doom3-linux-$pkgver.x86.run

# Extract Game Files
./doom3-linux-$pkgver.x86.run --tar xf
}

package() {
cd $srcdir

# Create Destination Directories
install -d $pkgdir/opt/doom3/{base,d3xp}

# Install Game Binaries
install -m 755 $srcdir/doom3.gpl/neo/doom.x86 \
$pkgdir/opt/doom3

# Install Game Files
install -m 644 base/* $pkgdir/opt/doom3/base
install -m 644 d3xp/* $pkgdir/opt/doom3/d3xp
install -m 644 {CHANGES,README,version.info} $pkgdir/opt/doom3
install -m 644 $srcdir/doom3.gpl/neo/game01-base.pk4 \
$pkgdir/opt/doom3/base/game01.pk4
install -m 644 $srcdir/doom3.gpl/neo/game01-d3xp.pk4 \
$pkgdir/opt/doom3/d3xp/game01.pk4

if [ "$CARCH" == "i686" ]; then
# Install Game Launcher (Client)
install -D -m 755 $srcdir/doom3.launcher \
$pkgdir/usr/bin/doom3

# Install Game Launcher (Server)
install -D -m 755 $srcdir/doom3-dedicated.launcher \
$pkgdir/usr/bin/doom3-dedicated
else
# Install Game Launcher (Client)
install -D -m 755 $srcdir/doom3.launcher64 \
$pkgdir/usr/bin/doom3

# Install Game Launcher (Server)
install -D -m 755 $srcdir/doom3-dedicated.launcher64 \
$pkgdir/usr/bin/doom3-dedicated
fi

# Install License (DOOM 3)
install -D -m 644 $srcdir/License.txt \
$pkgdir/usr/share/licenses/$pkgname/license.txt

# Install Icon
install -D -m 644 $srcdir/doom3.png \
$pkgdir/usr/share/pixmaps/doom3.png

# Install Desktop File
install -D -m 644 $srcdir/doom3.desktop \
$pkgdir/usr/share/applications/doom3.desktop
}
----------------------------------------------------

it seems that there's an additional pk4 archive needed for "Resurrection of Evil Expansion Pack" but I haven't found them in the installer as seen here: http://wiki.iodoom3.org/Downloading_and_Compiling_under_Linux

ezzetabi commented on 2012-01-04 12:13

@keedhost
Try installing the multilib-devel group.

@Slash
Probably the package misses something like:
[ "$CARCH" == x86_64 ] && makedepends=('scons' 'binutils-multilib' 'gcc-multilib' 'libtool-multilib')
[ "$CARCH" == i686 ] && makedepends=('scons')

Anonymous comment on 2011-12-31 18:42

$ makepkg -i
[ BLA-BLA-BLA]

ase/game/idlib/bv/Frustum_gcc.os
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/crtbeginS.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/crtendS.o' is incompatible with i386 output
collect2: ld returned 1 exit status
scons: *** [build/release/d3xp/sys/scons/libgame.so] Error 1
scons: building terminated because of errors.
==> ПОМИЛКА: Стався збій у build().
Припинення...


What`s happents?

Anonymous comment on 2011-12-20 19:42

makedepends should include zip

Slash commented on 2011-12-14 23:49

I added openal to the i686 dependencies, thanks!

Anonymous comment on 2011-12-14 02:26

thanks slash

Anonymous comment on 2011-12-14 02:26

thanks slash

dot commented on 2011-12-06 09:29

cool! you may want to add 'openal' to the x86 build (or even package) dependencies, w/o openal it complains about 'no AL/al.h' when built

Slash commented on 2011-12-06 00:43

This PKGBUILD now builds from source.

Slash commented on 2011-12-06 00:00

I renamed the existing package to doom3-bin. This may be useful for users who need punkbuster or want to use the stock binaries from idsoftware:

https://aur.archlinux.org/packages.php?ID=54624

This package will be updated momentarily.

Anonymous comment on 2011-12-04 18:18

also keep your eyes on

http://www.iodoom3.org/

https://git.iodoom.org/

I know that this is just the official doom3 code, just thought it was a good place to make you all aware of them.

ezzetabi commented on 2011-11-24 23:32

Now that the doom3 engine is open source you should not use the binaries anymore.

Here is a possible source package.
http://www.mediafire.com/?2ws43kra54ce4kh

ezzetabi commented on 2011-11-24 14:24

Now that the doom3 engine is open source you should not use the binaries anymore.

Here is a possible (untested) source package.
http://www.mediafire.com/?2ws43kra54ce4kh

ezzetabi commented on 2011-11-24 10:55

What about remake the package using the sources? It would be a great improvement overall for 64bit users.
ftp://ftp.idsoftware.com/idstuff/source/idtech4-doom3-source-GPL.zip

zebulon commented on 2011-08-15 06:49

@Slash: as far as I know, this is the latest version.

Slash commented on 2011-08-06 19:10

Why was this marked out of date? Per http://zerowing.idsoftware.com/linux/doom/ it is the latest version. Is there another issue?

Anonymous comment on 2010-12-06 02:59

I found some issues with your tarball. AUR guidelines suggest to not include binaries. Such as:
doom3/doom3.png
Other TUs seems to think an icon or two is okay, but maybe you should ask upstream to include it. Please fix this.

Slash commented on 2010-09-29 18:43

@lynix: Thanks, PKGBUILD updated

lynix commented on 2010-09-29 09:25

Got it working. Please add lib32-libstdc++5 and lib32-openal as dependencies for x86_64.

lynix commented on 2010-09-20 20:46

Segfaults for me :( Anyone knows if this is still working on a current Arch64?

Log:

glprogs/arbVP_glasswarp.txt: File not found
glprogs/arbFP_glasswarp.txt: File not found
-------------------------------
WARNING: vertex array range in virtual memory (SLOW)
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
Shutting down sound hardware
----------- Alsa Shutdown ------------
close pcm
dlclose
--------------------------------------
idRenderSystem::Shutdown()