I got xmame 0.72 (latest one) installed from source.  The problem is
that when i try to run it as non-root, it crashes and says that i have a
corrupted filesystem, like so:

nfo: trying to parse: /usr/local/share/xmame/xmamerc
info: trying to parse: /home/me/.xmame/xmamerc
info: trying to parse: /usr/local/share/xmame/xmame-x11rc
info: trying to parse: /home/me/.xmame/xmame-x11rc
info: trying to parse: /usr/local/share/xmame/rc/sfa3rc
info: trying to parse: /home/me/.xmame/rc/sfa3rc
Mouse/Trakball selected.
loading rom 0: sz3u.03c    
loading rom 1: sz3u.04c    
loading rom 2: sz3.05c     
loading rom 3: sz3.06c     
loading rom 4: sz3.07c     
loading rom 5: sz3.08c     
loading rom 6: sz3.09c     
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check 
loading rom 7: sz3.10b     
loading rom 8: sz3ux.03c   
loading rom 9: sz3ux.04c   
loading rom 10: sz3.13      
loading rom 11: sz3.15      
loading rom 12: sz3.17      
it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please che
loading rom 13: sz3.19      
loading rom 14: sz3.14      
loading rom 15: sz3.16      
loading rom 16: sz3.18      
loading rom 17: sz3.20      
loading rom 18: sz3.01      
loading rom 19: sz3.02      
ck it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please 
loading rom 20: sz3.11      
loading rom 21: sz3.12      
done
Bye
check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
Error in zipfile sfa3.zip
Your filesystem seems to be corrupt, please check it
sz3u.03c     NOT FOUND
sz3u.04c     NOT FOUND
sz3.05c      NOT FOUND
sz3.06c      NOT FOUND
sz3.07c      NOT FOUND
sz3.08c      NOT FOUND
sz3.09c      NOT FOUND
sz3.10b      NOT FOUND
sz3ux.03c    NOT FOUND
sz3ux.04c    NOT FOUND
sz3.13       NOT FOUND
sz3.15       NOT FOUND
sz3.17       NOT FOUND
sz3.19       NOT FOUND
sz3.14       NOT FOUND
sz3.16       NOT FOUND
sz3.18       NOT FOUND
sz3.20       NOT FOUND
sz3.01       NOT FOUND
sz3.02       NOT FOUND
sz3.11       NOT FOUND
sz3.12       NOT FOUND
ERROR: required files are missing, the game cannot be run.


However, if i run as root, the game works but i have no sound. Here is
the output as root:


info: trying to parse: /usr/local/share/xmame/xmamerc
info: trying to parse: /root/.xmame/xmamerc
info: trying to parse: /usr/local/share/xmame/xmame-x11rc
info: trying to parse: /root/.xmame/xmame-x11rc
info: trying to parse: /usr/local/share/xmame/rc/sfa3rc
info: trying to parse: /root/.xmame/rc/sfa3rc
Mouse/Trakball selected.
loading rom 0: sz3u.03c    
loading rom 1: sz3u.04c    
loading rom 2: sz3.05c     
loading rom 3: sz3.06c     
loading rom 4: sz3.07c     
loading rom 5: sz3.08c     
loading rom 6: sz3.09c     
loading rom 7: sz3.10b     
loading rom 8: sz3ux.03c   
loading rom 9: sz3ux.04c   
loading rom 10: sz3.13      
loading rom 11: sz3.15      
loading rom 12: sz3.17      
loading rom 13: sz3.19      
loading rom 14: sz3.14      
loading rom 15: sz3.16      
loading rom 16: sz3.18      
loading rom 17: sz3.20      
loading rom 18: sz3.01      
loading rom 19: sz3.02      
loading rom 20: sz3.11      
loading rom 21: sz3.12      
done
Using a Visual with a depth of 24bpp.
MIT-SHM Extension Available. trying to use... 
Success.
Using Shared Memory Features to speed up
Actual bits per pixel = 32... 
Ok
Using 16bpp video mode
info: setting fragsize to 1024, numfrags to 5
info: fragsize = 1024, numfrags = 5
info: audiodevice /dev/dsp set to 16bit linear stereo 22050Hz
info: sysdep_dsp: using oss plugin
info: sysdep_mixer: using oss plugin


It says things about sound, but i get no sound just video when root. 
Here is my xmamerc.dist file (should i rename this to just xmamerc??)

### xmame running parameters ###

### Digital sound related ###
# dsp-plugin            <NULL> (not set)
timer                   0

### Sound mixer related ###
# sound-mixer-plugin    <NULL> (not set)

### Video Related ###
bpp                     0
heightscale             1
widthscale              1
autodouble              1
scanlines               0
artwork                 1
frameskipper            0
throttle                1
sleepidle               0
autoframeskip           1
maxautoframeskip        8
frameskip               0
brightness              1.000000
gamma                   1.000000

### Vector Games Related ###
# vectorres             <NULL> (not set)
beam                    1.000000
flicker                 0.000000
antialias               1
translucency            1

### X11 Related ###
x11-mode                0

### X11-window Related ###
cursor                  1
mitshm                  1
xsync                   1
privatecmap             0
xil                     1
mtxil                   0
run-in-root-window      0
root_window_id          0
geometry                640x480

### XFree86 DGA Related ###

### Video Mode Selection Related ###
keepaspect              1
displayaspectratio      1.330000

### X11-input related ###
grabmouse               0
winkeys                 0

### Sound Related ###
sound                   1
samples                 1
samplefreq              22050
bufsize                 3.000000
volume                  -3
# audiodevice           <NULL> (not set)
# mixerdevice           <NULL> (not set)

### Input Related ###
joytype                 0
analogstick             0
mouse                   1

### Fileio Related ###
rompath                 /usr/local/share/xmame/roms
snapshot_directory      .
cheat_file              /usr/local/share/xmame/cheat.dat
hiscore_file            /usr/local/share/xmame/hiscore.dat
history_file            /usr/local/share/xmame/history.dat
mameinfo_file           /usr/local/share/xmame/mameinfo.dat

### Mame Related ###
defaultgame             pacman
language                english
fuzzycmp                1
cheat                   0
# debug                   0

### Frontend Related ###
clones                  1

### Internal verification list commands (only for developers) ###

### Rom Identification Related ###

### General Options ###

### X11 keymapping ###
#
# mapkey        <Xcode>,<Scancode>
#
# Xcode means the HEX code of the key as appears in
/usr/include/X11/keysymdef.h# Scancode means the hexadecimal code that
represents the value used for Xmame#    in keyboard inputs, as defined
in src/unix/keyboard.h xmame source file# IMPORTANT: 
#       1- Due to some limitations, only LATIN-1 X-codes ( 0x0000-0x00ff ) and
#       Especial X-keycodes ( 0xff00-0xffff ) are supported
#       2- Some keys are keyboard dependent: As Xmame works internally with
#       Standard US-AT keyboard codes, you must take care in remmaping some
keys#

# An example: map space as "firebutton" (Mame predefines it as
KEY_LCONTROL)# in symbolic Xlib/Mame notation it should be:
#
# mapkey XK_space,KEY_LCONTROL
#
# So, looking in X11/keysymdef.h and src/unix/keyboard.h, we'll write
# mapkey 0x0020,0x001d
#
# (Other example). To use the F8 key to insert a coin, you should use
# mapkey 0xffc5,0x0006

### Suggested German keymap mods by Peter Trauner.
#   <[EMAIL PROTECTED]>
#
#mapkey 0xfe52,0x0029
#mapkey 0x00df,0x000c
#mapkey 0xfe51,0x000d
#mapkey 0x00fc,0x001a
#mapkey 0x002b,0x001b
#mapkey 0x00f6,0x0027
#mapkey 0x00e4,0x0028
#mapkey 0x0023,0x002b
#mapkey 0x0059,0x002c
#mapkey 0x005a,0x0015
#mapkey 0x002d,0x0035

### SDL keymapping ###
#
# sdlmapkey     <SDLcode>,<Scancode>
#
# SDLcode means the HEX code of the key as it appears in
#       include/SDL/SDL_keysym.h
# Scancode means the hexadecimal code that represents the value used for
Xmame#  in keyboard inputs, as defined in src/unix/keyboard.h xmame
source file#

# An example: map space as "firebutton" (Mame predefines it as
KEY_LCONTROL)# in symbolic SDL/Mame notation it should be:
#
# sdlmapkey SDLK_SPACE,KEY_LCONTROL
#
# So, looking in X11/keysymdef.h and src/unix/keyboard.h, we'll write
# sdlmapkey 0x0020,0x001d
#
# (Other example). To use the F8 key to insert a coin, you should use
# sdlmapkey 0x0121,0x0006

### Suggested French (azerty) SDL keymap mods by Luc Saillard.
#
#   SDLK_WORLD_18 � => KEY_TILDE
#sdlmapkey 0x00b2,0x0029
#   SDLK_AMPERSAND  => KEY_1
#sdlmapkey 0x0026,0x0002
#   SDLK_WORLD_73 � => KEY_2
#sdlmapkey 0x00e9,0x0003
#   SDLK_QUOTEDBL   => KEY_3
#sdlmapkey 0x0022,0x0004
#   SDLK_QUOTE      => KEY_4
#sdlmapkey 0x0027,0x0005
#   SDLK_LEFTPAREN  => KEY_5
#sdlmapkey 0x0028,0x0006
#   SDLK_MINUS      => KEY_6
#sdlmapkey 0x002d,0x0007
#   SDLK_WORLD_73 � => KEY_7
#sdlmapkey 0x00e8,0x0008
#   SDLK_UNDERSCORE => KEY_8
#sdlmapkey 0x005f,0x0009
#   SDLK_WORLD_71 � => KEY_9
#sdlmapkey 0x00e7,0x000a
#   SDLK_WORLD_64 � => KEY_10
#sdlmapkey 0x00e0,0x000b
#   SDLK_RIGHTPAREN => KEY_11
#sdlmapkey 0x0029,0x000c
#   SDLK_EQUALS     => KEY_12
#sdlmapkey 0x003d,0x000d

#   SDLK_A          => KEY_Q
#sdlmapkey 0x0041,0x0010
#   SDLK_Z          => KEY_W
#sdlmapkey 0x005a,0x0011
#   SDLK_CARET      => KEY_OPENBRACE
#sdlmapkey 0x005e,0x001a
#   SDLK_DOLLAR     => KEY_CLOSEBRACE
#sdlmapkey 0x0024,0x001b

#   SDLK_Q          => KEY_A
#sdlmapkey 0x0051,0x001e
#   SDLK_M          => KEY_COLON
#sdlmapkey 0x004d,0x0027
#   SDLK_WORLD_89 � => KEY_QUOTE
#sdlmapkey 0x00f9,0x0028
#   SDLK_ASTERISK   => KEY_TILDE
#sdlmapkey 0x002a,0x0029

#   SDLK_W          => KEY_Z
#sdlmapkey 0x0057,0x002c
#   SDLK_COMMA      => KEY_M
#sdlmapkey 0x002c,0x0032
#   SDLK_SEMICOLON  => KEY_COMMA
#sdlmapkey 0x003b,0x0033
#   SDLK_COLON      => KEY_STOP
#sdlmapkey 0x003a,0x0034
#   SDLK_EXCLAIM    => KEY_SLASH
#sdlmapkey 0x0021,0x0035



Thanks.

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to