Can't find sounds.dat!?

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

Azrael
level0
Posts: 8
Joined: Tue Feb 14, 2006 2:17 pm
Location: Cambridgeshire, UK
Contact:

Can't find sounds.dat!?

Postby Azrael » Tue Feb 14, 2006 9:57 pm

OK, I got the demo working, so I got me the full version. The install goes without a hitch, but then it says that it cannot find the sound resources, and that this is most likely because sounds.dat is not in the working directory. But it is! Does anybody else know what's going on?

PS. Sorry for having such rubbish technical skills and a problematic computer!
Last edited by Azrael on Wed Feb 15, 2006 12:07 pm, edited 1 time in total.
Running Fedora 4 on a 733Mhz i686 w/ i810 integrated graphics. Yes, life is hard.
User avatar
John
Introversion Staff
Introversion Staff
Posts: 511
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Wed Feb 15, 2006 12:06 am

Please change in to the installation directory for Darwinia (usually it's ~/darwinia) and do a "find ." and paste the results here.

Also, please paste the exact error messages that Darwinia prints out and any blackbox.txt file, thanks.
Azrael
level0
Posts: 8
Joined: Tue Feb 14, 2006 2:17 pm
Location: Cambridgeshire, UK
Contact:

Okey-Dokey.

Postby Azrael » Wed Feb 15, 2006 12:01 pm

"Find ." returns the following:

Code: Select all

.
./lib
./lib/patch.dat
./lib/libvorbis.so.0
./lib/main.dat
./lib/blackbox.txt
./lib/language.dat
./lib/libSDL-1.2.so.0
./lib/libgcc_s.so.1
./lib/sounds.dat
./lib/darwinia.bin.x86
./lib/open-www.sh
./lib/libogg.so.0
./lib/libvorbisfile.so.3
./darwinian.png
./.manifest
./.manifest/scripts
./.manifest/darwinia.xml
./README
./blackbox.txt
./sounds.dat
./uninstall
./darwinia
./LICENSE

(There are 2 sounds.dat 's here, they are identical.)

And blackbox.txt:

Code: Select all

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-full-1.3.0
ERROR   : 'Couldn't find sound resources. This is probably because
sounds.dat isn't in the working directory.'

=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = software
SoundMixFreq = 22050
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
ScreenWidth = 800
ScreenHeight = 600
ScreenWindowed = 1
ScreenZDepth = 24
ScreenColourDepth = 16
ScreenRefresh = 60
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
ControlMethod = 1
RenderLandscapeMode = 2
ManuallyScaleTextures = 0
BootLoader = firsttime
UserProfile = NewUser
RenderSpecialLighting = 0

=========================
====== STACKTRACE =======
=========================

retAddress = 0x804d799
retAddress = 0x80be02c
retAddress = 0x80be1df
retAddress = 0x80a9c88
retAddress = 0x4eed5f
retAddress = 0x804cc91


gdb stack trace:

GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
(gdb) Reading symbols from /usr/local/games/darwinia/lib/darwinia.bin.x86...(no debugging symbols found)...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) Attaching to program: /usr/local/games/darwinia/lib/darwinia.bin.x86, process 9834
Reading symbols from /usr/local/games/darwinia/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/local/games/darwinia/lib/libSDL-1.2.so.0
Reading symbols from /usr/X11R6/lib/libGL.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.1
Reading symbols from /usr/X11R6/lib/libGLU.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGLU.so.1
Reading symbols from /usr/local/games/darwinia/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/local/games/darwinia/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/games/darwinia/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/games/darwinia/lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1208899104 (LWP 9834)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/local/games/darwinia/lib/libvorbis.so.0...done.
Loaded symbols for /usr/local/games/darwinia/lib/../lib/libvorbis.so.0
Reading symbols from /usr/local/games/darwinia/lib/libogg.so.0...done.
Loaded symbols for /usr/local/games/darwinia/lib/../lib/libogg.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/modules/dri/i810_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/i810_dri.so
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
0x00b3e402 in ?? ()
(gdb)   1 Thread -1208899104 (LWP 9834)  0x00b3e402 in ?? ()
(gdb)
Thread 1 (Thread -1208899104 (LWP 9834)):
#0  0x00b3e402 in ?? ()
#1  0x00566463 in __waitpid_nocancel () from /lib/libc.so.6
#2  0x0050efeb in do_system () from /lib/libc.so.6
#3  0x0808fd54 in ?? ()
#4  0x0809004e in ?? ()
#5  0x0808fc21 in ?? ()
#6  0x0804d799 in ?? ()
#7  0x080be02c in ?? ()
#8  0x080be1df in ?? ()
#9  0x080a9c88 in ?? ()
#10 0x004eed5f in __libc_start_main () from /lib/libc.so.6
#11 0x0804cc91 in ?? ()
(gdb) Detaching from program: /usr/local/games/darwinia/lib/darwinia.bin.x86, process 9834


EDIT: I've also tried it with the latest beta, still no luck.
User avatar
John
Introversion Staff
Introversion Staff
Posts: 511
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Wed Feb 15, 2006 12:16 pm

Thanks. I think we're getting a bit closer. Please could you go in to the lib/ subdirectory, and paste the results of "ls -l " and also "md5sum *"
Azrael
level0
Posts: 8
Joined: Tue Feb 14, 2006 2:17 pm
Location: Cambridgeshire, UK
Contact:

Okey-Dokey, again.

Postby Azrael » Wed Feb 15, 2006 2:30 pm

ls -l:

Code: Select all

-rw-r--r--  1 root root     5053 Feb 14 20:50 blackbox.txt
-rwxr-xr-x  1 root root  1716716 Feb 14 22:03 darwinia.bin.x86
-rw-r--r--  1 root root    48775 Feb 14 22:03 language.dat
-rw-r--r--  1 root root    40188 Feb 14 22:03 libgcc_s.so.1
-rw-r--r--  1 root root    44178 Feb 14 22:03 libogg.so.0
-rw-r--r--  1 root root  2851709 Feb 14 22:03 libSDL-1.2.so.0
-rw-r--r--  1 root root    33569 Feb 14 22:03 libvorbisfile.so.3
-rw-r--r--  1 root root   177337 Feb 14 22:03 libvorbis.so.0
-rw-r--r--  1 root root   925559 Feb 14 22:03 main.dat
-rw-r--r--  1 root root      488 Feb 14 22:03 open-www.sh
-rw-r--r--  1 root root  1043113 Feb 14 22:03 patch.dat
-rw-r--r--  1 root root 27074157 Feb 14 22:04 sounds.dat


md5sum *:

Code: Select all

914b450a5d6d99cb095d99b4b5cf38fc  blackbox.txt
ffad6b6072bcae93037c16d88739dd6c  darwinia.bin.x86
4542374e788333d08df18242c73cbe02  language.dat
1e3be043989a1e1f0bde43e10ed29df1  libgcc_s.so.1
3d4abb711c916feb23a14c1fa80d0ef5  libogg.so.0
82913d5ee7d21394ef86ef70d01ae098  libSDL-1.2.so.0
5267357fdf92ebcefaab2707b748ccb3  libvorbisfile.so.3
eaae173e25c20a6e8e2e901e0752dae7  libvorbis.so.0
437f836cb27377dd2fe06c82b138f66c  main.dat
55ff829a76127abe2af7c5f3d9a986ec  open-www.sh
723b1b70cd0d3bb58f0ca90fd4b37f09  patch.dat
0f726c02d68a8f317b0fbe22d57c31a4  sounds.dat


Running lib/darwinia.bin.x86 generates the same error.
PS. I've got Uplink now, so at least I've got something to keep me busy until Darwinia is fixed :)
Running Fedora 4 on a 733Mhz i686 w/ i810 integrated graphics. Yes, life is hard.
User avatar
John
Introversion Staff
Introversion Staff
Posts: 511
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Wed Feb 15, 2006 3:47 pm

Ok, it looks like your sounds.dat file may be corrupt. The most likely reason is that it was copied incorrectly from the CD during the installation - this sometimes happens on Linux if DMA is enabled on the cdrom device.

The correct md5sum for the sounds.dat file as distributed on the CD in the gamefiles directory is 7fddf8cfec67fd6b830b7db537e49329

If you bought Darwinia from our own store, I suggest the online download as the easiest fix. Otherwise, try disabling DMA, which you ought to be able to do with the following command (as root):

Code: Select all

# hdparm -d0 /dev/cdrom
# cp /mnt/cdrom/gamefiles/sounds.dat /usr/local/games/darwinia/lib
# md5sum /usr/local/games/darwinia/lib/sounds.dat
# md5sum /mnt/cdrom/gamefiles/sounds.dat


I'd also recommend deleting the existing copy of sounds.dat from /usr/local/games/darwinia, as Darwinia shouldn't use the file in that location.

Code: Select all

# rm /usr/local/games/darwinia/sounds.dat
Azrael
level0
Posts: 8
Joined: Tue Feb 14, 2006 2:17 pm
Location: Cambridgeshire, UK
Contact:

:o

Postby Azrael » Wed Feb 15, 2006 9:13 pm

The MD5SUM for sounds.dat is the same as the one on the CD. I'm installing from a CD I got from my brother, so I can't download anything from the site. Is there any other way of getting a valid sounds.dat? Would it be legal if I BitTorrented an ISO of it, seeming as I already have the actual version?
Running Fedora 4 on a 733Mhz i686 w/ i810 integrated graphics. Yes, life is hard.
Azrael
level0
Posts: 8
Joined: Tue Feb 14, 2006 2:17 pm
Location: Cambridgeshire, UK
Contact:

W00t!

Postby Azrael » Wed Feb 15, 2006 10:02 pm

I fixed it. Turns out that the CD had got scratched, so the sounds.dat file got screwed. I copied sounds.dat from my bro's installation, and it works fine :).
Running Fedora 4 on a 733Mhz i686 w/ i810 integrated graphics. Yes, life is hard.

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 9 guests