{"id":180,"date":"2010-09-13T07:03:19","date_gmt":"2010-09-13T07:03:19","guid":{"rendered":"http:\/\/www.blogs.abeazam.com\/dev\/?p=180"},"modified":"2010-09-13T07:03:19","modified_gmt":"2010-09-13T07:03:19","slug":"cocos2d-warning-format-is-not-supported-for-ccspriteframecache","status":"publish","type":"post","link":"http:\/\/www.blogs.abeazam.com\/dev\/2010\/09\/cocos2d-warning-format-is-not-supported-for-ccspriteframecache\/","title":{"rendered":"cocos2d: WARNING: format is not supported for CCSpriteFrameCache"},"content":{"rendered":"<p>I have been working away at same iPhone game\u00a0development.<\/p>\n<p>I found a nice sprite sheet editor zwoptex:\u00a0<a href=\"http:\/\/zwoptexapp.com\/\">http:\/\/zwoptexapp.com<\/a> which is compatible with the engine\u00a0I\u00a0was using cocos2d:\u00a0<a href=\"http:\/\/code.google.com\/p\/cocos2d-iphone\/\">http:\/\/code.google.com\/p\/cocos2d-iphone\/<\/a><\/p>\n<p>Little did\u00a0I\u00a0know there was some version issues between the exporter and the engine. Zwoptex exports a png and a plist that contains all the\u00a0meta-data\u00a0for the sprite sheet. If you are getting the bellow\u00a0mentioned error you might be reading online\u00a0various\u00a0suggestions like installing older versions of zwoptex or a new versions of the \u00a0engine.<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>As it turns out all you have to do is\u00a0un-check\u00a0\u00a0rotate from inside zwoptex publish the files. Edit the plist\u00a0generated\u00a0by zowptex and change the root&gt;&gt;metadata&gt;&gt;format number from 2 to 1 save clean your build recompile and your done.<\/p>\n<p><strong>cocos2d error:<\/strong><\/p>\n<p>ocos2d: WARNING: format is not supported for CCSpriteFrameCache addSpriteFramesWithDictionary:texture:<\/p>\n<p><strong>Full Error:<\/strong><\/p>\n<div id=\"_mcePaste\">Terminating app due to uncaught exception &#8216;NSInternalInconsistencyException&#8217;, reason: &#8216;cocos2d: WARNING: format is not supported for CCSpriteFrameCache addSpriteFramesWithDictionary:texture:&#8217;<\/div>\n<div id=\"_mcePaste\">2010-09-13 16:01:36.353 TileMap[12915:40b] Stack: (<\/div>\n<div id=\"_mcePaste\">46889040,<\/div>\n<div id=\"_mcePaste\">48046892,<\/div>\n<div id=\"_mcePaste\">46626571,<\/div>\n<div id=\"_mcePaste\">4768532,<\/div>\n<div id=\"_mcePaste\">450434,<\/div>\n<div id=\"_mcePaste\">452386,<\/div>\n<div id=\"_mcePaste\">10372,<\/div>\n<div id=\"_mcePaste\">298606,<\/div>\n<div id=\"_mcePaste\">9808,<\/div>\n<div id=\"_mcePaste\">8936,<\/div>\n<div id=\"_mcePaste\">8317326,<\/div>\n<div id=\"_mcePaste\">8321359,<\/div>\n<div id=\"_mcePaste\">8346942,<\/div>\n<div id=\"_mcePaste\">8328439,<\/div>\n<div id=\"_mcePaste\">8360408,<\/div>\n<div id=\"_mcePaste\">57418108,<\/div>\n<div id=\"_mcePaste\">46168220,<\/div>\n<div id=\"_mcePaste\">46164136,<\/div>\n<div id=\"_mcePaste\">8319521,<\/div>\n<div id=\"_mcePaste\">8352626<\/div>\n<div id=\"_mcePaste\">)<\/div>\n<div id=\"_mcePaste\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I have been working away at same iPhone game\u00a0development. I found a nice sprite sheet editor zwoptex:\u00a0http:\/\/zwoptexapp.com which is compatible with the engine\u00a0I\u00a0was using cocos2d:\u00a0http:\/\/code.google.com\/p\/cocos2d-iphone\/ Little did\u00a0I\u00a0know there was some version issues between the exporter and the engine. Zwoptex exports a png and a plist that contains all the\u00a0meta-data\u00a0for the sprite sheet. If you are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,18,25,26,36,37,40,45,55],"tags":[],"_links":{"self":[{"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/posts\/180"}],"collection":[{"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":0,"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.blogs.abeazam.com\/dev\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}