Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-09-04 Thread Gerfried Fuchs
* Jens Seidel [EMAIL PROTECTED] [2007-09-04 02:13:45 CEST]:
 tags 438857 +pending
 thanks
 
 On Mon, Aug 20, 2007 at 02:48:13PM +0200, Jens Seidel wrote:
  On Mon, Aug 20, 2007 at 12:53:30PM +0200, Gerfried Fuchs wrote:
   - though, hex-a-hop still doesn't start on me.  It ends with this line:
   
   #v+
   Fatal error: Invalid file /usr/share/games/hex-a-hop/graphics/font.dat
   #v-
  
   Architecture: powerpc (ppc)
  
  Ah, powerpc. I will try to test it soon on my SGI Octane workstation :-)
 
 I did so and ran it 3 minutes successfully on my Octane. I expect more
 little errors but basic stuff should work now ...

 As you tag it pending I guess you are not talking about the latest
package in the pool, are you?  My original error didn't occur anymore
but it was a total memory hog - fortunately I was able to kill the
process before my system completely threw up.  :/

 Looking forward to give it a try, though.  It seems to be really
worthwhile given the immense efforts you are putting into it. :)

 So long,
Rhonda


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-09-04 Thread Jens Seidel
On Tue, Sep 04, 2007 at 08:38:32AM +0200, Gerfried Fuchs wrote:
 * Jens Seidel [EMAIL PROTECTED] [2007-09-04 02:13:45 CEST]:
  I did so and ran it 3 minutes successfully on my Octane. I expect more
  little errors but basic stuff should work now ...
 
  As you tag it pending I guess you are not talking about the latest
 package in the pool, are you?

No, I committed the code to the Subversion archive
svn://svn.debian.org/svn/pkg-games/packages/trunk/hex-a-hop/.

  Looking forward to give it a try, though.  It seems to be really
 worthwhile given the immense efforts you are putting into it. :)

Yep, I consider the game stable. There are still some 32/64 bit issues
and I hope to fix these the next days. Once sizeof(int)4 they should
crash the game.

Do you know such a system?

I will upload a new version probably during the next weekend so that we
can still test it carefully ...

Jens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-09-04 Thread Gerfried Fuchs
* Jens Seidel [EMAIL PROTECTED] [2007-09-04 10:18:34 CEST]:
 On Tue, Sep 04, 2007 at 08:38:32AM +0200, Gerfried Fuchs wrote:
   As you tag it pending I guess you are not talking about the latest
  package in the pool, are you?
 
 No, I committed the code to the Subversion archive
 svn://svn.debian.org/svn/pkg-games/packages/trunk/hex-a-hop/.

 Am too curious to wait, I guess I'll check it out.  :P

 Yep, I consider the game stable. There are still some 32/64 bit issues
 and I hope to fix these the next days. Once sizeof(int)4 they should
 crash the game.
 
 Do you know such a system?

#v+
:~$ cat /proc/cpuinfo  | grep 'model name'
model name  : AMD Athlon(tm) 64 Processor 3700+
:~$ cat main.c 
#include stdio.h
int main (int argc, char **argv) {
printf(sizeof(int): %d\n, sizeof(int));
return 0;
}
:~$ gcc main.c 
:~$ ./a.out 
sizeof(int): 4
:~$ 
#v-

 amd64 isn't such a system.

 So long,
Rhonda


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-09-04 Thread Gerfried Fuchs
* Gerfried Fuchs [EMAIL PROTECTED] [2007-09-04 11:00:51 CEST]:
 * Jens Seidel [EMAIL PROTECTED] [2007-09-04 10:18:34 CEST]:
  No, I committed the code to the Subversion archive
  svn://svn.debian.org/svn/pkg-games/packages/trunk/hex-a-hop/.
 
  Am too curious to wait, I guess I'll check it out.  :P

 And it works now - great!!!

 Thanks!
Rhon*stuck in second level already*da


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-09-03 Thread Jens Seidel
tags 438857 +pending
thanks

On Mon, Aug 20, 2007 at 02:48:13PM +0200, Jens Seidel wrote:
 On Mon, Aug 20, 2007 at 12:53:30PM +0200, Gerfried Fuchs wrote:
  - though, hex-a-hop still doesn't start on me.  It ends with this line:
  
  #v+
  Fatal error: Invalid file /usr/share/games/hex-a-hop/graphics/font.dat
  #v-
 
  Architecture: powerpc (ppc)
 
 Ah, powerpc. I will try to test it soon on my SGI Octane workstation :-)

I did so and ran it 3 minutes successfully on my Octane. I expect more
little errors but basic stuff should work now ...

Will continue testing tomorrow ...

Jens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-08-20 Thread Gerfried Fuchs
Package: hex-a-hop
Version: 0.0.20070315-3
Severity: important

Hi!

 Thanks for finding and fixing the endianness problem I reported earlier
- though, hex-a-hop still doesn't start on me.  It ends with this line:

#v+
Fatal error: Invalid file /usr/share/games/hex-a-hop/graphics/font.dat
#v-

 The corresponding lines from stracing it are:

#v+
write(1, Reading binary file \/usr/share/..., 67Reading binary file 
/usr/share/games/hex-a-hop/graphics/font.dat
) = 67
open(/usr/share/games/hex-a-hop/graphics/font.dat, O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=42524, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x3018e000
read(5, Y\1\224\0\207\'\37\377l\1\0\0\3\3\3\3\207\'\37\0\3\3\3..., 4096) = 
4096
write(2, Fatal error: Invalid file \/usr/..., 73Fatal error: Invalid file 
/usr/share/games/hex-a-hop/graphics/font.dat
) = 73
exit_group(0)   = ?
#v-

 I'm not sure if that might also be endianness related so I'm not
suggesting looking in a specific direction this time. ;)

 So long,
Rhonda

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.21-2-powerpc
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hex-a-hop depends on:
ii  libc6   2.6-2GNU C Library: Shared libraries
ii  libgcc1 1:4.2-20070712-1 GCC support library
ii  libsdl-pango1   0.1.2-1  text rendering with Pango in SDL a
ii  libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer
ii  libstdc++6  4.2-20070712-1   The GNU Standard C++ Library v3

hex-a-hop recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-08-20 Thread Jens Seidel
tags 438857 +pending
thanks

On Mon, Aug 20, 2007 at 12:53:30PM +0200, Gerfried Fuchs wrote:
 Package: hex-a-hop
 Version: 0.0.20070315-3
 Severity: important
 
 - though, hex-a-hop still doesn't start on me.  It ends with this line:
 
 #v+
 Fatal error: Invalid file /usr/share/games/hex-a-hop/graphics/font.dat
 #v-

The current SVN version does no longer depend on font.dat but uses Pango
which supports Unicode fonts. So I mark it pending ...

Of course I didn't even investigated it but this specific error should
no longer occur. I suggest nevertheless you try it in a valgrind session
maybe the error occurs already earlier.

  I'm not sure if that might also be endianness related so I'm not
 suggesting looking in a specific direction this time. ;)

I think I found also wrong color masks which are currently independent
of endianess whereas the SDL manual page uses a ifdef ...

 Architecture: powerpc (ppc)

Ah, powerpc. I will try to test it soon on my SGI Octane workstation :-)

Jens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-08-20 Thread Jens Seidel
Hi Alfie,

On Mon, Aug 20, 2007 at 12:53:30PM +0200, Gerfried Fuchs wrote:
  Thanks for finding and fixing the endianness problem I reported earlier
 - though, hex-a-hop still doesn't start on me.  It ends with this line:
 
 #v+
 Fatal error: Invalid file /usr/share/games/hex-a-hop/graphics/font.dat
 #v-

I ensured that this file is even no longer installed. Nevertheless I
think it will now fail loading the second *.dat file. Can you please try
the current svn version? (I suggest you remove your old ~/.hex-a-hop
directory because it may contain corrupted data.)

Just obtain the source from hex-a-hop (version is unimportant) and
replace the debian/ directory with the one from SVN (see
http://packages.qa.debian.org/h/hex-a-hop.html for URL).

Now do as usual:
$ dpkg-buildpackage -rfakeroot -us -uc
# dpkg -i ../*.deb

Does this work better?

Jens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438857: hex-a-hop: complains about invalid file font.dat

2007-08-20 Thread Miriam Ruiz
I'm sure it still has word size and endianess issues. I think the best thing
to do would be to drop the .dat files and convert them to .png, which are
standard and should have been used from the beginning instead of creating a
yet-another-graphics-format. I'm planning to solve that in the middle future.

Miry



   

Sé un Mejor Amante del Cine 
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]