Page 1 of 1
Linux - RtCW problem
Posted: Sat Feb 10, 2007 2:57 pm
by jadfa
I have a problem with RtCW on Mandriva 2007.
I can launch the game, but when I try to play it crashes:
Code: Select all
LOADING... - game media done
LOADING... flamechunks
LOADING... clients
LOADING... WolfPlayer
UI menu load time = 5 milli seconds
Received signal 11, exiting...
Shutdown tty console
bash-3.1$
Any idea?
Please help the poor frenchie ...

Posted: Sun Feb 11, 2007 12:09 am
by ^misantropia^
Signal 11 usually means memory corruption of some kind (dereferencing NULL or out-of-bound pointers, for example). What version of RtCW are you running and where did you get it from?
Posted: Sun Feb 11, 2007 6:33 pm
by jadfa
I run wolf-linux-1.4-full.x86.run found on
http://returntocastlewolfenstein.filefront.com. The .pk3 files are from an original PC CD I've buyed.
But when I launch the game with the +set developer 1 option I have (last lines only):
Code: Select all
LOADING... WolfPlayer
Can't find models/players/Bj/bj_head1.tga
Can't find models/players/bj2/head_2.mdc
Can't find models/players/bj2/head_2.md3
Can't find models/players/bj2/head_1.mdc
Can't find models/players/bj2/head_1.md3
Cvar_Set2: com_hunkused 15306560
Can't find models/players/Bj/bj_body1.tga
Can't find models/players/Bj/bj_legs1.tga
Can't find models/players/Bj/acc/bj_eq1.tga
Cvar_Set2: com_hunkused 16084384
Can't find models/gibs/foot_2.mdc
Can't find models/gibs/foot_2.md3
Can't find models/gibs/foot_1.mdc
Can't find models/gibs/foot_1.md3
Can't find models/gibs/gibs.tga
Can't find models/gibs/leg_2.mdc
Can't find models/gibs/leg_2.md3
Can't find models/gibs/leg_1.mdc
Can't find models/gibs/leg_1.md3
Can't find models/gibs/intestine_2.mdc
Can't find models/gibs/intestine_2.md3
Can't find models/gibs/intestine_1.mdc
Can't find models/gibs/intestine_1.md3
Can't find models/gibs/abdomen_2.mdc
Can't find models/gibs/abdomen_2.md3
Can't find models/gibs/abdomen_1.mdc
Can't find models/gibs/abdomen_1.md3
Can't find models/gibs/forearm_2.mdc
Can't find models/gibs/forearm_2.md3
Can't find models/gibs/forearm_1.mdc
Can't find models/gibs/forearm_1.md3
Can't find models/gibs/skull_2.mdc
Can't find models/gibs/skull_2.md3
Can't find models/gibs/skull_1.mdc
Can't find models/gibs/skull_1.md3
Can't find fonts/bigFont.tga
Can't find fonts/bigFont.jpg
^1trying fonts/bigFont.TGA...Can't find fonts/bigFont.TGA
Can't find fonts/bigFont.jpg
^1no
^1Couldn't find image for shader fonts/bigFont
UI menu load time = 4 milli seconds
Received signal 11, exiting...
Shutdown tty console
bash-3.1$
Any idea?
I'm downloading the 1.41 patch; perhaps ....
Posted: Sun Feb 11, 2007 9:45 pm
by ^misantropia^
Open up /usr/local/bin/wolfsp. I suspect the path to the game data is not where it actually resides.
Posted: Mon Feb 12, 2007 7:24 pm
by jadfa
Code: Select all
bash-3.1$ cat /usr/local/games/wolfenstein/wolfsp
#!/bin/sh
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
cd "/usr/local/games/wolfenstein"
./wolfsp.x86 $*
exit $?
bash-3.1$ ls /usr/local/games/wolfenstein/
CHANGES main RTCW-README-1.4.txt wolfded.x86.org wolfsp.x86
Docs openurl.sh wolf wolfmp WolfSP.xpm
INSTALL pb wolfded WolfMP.xpm wolf.x86
License.txt QUICKSTART wolfded.x86 wolfsp wolf.x86.org
bash-3.1$ ls /usr/local/games/wolfenstein/main/
cgamei386.so mp_pak4.pk3 mp_pakmaps5.pk3 sp_pak1.pk3
cgame.mp.i386.so mp_pak5.pk3 mp_pakmaps6.pk3 sp_pak2.pk3
mp_bin.pk3 mp_pakmaps0.pk3 pak0.pk3 sp_pak3.pk3
mp_pak0.pk3 mp_pakmaps1.pk3 qagamei386.so sp_pak4.pk3
mp_pak1.pk3 mp_pakmaps2.pk3 qagame.mp.i386.so uii386.so
mp_pak2.pk3 mp_pakmaps3.pk3 rotate.cfg ui.mp.i386.so
mp_pak3.pk3 mp_pakmaps4.pk3 scripts
bash-3.1$
It seems that the path is OK; but where on your install are the models/players/*? in which .pk3 file? I don't see them on mine ... perhaps the file is corrupted, but RtCW is running on my other PC with Windows ...
Posted: Mon Feb 12, 2007 9:16 pm
by ^misantropia^
Models, skins, etc. live in the PK3 files. Try md5sum'ing them and compare them to their Windows counterparts; if they differ, they're corrupted.
Have you tried installing the latest patch yet?
Posted: Mon Feb 12, 2007 9:34 pm
by jadfa
Yes, I tried the patch but still doesn't work.
I'll md5 the files; can you tell me wich one have the missing (to me) files?
Posted: Wed Feb 14, 2007 8:38 pm
by jadfa
You're right !
My sp_pack1.pk3 have not the right md5sum. The others .pk3 files are OK.
But even on the Windows install, which run great, the sum is not the same as in the INSTALL file ...
Maybe it's because it's an installation in french ?
Could anybody send me his sp_pak1.pk3 file?
My mail: fabrice <dot>jade<at>freesbee<dot>fr
Posted: Thu Feb 15, 2007 8:14 pm
by jadfa
Forget that !! I've restarted my PC, and now, the game is running without sig 11 .... but without sound too
Code: Select all
------- sound initialization -------
not initializing.
------------------------------------
Sound memory manager started
Sys_LoadDll(/usr/local/games/wolfenstein/main/uii386.so)... ok
Sys_LoadDll(ui) found **vmMain** at 0xb0587778
Sys_LoadDll(ui) succeeded!
I run Mandriva 2007 with esd but "esdctl stop" doesn't work:
Code: Select all
[root@localhost wolfenstein]# ps aux | grep esd
root 5751 0.0 0.1 3012 752 pts/1 R+ 21:13 0:00 grep --color esd
[root@localhost wolfenstein]# esdctl stop
[root@localhost wolfenstein]# ps aux | grep esd
root 5754 0.0 0.1 2088 620 ? Ss 21:13 0:00 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 6
root 5756 0.0 0.1 3012 752 pts/1 R+ 21:13 0:00 grep --color esd
Any idea ?
Posted: Fri Feb 16, 2007 1:23 am
by ^misantropia^
ESD is a major pain in the behind[1]; you're probably better off using ALSA or OSS.
[1] I've seen the code. It's not bad per se - it's just something you don't want to actually use. Trust me on this...
Solved !!
Posted: Thu Feb 22, 2007 5:44 pm
by jadfa
It's OK now, here is the solution:
Code: Select all
echo "wolfsp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
It was running only with the "+set s_initsound 0" option ... so without sound !!
after playing, I have to:
Code: Select all
echo "wolfsp.x86 0 0 disable" > /proc/asound/card0/pcm0p/oss
That's all !!