archive all resource files

Does cocos2dx support resource files archive?
at the same time, api does not change.

for example

CCTexture2D *texture = CCTextureCache::sharedTextureCache()->addImage("1.png"); //png file in a big archive file

read 1.png from a big archive file rather than read 1.png on disk while api is same as normal api.
Is there an exist solution? or I have to write bymyself

In fact, the implementation of

addImage(“1.png”)
on android is read 1.png from an archive file (GameName.apk).

Now it’s not supported on other platforms.
If you want implement this, you can take a look at the implementation on android.

Bin Zhang wrote:

In fact, the implementation of addImage(“1.png”) on android is read 1.png from an archive file (GameName.apk).

Now it’s not supported on other platforms.
If you want implement this, you can take a look at the implementation on android.

thanks

happy Chinese new year