Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Ingo Ruhnke
On 28 December 2011 01:35, Josh Dye  wrote:
> It doesn't seem to want to compile
>
> http://pastie.org/private/dmle7ak09fsthlo4eyihg

You need to add the usual SDL and SDL_image libraries to the build,
i.e. something like this:

-framework SDL -framework Cocoa -framework SDL_image src/macosx/SDLmain.m
-I/Library/Frameworks/SDL.framework/Headers/
-I/Library/Frameworks/SDL_image.framework/Headers/

-- 
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Josh Dye
It doesn't seem to want to compile 

http://pastie.org/private/dmle7ak09fsthlo4eyihg

On Dec 27, 2011, at 3:27 PM, Ingo Ruhnke wrote:

> On 27 December 2011 23:35, Josh Dye  wrote:
>> I am working an an OSX build also, I have the GFX problems to.  I am trying
>> to make it look in the Resources folder for the data- no luck yet.  I have a
>> small patch for the userdir though
> 
> Could you compile extra/image-info.cpp and run it on some of the
> groundpieces and mail me the output?
> 
> $ build/extra/image-info data/images/groundpieces/transparent/snow/grass5.png
> data/images/groundpieces/transparent/snow/grass5.png: palette colorkey
> bitsPerPixel:8 bytesPerPixel:1
> 
> -- 
> Blog: http://grumbel.blogspot.com/
> JabberID: xmpp:grum...@jabber.org
> ICQ:  59461927
> 
> ___
> Pingus-Devel mailing list
> Pingus-Devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pingus-devel


___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Josh Dye
My build seems to have the same GFX problems
http://www.mediafire.com/?3ewihlbvrgrrn2e

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  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=".
> 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
> 
> 
> 
> 
> 
> On Tue, Dec 27, 2011 at 5:33 AM, Ingo Ruhnke  wrote:
> On 24 December 2011 23:45, Ingo Ruhnke  wrote:
> > Pingus 0.7.6 is out, not much changes to the core game, but 10 brand
> > new Xmas themed levels.
> >
> > * added new SVG icons for Pingus
> > * added 10 new xmas themed levels
> > * added ability to sort levelsets by priority
> >
> > Download: http://pingus.seul.org
> 
> Jonas Bähr  build a MacOSX port of it, available at:
> 
> http://pingus.googlecode.com/files/Pingus-0.7.6.dmg
> 
> --
> Blog: http://grumbel.blogspot.com/
> JabberID: xmpp:grum...@jabber.org
> ICQ:  59461927
> 
> ___
> Pingus-Devel mailing list
> Pingus-Devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pingus-devel
> 
> 
> 
> ___
> Pingus-Devel mailing list
> Pingus-Devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pingus-devel
> 
> ___
> Pingus-Devel mailing list
> Pingus-Devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pingus-devel

___
Pin

Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Ingo Ruhnke
On 27 December 2011 23:35, Josh Dye  wrote:
> I am working an an OSX build also, I have the GFX problems to.  I am trying
> to make it look in the Resources folder for the data- no luck yet.  I have a
> small patch for the userdir though

Could you compile extra/image-info.cpp and run it on some of the
groundpieces and mail me the output?

$ build/extra/image-info data/images/groundpieces/transparent/snow/grass5.png
data/images/groundpieces/transparent/snow/grass5.png: palette colorkey
bitsPerPixel:8 bytesPerPixel:1

-- 
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Josh Dye
I am working an an OSX build also, I have the GFX problems to.  I am trying to make it look in the Resources folder for the data- no luck yet.  I have a small patch for the userdir though

osx.patch
Description: Binary data
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:           enabledfullscreen:              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  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=".



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





On Tue, Dec 27, 2011 at 5:33 AM, Ingo Ruhnke  wrote:
On 24 December 2011 23:45, Ingo Ruhnke  wrote:
> Pingus 0.7.6 is out, not much changes to the core game, but 10 brand
> new Xmas themed levels.
>
> * added new SVG icons for Pingus
> * added 10 new xmas themed levels
> * added ability to sort levelsets by priority
>
> Download: http://pingus.seul.org

Jonas Bähr  build a MacOSX port of it, available at:

http://pingus.googlecode.com/files/Pingus-0.7.6.dmg

--
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel




___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel

___Pingus-Devel mailing listPingus-Devel@nongnu.orghttps://lists.nongnu.org/mailman/listinfo/pingus-devel___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinf

Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Andy Milne
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  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=".
> 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
>
>
>
>>
>>
>> On Tue, Dec 27, 2011 at 5:33 AM, Ingo Ruhnke  wrote:
>> On 24 December 2011 23:45, Ingo Ruhnke  wrote:
>> > Pingus 0.7.6 is out, not much changes to the core game, but 10 brand
>> > new Xmas themed levels.
>> >
>> > * added new SVG icons for Pingus
>> > * added 10 new xmas themed levels
>> > * added ability to sort levelsets by priority
>> >
>> > Download: http://pingus.seul.org
>>
>> Jonas Bähr  build a MacOSX port of it, available at:
>>
>> http://pingus.googlecode.com/**files/Pingus-0.7.6.dmg
>>
>> --
>> Blog: http://grumbel.blogspot.com/
>> JabberID: xmpp:grum...@jabber.org
>> ICQ:  59461927
>>
>> __**_
>> Pingus-Devel mailing list
>> Pingus-Devel@nongnu.org
>> https://lists.nongnu.org/**mailman/listinfo/pingus-devel
>>
>>
>
> __**_
> Pingus-Devel mailing list
> Pingus-Devel@nongnu.org
> https://lists.nongnu.org/**mailman/listinfo/pingus-devel
>
___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Jonas Bähr

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=".

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





On Tue, Dec 27, 2011 at 5:33 AM, Ingo Ruhnke   
wrote:

On 24 December 2011 23:45, Ingo Ruhnke  wrote:
> Pingus 0.7.6 is out, not much changes to the core game, but 10 brand
> new Xmas themed levels.
>
> * added new SVG icons for Pingus
> * added 10 new xmas themed levels
> * added ability to sort levelsets by priority
>
> Download: http://pingus.seul.org

Jonas Bähr  build a MacOSX port of it, available  
at:


http://pingus.googlecode.com/files/Pingus-0.7.6.dmg

--
Blog: http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:  59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel




___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread 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.
2. It defaults to German, which is ok, but the --language option does not
work to change it.

Which version of OSX should it work with? I'm running 64bit 10.7.2



On Tue, Dec 27, 2011 at 5:33 AM, Ingo Ruhnke  wrote:

> On 24 December 2011 23:45, Ingo Ruhnke  wrote:
> > Pingus 0.7.6 is out, not much changes to the core game, but 10 brand
> > new Xmas themed levels.
> >
> > * added new SVG icons for Pingus
> > * added 10 new xmas themed levels
> > * added ability to sort levelsets by priority
> >
> > Download: http://pingus.seul.org
>
> Jonas Bähr  build a MacOSX port of it, available at:
>
> http://pingus.googlecode.com/files/Pingus-0.7.6.dmg
>
> --
> Blog: http://grumbel.blogspot.com/
> JabberID: xmpp:grum...@jabber.org
> ICQ:  59461927
>
> ___
> Pingus-Devel mailing list
> Pingus-Devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/pingus-devel
>
___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Pingus 0.7.6 - Xmas 2011

2011-12-27 Thread Ingo Ruhnke
On 24 December 2011 23:45, Ingo Ruhnke  wrote:
> Pingus 0.7.6 is out, not much changes to the core game, but 10 brand
> new Xmas themed levels.
>
> * added new SVG icons for Pingus
> * added 10 new xmas themed levels
> * added ability to sort levelsets by priority
>
> Download: http://pingus.seul.org

Jonas Bähr  build a MacOSX port of it, available at:

http://pingus.googlecode.com/files/Pingus-0.7.6.dmg

-- 
Blog:     http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:      59461927

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel