Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314751 - quake2-yamagi-2.11 (new ebuild)
Summary: quake2-yamagi-2.11 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: EBUILD
: 344489 348817 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-11 22:36 UTC by Brandon Captain
Modified: 2018-03-04 11:38 UTC (History)
4 users (show)

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


Attachments
quake2-yamagi-2.11 (quake2-yamagi-2.11.ebuild,1.88 KB, text/plain)
2010-04-11 22:37 UTC, Brandon Captain
Details
Useful sed commands (BUILD,1.43 KB, text/plain)
2011-01-02 10:42 UTC, Paul Bredbury
Details
Not working ebuild (quake2-yamagi-4.21.ebuild,1.92 KB, text/plain)
2012-06-01 21:43 UTC, No Name
Details
quake2-yamagi-5.00.ebuild (quake2-yamagi-5.00.ebuild,2.23 KB, text/plain)
2012-09-14 22:41 UTC, James Le Cuirot
Details
yq2lib.patch (yq2lib.patch,898 bytes, patch)
2012-09-14 22:42 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Captain 2010-04-11 22:36:27 UTC
This is a enhanced client for id Software's legendary Quake II. It focuses on single player game and cooperative game, not on classic multiplayer. If you're interested in deatmatch or capture the flag, try another client like R1Q2 or AprQ2. This client is based upon Icculus Quake II, but has a vast amount of improvements. Hundreds of type errors were fixed, a lot of bugs in gameplay, some not working features were repaired and some map quirks added. Yamagi Quake II runs not only crash free - it's possible to play Quake II and both addons without even one failure - it's also possible to play without any limitations under AMD64 platforms and "real" 64-bit platforms like Sun Sparc64. Icculus Quake II and id Software's client have some ugly bugs when running on other platforms than i386, like clipping problems or broken elevators. The main client and games are released under the terms of the GPL version 2, both addons are released under the terms of the Quake II SDK License.

Reproducible: Always




I haven't tested any of the use flags on this but I presume they should work
Comment 1 Brandon Captain 2010-04-11 22:37:29 UTC
Created attachment 227441 [details]
quake2-yamagi-2.11
Comment 2 Brandon Captain 2010-04-11 22:40:18 UTC
yamagi doesnt seem to want to follow symlink in ~/.quake2, so to start it just use

yamagi +set basedir /usr/share/games/quake2
Comment 3 Brandon Captain 2010-04-11 22:51:08 UTC
seems I just didn't have ref_gl.so symlinked is all.
Comment 4 Adomas Jackevičius 2010-12-16 07:43:56 UTC
Works good for me. Waiting for it to show up in portage.
Comment 5 Paul Bredbury 2011-01-02 10:42:18 UTC
Created attachment 258617 [details]
Useful sed commands

Here's what I've got working. It's from a different distro (Lunar), but it's all pretty obvious.
Comment 6 Rafał Mużyło 2011-03-14 22:07:41 UTC
*** Bug 344489 has been marked as a duplicate of this bug. ***
Comment 7 Rafał Mużyło 2011-03-14 22:07:58 UTC
*** Bug 348817 has been marked as a duplicate of this bug. ***
Comment 8 Robert Rankin 2011-03-14 22:36:18 UTC
Version 3.00 is now out. This version should probably replace quake2-icculus
Comment 9 Rafał Mużyło 2012-05-06 13:53:39 UTC
In the meantime 4.10 was released.
The major change in 4.00 was moving ctf into a separate tarball.
Top level Makefile didn't have any major changes.
Comment 10 No Name 2012-06-01 21:43:34 UTC
Created attachment 313877 [details]
Not working ebuild

Hello,

have test to build an ebuild for the new version, but sadly they changed the files from tar.bz2 to tar.xz... i have inherit the textlive eclass and added "texlive-module_src_unpack" for unpack the file... but the ebuild give error.

maybe someone can help.
Comment 11 James Le Cuirot gentoo-dev 2012-09-14 22:41:08 UTC
Created attachment 323814 [details]
quake2-yamagi-5.00.ebuild

I'm sorry but these ebuilds are terrible! I tried to fire up Qudos and found that it hates PulseAudio. SDL -> ALSA/OSS -> PA might work but Qudos is old and unmaintained. Yamagi saw a release earlier this month so I thought I'd give that a try instead. Here's a new ebuild. You'll also need the following patch.
Comment 12 James Le Cuirot gentoo-dev 2012-09-14 22:42:28 UTC
Created attachment 323816 [details, diff]
yq2lib.patch

This patch adds /usr/games/lib(64)/quake2-yamagi to the game's search path, negating the need for a shell script wrapper.
Comment 13 James Le Cuirot gentoo-dev 2012-09-17 21:48:18 UTC
For the AprQ2 multi-player friendly client, see bug #435362.
Comment 14 No Name 2013-05-08 15:10:10 UTC
http://gpo.zugaina.org/games-fps/yamagi-quake2

Here is the new version from paddymac. But it does not start:

yamagi-quake2

Yamagi Quake II v5.10
=====================

Client build options:
 + CD audio
 + OGG/Vorbis
 + OpenAL audio
 + Zip file support
Platform: Linux
Architecture: i386
Byte ordering: little endian

Using /usr/share/games/quake2/baseq2/ to fetch paks
Added packfile '/usr/share/games/quake2/baseq2/pak0.pak' (3307 files).
Added packfile '/usr/share/games/quake2/baseq2/pak1.pak' (279 files).
Added packfile '/usr/share/games/quake2/baseq2/pak2.pak' (2 files).
Added packfile '/usr/share/games/quake2/baseq2/kmquake2_textures.pk3' (2307 files).
Added packfile '/usr/share/games/quake2/baseq2/kmquake2_hud.pk3' (105 files).
Added packfile '/usr/share/games/quake2/baseq2/kmquake2_models.pk3' (268 files).
Using '/home/christoph//.yq2/baseq2' for writing.
execing default.cfg
couldn't exec yq2.cfg
execing config.cfg
Console initialized.

------- sound initialization -------
LoadLibrary(libopenal.so.1)
...opening OpenAL device:ok
...creating OpenAL context: ok
...making context current: ok

OpenAL settings:
AL_VENDOR: OpenAL Community
AL_RENDERER: OpenAL Soft
AL_VERSION: 1.1 ALSOFT 1.15.1
AL_EXTENSIONS: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency

Available OpenAL devices:
- ALSA Default
- Creative X-Fi, Front/WaveIn (CARD=XFi,DEV=0)
- Creative X-Fi, Surround (CARD=XFi,DEV=1)
- Creative X-Fi, Center/LFE (CARD=XFi,DEV=2)
- Creative X-Fi, Side (CARD=XFi,DEV=3)
- Creative X-Fi, IEC958 Non-audio (CARD=XFi,DEV=4)

Current OpenAL device:
- OpenAL Soft

Number of OpenAL sources: 31

Starting Ogg Vorbis.
Ogg Vorbis not initializing.
------------------------------------

----- refresher initialization -----
Sys_LoadLibrary failed: ./ref_gl.so: cannot open shared object file: No such file or directory
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
-------- game initialization -------
LoadLibrary("game.so")
********************
ERROR: failed to load game DLL
********************
Shutting down OpenAL.
Error: Error during initialization

Would be nice if someone or paddymac itself could fix it and then this ebuild could be added to portage. because there is only the not maintained single player quake2 kmquake2 in portage. this should be a good and maintained replacement or addition.
Comment 15 No Name 2013-05-08 15:12:20 UTC
And thanks james, will test your ebuild also, maybe than the game will start.

I did not see that you build a own ebuild.
Comment 16 Larry the Git Cow gentoo-dev 2018-03-04 11:38:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f405aa6406f2d58f628fcb4cf265fa8e863705e0

commit f405aa6406f2d58f628fcb4cf265fa8e863705e0
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2018-01-18 23:33:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-03-04 11:38:20 +0000

    games-fps/yamagi-quake2: new package
    
    This is the Yamagi Quake II Client, an enhanced version of id Software's
    Quake II with focus on offline and coop gameplay. Both the gameplay and
    the graphics are unchanged, but many bugs in the last official release
    were fixed and some nice to have features like widescreen support and a
    modern OpenGL 3.2 renderer were added. Unlike most other Quake II source
    ports Yamagi Quake II is fully 64 bit clean and is still actively
    maintained.
    
    Closes: https://bugs.gentoo.org/314751

 games-fps/yamagi-quake2/Manifest                   |   4 +
 .../files/yamagi-quake2-addon-respect-flags.patch  |  30 +++++
 .../files/yamagi-quake2-respect-flags.patch        |  40 +++++++
 games-fps/yamagi-quake2/metadata.xml               |  21 ++++
 games-fps/yamagi-quake2/yamagi-quake2-7.10.ebuild  | 132 +++++++++++++++++++++
 5 files changed, 227 insertions(+)