sounds.dat not found even though it's here.

Problems with the Linux version of Darwinia

Moderators: bert_the_turtle, jelco, Chris, andy, John

fdelente
level0
Posts: 3
Joined: Sat Apr 11, 2009 8:56 am

sounds.dat not found even though it's here.

Postby fdelente » Sat Apr 11, 2009 9:07 am

Hello.

I'm trying to run darwinia on an AMD64 machine; my distribution is SlAMD64 (slackware 64-bits).

I installed the game in wine, it works ok except for the cursor that keeps moving even when my mouse is still.

I decided to give the linux client a try; I copied the dat files from my wine install, downloaded the 1.4b9 path for linux (by the way why didn't it make it to 1.42 ? The web page says 'click here to download the 1.42 patch for linux' but points to the 1.30 patch... not very professional in my opinion...)

I couldn't install the game from the cd because it's a windows cd, so it's CAB files and not dat... even though the faq says you can install from a windows CD... well, carry on.

I did a sh darwinia-full-1.4.0b9.sh --keep --noexec to have the files; found the dats that I installed on the same directory as language.dat, main.dat and souns.dat, and darwinia.bin.x86 that I installed in lib/

I had to tweak the 32-bits libraries so that the game didn't give me any complain about this; basically I downloaded the slackware 32-bit libs, and installed them in lib/.

Now all I get when I want to start the game is

$ ./darwinia
.
SDL Version: Compiled against 1.2.9, running with 1.2.8
Couldn't find sound resources. This is probably because
sounds.dat isn't in the working directory.

but

$ ll sounds.dat
-rw-r--r-- 1 fab users 29610819 2006-07-25 17:24 sounds.dat

shows that the file is here...

The contents of blackbox.txt is

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

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

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

retAddress = 0x804d742
retAddress = 0x80bd9dc
retAddress = 0x80bdb8f
retAddress = 0x80a9631
retAddress = 0xf7b70390
retAddress = 0x804cbc1


gdb stack trace:

GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-slamd64-linux".
(gdb) Reading symbols from /usr/local/games/darwinia/lib/darwinia.bin.x86...(no
debugging symbols found)...done.
(gdb) Attaching to program: /usr/local/games/darwinia/lib/darwinia.bin.x86, proc
ess 6606
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/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/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/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/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.
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/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libGLcore.so.1...done.
Loaded symbols for /usr/lib/libGLcore.so.1
Reading symbols from /usr/lib/tls/libnvidia-tls.so.1...done.
Loaded symbols for /usr/lib/tls/libnvidia-tls.so.1
Reading symbols from /usr/local/lib/libstdc++.so.6...done.
Loaded symbols for /usr/local/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/lib/libxcb-xlib.so.0...done.
Loaded symbols for /usr/lib/libxcb-xlib.so.0
Reading symbols from /usr/lib/libxcb.so.1...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
0xf7bf063e in waitpid () from /lib/libc.so.6
(gdb) (gdb) (gdb) The program is running. Quit anyway (and detach it)? (y or n)
[answered Y; input not from terminal]
Detaching from program: /usr/local/games/darwinia/lib/darwinia.bin.x86, process
6606
User avatar
briceman2
level2
level2
Posts: 123
Joined: Wed Dec 12, 2007 4:30 am

Postby briceman2 » Tue Apr 14, 2009 1:32 am

...does your path to darwinia contain *spaces* in any of the directory names? This can cause "problems"...
fdelente
level0
Posts: 3
Joined: Sat Apr 11, 2009 8:56 am

Postby fdelente » Wed Apr 15, 2009 9:30 am

I didn't have space in my dir names; I found the solution: the *dat files must be in lib/, along with the binary... I wish the FAQ mentioned this fact...

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 2 guests