sio2ImageLoad, Error from debugger: previous frame identical to this frame

View previous topic View next topic Go down

sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 7:03 pm

Hi all,

My app works fine on the simulator, but on the device I'm getting this error when I call sio2ImageLoad.

Anyone have any idea? I'm using v1.3.2.


Thanks in advance! Best,
-joshua
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 7:12 pm

Ok, it seems to happen when I load a .PNG.

.JPG seems to work.

Did I miss a forum post about this?


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 7:14 pm

I'll bet it's because I was using .PNGs saved right from Macromedia Fireworks.

Must not be the right bit format...

testing...



-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 7:26 pm

Yep, that was it...


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 7:35 pm

Well, it seems to happen with any 32 bit PNG with alpha transparency.

Anyone confirm this? I'll have to switch to .TGA otherwise.


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  sio2interactive on Fri Mar 20, 2009 7:48 pm

Actually I found that there's maybe a bug with libpng when compiled with thumb on the device, can someone please confirm... sometimes it work and sometimes it doesn't but is really stable when thumb is off... maybe its just me, I would like to have the confirmation of someone else...

meteors you are up for the task? Wink

Tks in advance,

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 8:02 pm

Hey Rom,

Yes, I can do this. I'm against a deadline though so it may have to wait until Monday.

I guess I'll use .TGA in the meantime :-)

Thanks for all your hard work. Really outstanding.


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 8:11 pm

This is from our esteemed colleague, TheBunny:


<TheBunny> Is PNG crush turned off?
<TheBunny> which is teh normal fix for using libPNG on the phone
<TheBunny> its a setting in xcode build settings
<TheBunny> open your build settings and do a searc for PNG
<TheBunny> you will get
<TheBunny> Compress .png Files
<TheBunny> try turning that off
<TheBunny> should be a Common problem on the forums tho I would expect
<TheBunny> its in my FAQ and I got many emails from people running into it
<TheBunny> Other then that 32 PNGS work just fine Smile
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 8:14 pm

This seems to fix it!

I'm going to do a few more tests...


TehBunny rules.


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 8:15 pm

Thought I'd paste this here too, if it helps anyone:

http://blog.joemattiello.com/2008/09/floating-iphone/


(thanks to zzajin)
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  sio2interactive on Fri Mar 20, 2009 8:37 pm

ahhhhhhh I see, you directly link the png to the resource... yeah don't do that, TheBunny is right... I thought you extract it from the .sio2 file...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  meteors on Fri Mar 20, 2009 8:51 pm

Ah. Well it definitely works now. Thanks to everyone!!


Best,
-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum