Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
duke3d fails to run
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
kopo
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Thu Jun 23, 2005 9:53 am    Post subject: duke3d fails to run Reply with quote

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
View user's profile Send private message
Alex_Lewchyshyn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2005
Posts: 104
Location: At The Internet Cafe

PostPosted: Thu Jun 23, 2005 4:30 pm    Post subject: Re: duke3d fails to run Reply with quote

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
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Fri Jun 24, 2005 4:34 am    Post subject: Reply with quote

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
View user's profile Send private message
kopo
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Sun Jun 26, 2005 6:44 pm    Post subject: Reply with quote

how did you do this ?

in root the command "duke3d" don't exist
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Mon Jun 27, 2005 4:53 am    Post subject: Reply with quote

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
View user's profile Send private message
kopo
n00b
n00b


Joined: 31 May 2005
Posts: 37

PostPosted: Tue Jun 28, 2005 4:35 pm    Post subject: Reply with quote

thanks is ok :)

but is imposible to play it with another user ?
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Wed Jun 29, 2005 4:47 am    Post subject: Reply with quote

Should be, but so far i do not know how.
_________________
"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
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Thu Jun 30, 2005 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Alex_Lewchyshyn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2005
Posts: 104
Location: At The Internet Cafe

PostPosted: Thu Jun 30, 2005 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
NightTwix
n00b
n00b


Joined: 06 Jan 2005
Posts: 58

PostPosted: Tue Jul 19, 2005 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
TartuAngel
n00b
n00b


Joined: 20 Jul 2005
Posts: 2

PostPosted: Wed Jul 20, 2005 1:30 pm    Post subject: Reply with quote

just wanted to add, that if you are duke3d fans, you should check out those addons for it. http://www.planetduke.com/hrp/links.htm
Maybe those will work ok :)
_________________
http://www.infoget.net - here you get your products and services
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Tue Aug 02, 2005 3:12 am    Post subject: mostly solved Reply with quote

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
View user's profile Send private message
llogiq
n00b
n00b


Joined: 03 Aug 2005
Posts: 3
Location: Frankfurt, Germany

PostPosted: Wed Aug 03, 2005 2:05 pm    Post subject: renaming network.cfg to network.cfg.old did the trick for me Reply with quote

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... :-D
Back to top
View user's profile Send private message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 309

PostPosted: Wed Jan 11, 2006 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jan 11, 2006 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 309

PostPosted: Thu Jan 12, 2006 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Jan 12, 2006 12:10 pm    Post subject: Reply with quote

Add a line to /etc/portage/package.use
Code:
media-libs/sdl-mixer  -mikmod

Then recompile sdl-mixer.
Back to top
View user's profile Send private message
clinux_rulz
n00b
n00b


Joined: 07 Jan 2006
Posts: 19

PostPosted: Mon Jan 16, 2006 3:46 am    Post subject: Reply with quote

Thanks PaulBredbury, that work perfectly.

How did you know to do that??? :D

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. :D
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Jan 16, 2006 7:34 am    Post subject: Reply with quote

clinux_rulz wrote:
How did you know to do that??? :D

From what zmedico said above :wink: . Also, I had previously encountered this bug, and its workaround.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum