Problems playing assaultcube on SUSE
#1
i did a opensuse11.3 install today.I m having problems playing the latest version.I have installed all the libraries needed to play ac.It just crashes everything.Here is the output

ankit@linux-9jr9:~/1.1.0.1> ./assaultcube.sh
Using home directory: /home/ankit/.assaultcube_v1.1
current locale: en_US.UTF-8
init: sdl
init: net
init: world
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: GeForce 7050 / nForce 610i/PCI/SSE2 (NVIDIA Corporation)
Driver: 1.4 (2.1.2 NVIDIA 256.35)
stacktrace:
/home/ankit/1.1.0.1/bin_unix/linux_client(_ZN12signalbinder11stackdumperEi+0x26) [0x812d486]
[0xffffe400]
/usr/lib/libjpeg.so.62(jdiv_round_up+0x11) [0xb76398a1]
/usr/lib/libjpeg.so.8(jpeg_core_output_dimensions+0x137) [0xb6348cc7]
/usr/lib/libjpeg.so.8(jpeg_calc_output_dimensions+0x3b) [0xb634c66b]
/usr/lib/libSDL_image-1.2.so.0(IMG_LoadJPG_RW+0x19c) [0xb771b67c]
/usr/lib/libSDL_image-1.2.so.0(IMG_LoadTyped_RW+0xc1) [0xb7718911]
/usr/lib/libSDL_image-1.2.so.0(IMG_Load+0x64) [0xb7718a94]
/home/ankit/1.1.0.1/bin_unix/linux_client(_Z11loadsurfacePKcRiS1_S1_ibb+0x180) [0x812aea0]
/home/ankit/1.1.0.1/bin_unix/linux_client(_Z11textureloadPKcibb+0x111) [0x812b3d1]
/home/ankit/1.1.0.1/bin_unix/linux_client(main+0x2e6) [0x809e3c6]
/lib/libc.so.6(__libc_start_main+0xfe) [0xb7391c0e]
/home/ankit/1.1.0.1/bin_unix/linux_client() [0x806c6a1]
AssaultCube error (8) ()

Note:the assaultcube version in the packman repository is 1.1.0.0,its not updated.
Thanks given by:
#2
That looks like some non-compatible or bugged library. You could try some older (or, preferably, newer) versions of libjpeg.
Thanks given by:
#3
I am having what appears to be the exact same problem with AssaultCube v1.1.0.1. Previous versions of AssaultCube, including 1.1.0.0, run fine. I am on OpenSUSE 11.3, running an AMD dual core (wanna say X2, can't remember offhand), with nVidia graphics (as listed in the output). Any ideas?

user@linux:~> ~/1.1.0.1/assaultcube.sh
Using home directory: /home/user/.assaultcube_v1.1
current locale: en_US.UTF-8
init: sdl
init: net
init: world
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: GeForce 7000M / nForce 610M/PCI/SSE2 (NVIDIA Corporation)
Driver: 2.1.2 NVIDIA 256.35
stacktrace:
/home/user/AssaultCube_v1.1.0.1/1.1.0.1/bin_unix/linux_64_client(_ZN12signalbinder11stackdumperEi+0x29) [0x4eb359]
/lib64/libc.so.6(+0x32a60) [0x7fbd3e65ca60]
/usr/lib64/libjpeg.so.62(jdiv_round_up+0xc) [0x7fbd3f11c4ec]
/usr/lib64/libjpeg.so.8(jpeg_core_output_dimensions+0x11b) [0x7fbd3968ca5b]
/usr/lib64/libjpeg.so.8(jpeg_calc_output_dimensions+0x31) [0x7fbd39690311]
/usr/lib64/libSDL_image-1.2.so.0(IMG_LoadJPG_RW+0x16d) [0x7fbd3fca5c2d]
/usr/lib64/libSDL_image-1.2.so.0(IMG_LoadTyped_RW+0x10c) [0x7fbd3fca327c]
/home/user/AssaultCube_v1.1.0.1/1.1.0.1/bin_unix/linux_64_client(_Z11loadsurfacePKcRiS1_S1_ibb+0x20f) [0x4e8cbf]
/home/user/AssaultCube_v1.1.0.1/1.1.0.1/bin_unix/linux_64_client(_Z11textureloadPKcibb+0x115) [0x4e9035]
/home/user/AssaultCube_v1.1.0.1/1.1.0.1/bin_unix/linux_64_client(main+0x299) [0x4638f9]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7fbd3e648b7d]
/home/user/AssaultCube_v1.1.0.1/1.1.0.1/bin_unix/linux_64_client() [0x433849]
AssaultCube error (8) ()
Thanks given by:
#4
Same deal. Looks like the SUSE version of either libsdl or lijpeg contains some weirdness that doesn't work well with AC. Try building them from source or get them from another repository.
Thanks given by:
#5
Guys compile it,i did that and its running perfect now.There's workaround in this thread http://forum.cubers.net/thread-460.html but it did not ran too well with me.
Thanks given by:
#6
Thanks, that did fix it. If anyone else has this problem, I downloaded the source from sourceforge. Here http://wiki.cubers.net/action/view/Linux...ssaultCube is a guide. I'm not on debian, so obviously I couldn't copy paste the command, but it's pretty self explanatory. I had to install a few dev libraries to "make install" in the source directory.

You will want to download the assaultcube package from this site, and put the source folder in the 1.1.0.1 directory in the prepackaged assaultcube folder. The last thing the make script does is copy "native_client" to the "bin_unix" directory, which won't exist if you've put the source in its own directory.
Thanks given by: