My build seems to have the same GFX problems
On Dec 27, 2011, at 1:41 PM, Andy Milne wrote: Hi there,
Editing the pingus script file successfully changed the language. Thanks!
I tried it on my 32bit snow leopard system and it works - and I see what you mean about some graphics not working.
Here's what I got when I run on the Lion 64bit machine:
Spatz:Applications andymilne$ "Pingus.app/Contents/MacOS/pingus"
Welcome to Pingus 0.7.6! ========================
userdir: /Users/andymilne/.pingus/ datadir: Pingus.app/Contents//data
language: English (en) sound support: enabled
music support: enabled fullscreen: disabled
2011-12-27 12:19:36.726 pingus[664:40b] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
pingus(664,0xac18e2c0) malloc: *** error for object 0x589674: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug
pingus(664,0xac18e2c0) malloc: *** error for object 0x589674: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug
pingus(664,0xac18e2c0) malloc: *** error for object 0x589674: pointer being freed was not allocated
The malloc error is repeated a few hundred times. Then finally at the bottom there's: Bus error: 10
I googled a bit and I believe that QuickDraw support really has been removed in Lion. So, that's probably why it crashes.
Best regards,
Andy.
On Tue, Dec 27, 2011 at 11:32 AM, Jonas Bähr <address@hidden> wrote:
Hi,
Am 27.12.2011 um 19:55 schrieb Andy Milne:
Thanks for the Mac port. But, sorry to report it has a couple of problems:
1. It crashes as soon as I click on the play checkbox of any level that I select.
Please try to start pingus in a terminal, maybe it reports some errors there.
To do so, cd to the folder containing Pingus.app (e.g. "cd /Applications/Games/"), then execute "Pingus.app/Contents/MacOS/pingus"
Here I get the following output:
--------8<--------8<--------
$ Pingus.app/Contents/MacOS/pingus
Welcome to Pingus 0.7.6!
========================
userdir: /Users/jonas/.pingus/
datadir: Pingus.app/Contents//data
language: German (de)
sound support: enabled
music support: enabled
fullscreen: disabled
2011-12-27 20:30:10.229 pingus[328:613] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
--------8<--------8<--------
2. It defaults to German, which is ok, but the --language option does not work to change it.
Sorry, that's my fault. I just saw that the language was selected at compile time instead of run time. To fix it, open "Pingus.app/Contents/MacOS/pingus" using a text editor and change the second line to "lang=<what you need>".
Currently the line reads "lang=de" but it should be:
------8<--------8<------
lang=`defaults read .GlobalPreferences AppleLanguages | tr -d [:space:] | cut -c2-3`
------8<--------8<------
Apparently I missed to escape the back ticks, so this was executed while I build pingus already.
Another problem with this language detection is, that it only works with two-letter codes, so something like "pt_BR" won't be detect correctly.
Which version of OSX should it work with? I'm running 64bit 10.7.2
I build it on 32 bit intel, using 10.5 "Leopard". Here I can play levels but some graphics are missing.
bye,
Jonas
_______________________________________________ Pingus-Devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/pingus-devel
|