Package: netmaze Version: 0.81+jpg0.82-12.1 Severity: normal Three problems with using the -texture option: 1. It tries to find a bitmap relative to current directory 2. If it finds it, it will crash when you press 1 to start the game (on AMD64, other archs not tested) 3. Non-64-bit code in texture.c, likely cause of problem 2.
[EMAIL PROTECTED]:~$ netmaze -texture Defaultmaze is ok! Can't load texture: ./lib//hwall.bmp Can't load texturedata!. [EMAIL PROTECTED]:~$ cd /usr/lib/games/netmaze/ [EMAIL PROTECTED]:/usr/lib/games/netmaze$ netmaze -texture Defaultmaze is ok! Used Texturememory: 270384 Ok, using faster shared memory PutImage. Press '1' to start game! *** New game with 8 player(s) starts! *** Player Nr. 0: Number: 0 Team: 0 Player Nr. 1: Number: 1 Team: 1 Player Nr. 2: Number: 2 Team: 2 Player Nr. 3: Number: 3 Team: 3 Player Nr. 4: Number: 4 Team: 0 Player Nr. 5: Number: 5 Team: 1 Player Nr. 6: Number: 6 Team: 2 Player Nr. 7: Number: 7 Team: 3 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 148 (MIT-SHM) Minor opcode of failed request: 3 (X_ShmPutImage) Serial number of failed request: 805 Current serial number in output stream: 806 (crash) The compiler warns about pointer casts: texture.c: In function ‘load_texture’: texture.c:397: warning: cast from pointer to integer of different size texture.c:397: warning: cast to pointer from integer of different size texture.c:401: warning: cast from pointer to integer of different size texture.c:401: warning: cast to pointer from integer of different size those lines force alignment of data, assuming 32-bit pointers: tex->data = (char *) (((int) malloc(w*h+4) + 3) & 0xfffffffc); Grepping through the source for interesting numbers starting 0xfff, there's a similar problem in audio: ./audio.c: data = (char *) ((malloc(blen*play_delay+16)+15) & 0xfffffff0); Also the bots don't move; maybe I'm missing a config option or maybe that's another 64-bit problem. Steve -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages netmaze depends on: ii libc6 2.7-15 GNU C Library: Shared libraries ii libx11-6 2:1.1.5-2 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii tix [tix] 8.4.0-6 The Tix library for Tk -- runtime ii tk8.4 8.4.19-2 Tk toolkit for Tcl and X11, v8.4 - netmaze recommends no packages. netmaze suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]