FTP uploading fail problem was euc-kr encoded file name. One of files was it, so this was cleared.
But, there is another problem.
My APK configure is
Engine.apk
GameData.apk (this is a just dummy 1kb for downloading actual game data from my download server)
compiled some execution file stuffs
When install and executing on Android, it's downloading all files from my download server but on pak update, GameData.apk remains just same as before. Download was success but patching didn't happens.
I've tried SystemPath(SP_APP_DATA) also, but not works. PC version works well with same code.
Code:
bool PatchInit() {
paks.addTry(paks_dir.tailSlash(true) + L"GameData.pak", null, false);
.....
}
bool PatchUpdate() {
....
if (update_files.elms())
{
Str pak_name = paks_dir.tailSlash(true) + L"GameData.pak";
Pak pak; pak.load(pak_name, null);
PakUpdate(pak, update_files, pak_name, null, EE::COMPRESS_LZ4, 9, null);
update_files.del();
}
....