Monday, September 13th, 2010
I have been working away at same iPhone game development.
I found a nice sprite sheet editor zwoptex: http://zwoptexapp.com which is compatible with the engine I was using cocos2d: http://code.google.com/p/cocos2d-iphone/
Little did I know there was some version issues between the exporter and the engine. Zwoptex exports a png and a plist that contains all the meta-data for the sprite sheet. If you are getting the bellow mentioned error you might be reading online various suggestions like installing older versions of zwoptex or a new versions of the engine.
As it turns out all you have to do is un-check rotate from inside zwoptex publish the files. Edit the plist generated by zowptex and change the root>>metadata>>format number from 2 to 1 save clean your build recompile and your done.
ocos2d: WARNING: format is not supported for CCSpriteFrameCache addSpriteFramesWithDictionary:texture:
Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘cocos2d: WARNING: format is not supported for CCSpriteFrameCache addSpriteFramesWithDictionary:texture:’
2010-09-13 16:01:36.353 TileMap[12915:40b] Stack: (
Monday, September 6th, 2010
One of the issues I had with using the Mail.app on OSX is its lack of security.
If some one is logged in as you they then get access to everything else on you machine like say your mail client.
Now I really like the Mail client. I have no intention of switching clients. So a solution was required.
After a little digging i found there was no mods for Mail. No hacks or any other means in which to password protect the client and the mail. Eventual I realised I was doing it all wrong its not the emails and the client that can be protected but where they are being stored is what can be protected.
I finally realised if I created a encrypted dmg and ran everything from there it would yield the same results.
Get both the Mail.app and my email onto a password protected drive.
- Open Disk Utility to create the encrypted DMG /Applications/Utilities/Disk Utility.app
- Click “New Image” on the top
- Select a Name and a save as location
- Further down under size select the size I made mine 10GB this depends on how much mail you expect to store locally
- Below that make sure select the Encryption
- Hit create set the password and now you should have a mounted encrypted drive
- Move your Mail app from /Applications/ to the root of your mounted encrypted drive cut it don’t copy it
- Then make make an alias of the Mail app in the in the /Applications/ folder(ctrl dragging the icon)
- Now you need to cut and past your emails to the encrypted drive find the folder /Users/YOUR_USERNAME/Library/Mail and past it in the encrypted drive
- Now make an alias of the mail folder from you encrypted drive back to the /Users/abraham.azam/Library/ (ctrl dragging the folder)
If you click the mail icon on the Dock it should now access your mail client and your amils from a scure and ecrypted location. if you unmount the drive and click the icon it will promt you for the password to the dmg then opens the mail app.
please let em know what you think of these steps 🙂