sio2ImageLoad, Error from debugger: previous frame identical to this frame
2 posters
sio2ImageLoad, Error from debugger: previous frame identical to this frame
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
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
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
Ok, it seems to happen when I load a .PNG.
.JPG seems to work.
Did I miss a forum post about this?
-j
.JPG seems to work.
Did I miss a forum post about this?
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
I'll bet it's because I was using .PNGs saved right from Macromedia Fireworks.
Must not be the right bit format...
testing...
-j
Must not be the right bit format...
testing...
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
Yep, that was it...
-j
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
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
Anyone confirm this? I'll have to switch to .TGA otherwise.
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
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](https://2img.net/i/fa/i/smiles/icon_wink.gif)
Tks in advance,
meteors you are up for the task?
![Wink](https://2img.net/i/fa/i/smiles/icon_wink.gif)
Tks in advance,
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
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
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
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
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](https://2img.net/i/fa/i/smiles/icon_smile.gif)
<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](https://2img.net/i/fa/i/smiles/icon_smile.gif)
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
This seems to fix it!
I'm going to do a few more tests...
TehBunny rules.
-j
I'm going to do a few more tests...
TehBunny rules.
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
Thought I'd paste this here too, if it helps anyone:
http://blog.joemattiello.com/2008/09/floating-iphone/
(thanks to zzajin)
http://blog.joemattiello.com/2008/09/floating-iphone/
(thanks to zzajin)
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
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...
Re: sio2ImageLoad, Error from debugger: previous frame identical to this frame
Ah. Well it definitely works now. Thanks to everyone!!
Best,
-j
Best,
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
![-](https://2img.net/i/empty.gif)
» Huge frame times
» Static frame rate
» Frame Rate Issues
» v1.2 Tutorial 08 error
» btPoolAllocator error
» Static frame rate
» Frame Rate Issues
» v1.2 Tutorial 08 error
» btPoolAllocator error
Permissions in this forum:
You cannot reply to topics in this forum
|
|