Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13515 - Request for e-build for XBoing (http://www.techrescue.org/xboing/)
Summary: Request for e-build for XBoing (http://www.techrescue.org/xboing/)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 13:46 UTC by Joe Adams
Modified: 2003-06-20 21:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Adams 2003-01-08 13:46:48 UTC
I would like to request an ebuild for the game XBoing, at 
http://www.techrescue.org/xboing/.

(Note: one sound file distributed with XBoing is "PG rated" if that matters - 
if so, to fix it, modify balllost.au.)

Thanks!
Comment 1 SpanKY gentoo-dev 2003-03-04 11:08:09 UTC
ok, it's been added to cvs (but masked) ... 
reason being i can get it to compile, but then it refuses to run ... so whatever ;) 
 
http://cvs.gentoo.org/cg-bin/viewcvs.cgi/gentoo-x86/app-games/xboing/xboing-2.4.ebuild?rev=1.2&content-type=text/vnd.viewcvs-markup 
Comment 2 SpanKY gentoo-dev 2003-03-19 04:52:56 UTC
lets fix it up then :)
joe: post your comments here please ?
Comment 3 Joe Adams 2003-03-19 07:17:22 UTC
Thank you for your work on this!!!

I have been playing around with the ebuild (and the Debian version on another 
machine) and learned the following, which gets it to *almost* work.  :)

  1.  For any display depth other than 8, the option -usedefcmap needs to be 
specified on the command line, or the game won't run.

  2.  There are a few minor problems with the audio, which is 90% of the fun 
of the game.  :)  I think I know how to fix all but one.

    a.  It always tries to open /dev/audio; on my box at least /dev/audio 
doesn't exist, but one can either create a symlink from /dev/dsp, or (better) 
patch the code to write to /dev/dsp instead of /dev/audio.

    b.  The -sound option must be specified on the command line in order for 
sound to work.

    c.  The sound is too loud, and distorted, and the -maxvol option which I 
think is supposed to fix that seems to be ignored - I can't figure out 
anyplace in the code it is actually used.

  3.  "make install" doesn't install the man page - we need to "make 
install.man" as well.

The Debian version has patches to init.c that fix problems 1 and 2(b) by 
making the -usedefcmap and -sound the defaults, and providing -nousedefcmap 
and -nosound as options to turn these off if desired.  However, I don't know 
the best way to fix 2(a) since I don't know if /dev/dsp is standard on all 
Gentoo boxes, or whether it depends on which sound drivers are loaded.  And I 
have no clue how to fix 2(c).

Once again I appreciate your work on this!


Joe

Comment 4 SpanKY gentoo-dev 2003-06-20 21:44:51 UTC
ok i grabbed the debian patch and customized it to make it Gentoo friendly ... 
this gives us 2.4-r1 which should solve all issues 
 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/xboing/xboing-2.4-r1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup