Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109825 - ebuild request: games-fps/quake4
Summary: ebuild request: games-fps/quake4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 08:53 UTC by Chris Gianelloni (RETIRED)
Modified: 2006-03-04 07:44 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
games-fps/quake4/quake4-1.0.2147.12.ebuild (quake4-1.0.2147.12.ebuild,2.45 KB, text/plain)
2005-10-21 06:55 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4/quake4-1.0.2147.12.ebuild (quake4-1.0.2147.12.ebuild,2.58 KB, text/plain)
2005-10-21 07:52 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild (quake4-data-1.0.2147.12.ebuild,1.40 KB, text/plain)
2005-10-22 12:33 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4/quake4-1.0.2147.12.ebuild (quake4-1.0.2147.12.ebuild,2.55 KB, text/plain)
2005-10-22 12:35 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4/quake4-1.0.2147.12.ebuild (quake4-1.0.2147.12.ebuild,2.52 KB, text/plain)
2005-10-22 12:47 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild (quake4-data-1.0.2147.12.ebuild,1.41 KB, text/plain)
2005-10-22 12:55 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4/quake4-1.0.2147.12.ebuild (quake4-1.0.2147.12.ebuild,2.59 KB, text/plain)
2005-10-22 15:39 UTC, Chris Gianelloni (RETIRED)
Details
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild (quake4-data-1.0.2147.12.ebuild,1.46 KB, text/plain)
2005-10-22 15:40 UTC, Chris Gianelloni (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2005-10-19 08:53:59 UTC
OK... This is the quake4 bug... so don't bother posting one... I'm already
working on an ebuild for it...
Comment 1 Lee Trager 2005-10-19 16:24:32 UTC
For the cdinstall use flag please remember that there are two versions of the
game, the normal CD version and the special DVD Edition. You can read a little
about the differences here
http://zerowing.idsoftware.com/linux/quake4/#head-be069a0e0171a804c6e94cd67c762cee19162b14
Comment 2 Brenden Matthews 2005-10-20 15:57:13 UTC
yay, can't wait :)

/me is running out to buy the game now
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-21 06:55:50 UTC
Created attachment 71117 [details]
games-fps/quake4/quake4-1.0.2147.12.ebuild

This is my initial ebuild.  When this goes into portage, it'll have the
USE="cdinstall" stuff uncommented.  I simply haven't gotten the quake4-data
ebuild completed yet.  Please test this ebuild and report back here.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-21 07:52:00 UTC
Created attachment 71120 [details]
games-fps/quake4/quake4-1.0.2147.12.ebuild

Updated ebuild that isn't busted... thanks, SpanKY
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-21 08:11:55 UTC
If anyone has the CD version of this, please post the output of "ls -lR" from
each CD here, or list which .pk4 file is located where on each CD.

Thanks...
Comment 6 Anton Romanov 2005-10-21 09:24:32 UTC
!!! ERROR: games-fps/quake4-1.0.2147.12 failed.
!!! Function unpack_makeself, Line 1131, Exitcode 0
!!! makeself version '2.1.5' not supported
Comment 7 Alessio Cassibba (X-Drum) 2005-10-21 10:22:01 UTC
!!! ERROR: games-fps/quake4-1.0.2147.12 failed.
!!! Function check_license, Line 1184, Exitcode 0
!!! Could not find requested license QUAKE4
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-21 11:25:56 UTC
OK.  Please do not test this if you can't fix the eclass or know how to get
around portage not having a license... ;]

I fixed the eclass in the tree, so you'll need to sync up in about 30 minutes to
an hour.  As for the license being missing, I leave that as an excercise for the
tester.  Hey, I can't make it that easy on you, now can I?

:P
Comment 9 David Johnson 2005-10-22 07:45:39 UTC
"If anyone has the CD version of this, please post the output of "ls -lR" from
each CD here, or list which .pk4 file is located where on each CD.

Thanks..."

all of the files on the cd's are in the same directory on each cd
/Setup/Data/q4base/

CD1

spectre david # ls -l /mnt/cdrom/Setup/Data/q4base/
total 571376
-r-xr-xr-x  1 root root   1661738 Sep 23 03:30 game000.pk4
-r-xr-xr-x  1 root root      4119 Sep 23 03:30 mapcycle.scriptcfg
-r-xr-xr-x  1 root root 221232656 Sep 23 03:34 pak010.pk4
-r-xr-xr-x  1 root root 221047953 Sep 23 03:34 pak011.pk4
-r-xr-xr-x  1 root root  75481176 Sep 23 03:34 pak012.pk4
-r-xr-xr-x  1 root root  65658433 Sep 23 03:34 zpak_english.pk4


CD2

spectre david # ls -l /mnt/cdrom/Setup/Data/q4base/
total 649454
-rwx------  1 400 401 223947812 Sep 23 03:30 pak001.pk4
-rwx------  1 400 401 220639087 Sep 23 03:31 pak002.pk4
-rwx------  1 400 401 220452548 Sep 23 03:31 pak003.pk4


CD3

spectre david # ls -l /mnt/cdrom/Setup/Data/q4base/
total 651012
-rwx------  1 400 401 221972032 Sep 23 03:31 pak004.pk4
-rwx------  1 400 401 224006192 Sep 23 03:32 pak005.pk4
-rwx------  1 400 401 220656388 Sep 23 03:32 pak006.pk4


CD4

spectre david # ls -l /mnt/cdrom/Setup/Data/q4base/
total 647249
-rwx------  1 400 401 221657190 Sep 23 03:32 pak007.pk4
-rwx------  1 400 401 220516301 Sep 23 03:33 pak008.pk4
-rwx------  1 400 401 220608314 Sep 23 03:33 pak009.pk4
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 12:33:39 UTC
Created attachment 71215 [details]
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild

Here's the quake4-data ebuild.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 12:35:39 UTC
Created attachment 71217 [details]
games-fps/quake4/quake4-1.0.2147.12.ebuild

Here's the quake4 ebuild to go with it... if nobody sees anything glaringly
stupid with this in the next day or so, I'll add them both to portage...

I really need people with both the DVD and the CD edition to test out
quake4-data and report back here.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 12:36:26 UTC
David:  Thanks for the information.  Can you test these ebuilds?
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 12:47:40 UTC
Created attachment 71220 [details]
games-fps/quake4/quake4-1.0.2147.12.ebuild

It helps if I remember IUSE... heh
Comment 14 FieldySnuts 2005-10-22 12:54:55 UTC
Any chance of a Demo?
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 12:55:37 UTC
Created attachment 71221 [details]
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild

...and if I attach the right ebuild to the bug...
Comment 16 grenouille 2005-10-22 13:22:37 UTC
quake4-data ebuild is working nice here (limited edition dvd), thanks for the 
work!
Comment 17 grenouille 2005-10-22 13:24:12 UTC
oops, talked too fast...

Quake4 Final V1.0.0.0 Build 2147.12 linux-x86 Oct 20 2005
found interface eth0 - 192.168.1.2/255.255.255.0
found interface lo - loopback
CPU: AMD CPU with MMX & 3DNow! & SSE
enabled Flush-To-Zero mode
--------- Initializing File System ----------
Loaded pk4 /opt/quake4/q4base/game000.pk4 with checksum 0x9321cee4
Loaded pk4 /opt/quake4/q4base/game100.pk4 with checksum 0x6f346a2
Current search path:
/home/grenouille/.quake4/q4base
/opt/quake4/q4base
/opt/quake4/q4base/game100.pk4 (2 files)
/opt/quake4/q4base/game000.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
---------------------------------------------
TODO: Sys_SetClipboardData
********************
ERROR: Couldn't load default.cfg  -  Check your working folder.
********************
Unknown command 'vid_restart'
--------------- BSE Shutdown ----------------
---------------------------------------------
WARNING: rvServerScanGUI::Clear() - invalid scanGUI

idRenderSystem::Shutdown()
Sys_Error: Couldn't load default.cfg  -  Check your working folder.
Comment 18 Paul Bredbury 2005-10-22 14:01:20 UTC
"cdrom_load_next_cd" is missing before "Copying files from Disk 4..." in
quake4-data, which I expect will mess up the CD people.

The "pak00*" wildcards mean a lot of duplicate copying takes place for DVD owners.

The docs in /var/tmp/portage/quake4-1.0.2147.12/work/Docs/ENG are not installed.

I get the same error as comment #17 - this is with the UK DVD.
Comment 19 Paul Bredbury 2005-10-22 14:25:13 UTC
The problem with default.cfg is fixed by moving the pk4 files from /opt/quake4
to /opt/quake4/q4base/

I would expect the docs to be in /usr/share/doc/quake4...

But, with the fixes mentioned above, it works!
Comment 20 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 15:39:23 UTC
Created attachment 71225 [details]
games-fps/quake4/quake4-1.0.2147.12.ebuild

Alright... this one should work better than the others
Comment 21 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-22 15:40:10 UTC
Created attachment 71226 [details]
games-fps/quake4-data/quake4-data-1.0.2147.12.ebuild

This one installs the .pk4 files into the right place and also copies pak*
files explicitly, to keep from doing multiple copies for DVD users.
Comment 22 John 2005-10-23 20:52:27 UTC
Both ebuilds work for me.  Game installs and runs successfully.
Comment 23 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-24 11:59:14 UTC
Alright, I've added this to CVS now...
Comment 24 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-24 12:21:06 UTC
Oh yeah... it's quake4-bin in the tree...
Comment 25 Brenden Matthews 2005-10-24 22:08:21 UTC
Should it not be:

DESCRIPTION="Sequel to Quake 3, an Id 3D first-person shooter"

instead of:

DESCRIPTION="Sequel to Quake 2, an Id 3D first-person shooter"

or did I miss something?
Comment 26 Anton Romanov 2005-10-24 22:50:09 UTC
Quake4 is really a sequel to quake 2 :)