i'm doing a port of a football game developed with ogre3d to android, in ogre3d 1.8 there is a browser that works and now i'm working on my own code...
my problem is the next:
-all the media is zipped and the extension changed to .mp3
-right click open with zip and opens it ok
-right click open with notepadd and the content starts with "PK" characters
using the code to get the file system, in class ACPFile, at method loadHeader used in method load:
Code: Select all
Ogre::DataStreamPtr stream(OGRE_NEW Ogre::MemoryDataStream(buffer, size, false, true));
char mc[3] = "";
stream->read(mc, sizeof(char)*3);
if(mc[0] == 'A' && mc[1] == 'C' && mc[2] == 'P')
{
LOGI("Magic char check passed");
the question is, how i can generate that ACP files? this isn't a normal zip or rar, i didn't try with tar and then i need to set ACP at start of file?
i tryed uzing zip, rar files compressed uncompressed, adding the ACP or not and there isn't any result
thx!