View previous topic :: View next topic |
Author |
Message |
kopo n00b
Joined: 31 May 2005 Posts: 37
|
Posted: Thu Jun 23, 2005 9:53 am Post subject: duke3d fails to run |
|
|
hello (sorry for my bad english i'm french), i would like to play at duke3b,. but i got a error when i run it:
Code: | Duke Nukem 3D v1.4 - Atomic Edition
Copyright (c) 1996 3D Realms Entertainment
Multiple Configuration Files Encountered
========================================
Please choose a configuration file from the following list by pressing its
corresponding letter:
a. network.cfg
b. DUKE3D.CFG <DEFAULT>
(duke3d.cfg will be used if no selection is made within 10 seconds.)
0 seconds left.
Using Setup file: '/home/nicolas/.duke3d/duke3d.cfg'
STUB: CONTROL_ClearAssignments (CONTROL_ClearAssignments, control.c:209)
Compiling: 'GAME.CON'.
Including: 'DEFS.CON'.
Including: 'USER.CON'.
Code Size:64840 bytes(1794 labels).
* Hold Esc to Abort. *
Loading art header.
Checking sound inits.
Unknown Multivoc error code.
|
i have the last version of SDL and sdl-mixer
Could somebody help me ? thanks |
|
Back to top |
|
|
Alex_Lewchyshyn Tux's lil' helper
Joined: 18 Jun 2005 Posts: 104 Location: At The Internet Cafe
|
Posted: Thu Jun 23, 2005 4:30 pm Post subject: Re: duke3d fails to run |
|
|
kopo wrote: | hello (sorry for my bad english i'm french), i would like to play at duke3b,. but i got a error when i run it:
Code: | Duke Nukem 3D v1.4 - Atomic Edition
Copyright (c) 1996 3D Realms Entertainment
Multiple Configuration Files Encountered
========================================
Please choose a configuration file from the following list by pressing its
corresponding letter:
a. network.cfg
b. DUKE3D.CFG <DEFAULT>
(duke3d.cfg will be used if no selection is made within 10 seconds.)
0 seconds left.
Using Setup file: '/home/nicolas/.duke3d/duke3d.cfg'
STUB: CONTROL_ClearAssignments (CONTROL_ClearAssignments, control.c:209)
Compiling: 'GAME.CON'.
Including: 'DEFS.CON'.
Including: 'USER.CON'.
Code Size:64840 bytes(1794 labels).
* Hold Esc to Abort. *
Loading art header.
Checking sound inits.
Unknown Multivoc error code.
|
i have the last version of SDL and sdl-mixer
Could somebody help me ? thanks |
sorry kopo, can't help ya. But I wish I could. _________________ [img]http://miniprofile.xfire.com/bg/sf/type/0/alex132005.png[/img] |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Fri Jun 24, 2005 4:34 am Post subject: |
|
|
Same problem .. except i could not read the error message (Unknown Multivoc error code.) until i did an strace. Will try to figure that out.
PS : Ok, it is a permission issue, it runs well under root. _________________ "Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals |
|
Back to top |
|
|
kopo n00b
Joined: 31 May 2005 Posts: 37
|
Posted: Sun Jun 26, 2005 6:44 pm Post subject: |
|
|
how did you do this ?
in root the command "duke3d" don't exist |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Mon Jun 27, 2005 4:53 am Post subject: |
|
|
Because root does not have the PATH set for games. You have to type : /usr/games/bin/duke3d. _________________ "Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals |
|
Back to top |
|
|
kopo n00b
Joined: 31 May 2005 Posts: 37
|
Posted: Tue Jun 28, 2005 4:35 pm Post subject: |
|
|
thanks is ok
but is imposible to play it with another user ? |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Thu Jun 30, 2005 10:25 am Post subject: |
|
|
No problem with sdl-mixer-1.2.5-r1, only sdl-mixer-1.2.6 which was recently marked stable.
Pydance has the same problem with sdl-mixer-1.2.6 (root privileges required)
Code: | $ pydance
0 joystick(s) found.
Loaded input configuration.
Traceback (most recent call last):
File "./pydance.py", line 36, in ?
import dance
File "/diskless/share/usr/share/games/pydance/dance.py", line 9, in ?
from player import Player
File "/diskless/share/usr/share/games/pydance/player.py", line 5, in ?
import arrows
File "/diskless/share/usr/share/games/pydance/arrows.py", line 10, in ?
class AbstractArrow(pygame.sprite.Sprite):
File "/diskless/share/usr/share/games/pydance/arrows.py", line 17, in AbstractArrow
"assist-%s.ogg" % d))
pygame.error: mixer system not initialized |
Not everything is broke though. I can play sdlroids normally with either version of sdl-mixer. _________________ Zac |
|
Back to top |
|
|
Alex_Lewchyshyn Tux's lil' helper
Joined: 18 Jun 2005 Posts: 104 Location: At The Internet Cafe
|
Posted: Thu Jun 30, 2005 4:48 pm Post subject: |
|
|
Jeremy_Z wrote: | Same problem .. except i could not read the error message (Unknown Multivoc error code.) until i did an strace. Will try to figure that out.
PS : Ok, it is a permission issue, it runs well under root. |
I'll agree with that. _________________ [img]http://miniprofile.xfire.com/bg/sf/type/0/alex132005.png[/img] |
|
Back to top |
|
|
NightTwix n00b
Joined: 06 Jan 2005 Posts: 58
|
Posted: Tue Jul 19, 2005 10:44 pm Post subject: |
|
|
zmedico wrote: |
Code: | $ pydance
0 joystick(s) found.
Loaded input configuration.
Traceback (most recent call last):
File "./pydance.py", line 36, in ?
import dance
File "/diskless/share/usr/share/games/pydance/dance.py", line 9, in ?
from player import Player
File "/diskless/share/usr/share/games/pydance/player.py", line 5, in ?
import arrows
File "/diskless/share/usr/share/games/pydance/arrows.py", line 10, in ?
class AbstractArrow(pygame.sprite.Sprite):
File "/diskless/share/usr/share/games/pydance/arrows.py", line 17, in AbstractArrow
"assist-%s.ogg" % d))
pygame.error: mixer system not initialized |
|
well, i got this problem, too. It runs as root as it should (with sound and no errors)
and yes, my user is member of 'audio' group.
I also tried to change permissions of /etc/dev/sound/* to a+rw without success.
I really think its a permission problem but i dont know whats wrong or where to look.
btw i use 2.6.12-r4 kernel with soundstuff as modules
soundcard is a nforce2 onboard chip...
what now? should we file a bug or do we just miss an obvious point?
*EDIT*
ooops, I missed this line
zmedico wrote: | No problem with sdl-mixer-1.2.5-r1, only sdl-mixer-1.2.6 which was recently marked stable. |
after downgrading to sdl-mixer-1.2.5-r1 it works perfect! |
|
Back to top |
|
|
TartuAngel n00b
Joined: 20 Jul 2005 Posts: 2
|
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Tue Aug 02, 2005 3:12 am Post subject: mostly solved |
|
|
It's a permission problem for the music.raw file that is automatically created
in the current directory when sdl-mixer-1.2.6 is built with USE="mikmod". Some
games like dude3d and pydance put the music.raw into a directory where the user
does not necessarily have write permission (/usr/share/games/${PN}).
See Bug 99590. _________________ Zac |
|
Back to top |
|
|
llogiq n00b
Joined: 03 Aug 2005 Posts: 3 Location: Frankfurt, Germany
|
Posted: Wed Aug 03, 2005 2:05 pm Post subject: renaming network.cfg to network.cfg.old did the trick for me |
|
|
Hi folks, I had the same problem as the first poster.
I just renamed network.cfg to network.cfg.old (to get it out of the way) and behold, The Duke is here... |
|
Back to top |
|
|
mizery de aria Guru
Joined: 07 Dec 2003 Posts: 309
|
Posted: Wed Jan 11, 2006 2:13 pm Post subject: |
|
|
Any updates on this?
Running as a user in games/audio groups has issues
Running as root, no issues, sound works.
I even created /usr/share/games/duke3d/music.raw with user:root (perms:rw) group:games (perms:rw)
Code: | chmod ug+rw /usr/share/games/duke3d/music.raw |
and tried running as user again, but still same problem. So maybe this issue is more than just music.raw file/permission issue?
mm, update:
quick fix:
Code: | chmod o+rw /usr/share/games/duke3d/music.raw |
I wonder what group seems to be used which is why the above attempt of mine didn't work...it's not the "audio" group either _________________ Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Jan 11, 2006 2:25 pm Post subject: |
|
|
mizery de aria wrote: | Running as a user in games/audio groups has issues |
As a guess, how about adding yourself to the "video" group? |
|
Back to top |
|
|
mizery de aria Guru
Joined: 07 Dec 2003 Posts: 309
|
Posted: Thu Jan 12, 2006 12:03 pm Post subject: |
|
|
Adding the user to the video group has no effect
Also changing the music.raw file to be owned by group video (which group permissions are still set at rw) and removing rw permissions from other, same issue _________________ Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Jan 12, 2006 12:10 pm Post subject: |
|
|
Add a line to /etc/portage/package.use
Code: | media-libs/sdl-mixer -mikmod |
Then recompile sdl-mixer. |
|
Back to top |
|
|
clinux_rulz n00b
Joined: 07 Jan 2006 Posts: 19
|
Posted: Mon Jan 16, 2006 3:46 am Post subject: |
|
|
Thanks PaulBredbury, that work perfectly.
How did you know to do that???
I had my duke3d working perfectly until I install "Rise of the Triad" (rott), then duke3d failed.
Now I tried what you suggested and then recompiled (re-emerged) sdl-mixer, and now it is working PERFECTLY.
THANKS. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Jan 16, 2006 7:34 am Post subject: |
|
|
clinux_rulz wrote: | How did you know to do that??? |
From what zmedico said above . Also, I had previously encountered this bug, and its workaround. |
|
Back to top |
|
|
|