ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Aug 24, 2019 1:17 am

All times are UTC




Post new topic  Reply to topic  [ 18 posts ] 
Author Message
PostPosted: Sun Dec 31, 2017 3:50 pm 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Hi everybody,
I want to translate a Chinese IOS game to my language. But I dont know how to decrypt Lua files of Cocos2dx (I'm noob). I read this article but still do not understand: https://boards.libre.io/threads/decrypt ... es.297552/
So, I hope someone is able to help me decrypt these files, I am extremely thankful
Link of files: https://drive.google.com/file/d/1Q2s-g0 ... ixMXF/view
Link alll game files: https://drive.google.com/file/d/1JXj03c ... Vuzj3/view


Top
   
PostPosted: Sun Dec 31, 2017 4:09 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10568
Eh no, this is a different encryption:
http://aluigi.org/bms/kdqht_lua.bms


Top
   
PostPosted: Mon Jan 01, 2018 1:36 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
aluigi wrote:
Eh no, this is a different encryption:
http://aluigi.org/bms/kdqht_lua.bms

Thanks Aluigi, can you help me to encrypt the edited files ? I tried reimport but the new files must be same size as original :(


Top
   
PostPosted: Mon Jan 01, 2018 10:55 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10568
Script 0.2, you must re-decrypt the files because it now adds a "_decrypt" suffix in the filename.
Reuse the script on the decryted files to automatically encrypt them


Top
   
PostPosted: Mon Jan 01, 2018 12:13 pm 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
aluigi wrote:
Script 0.2, you must re-decrypt the files because it now adds a "_decrypt" suffix in the filename.
Reuse the script on the decryted files to automatically encrypt them

Thanks so much, its work perfectly :D


Top
   
PostPosted: Mon Sep 17, 2018 4:05 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Hi Aluigi, can you help me with this file ? Thanks.


Attachments:
data_hero.rar [74.67 KiB]
Downloaded 50 times
Top
   
PostPosted: Wed Sep 19, 2018 2:23 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Please help me. Thanks


Top
   
PostPosted: Tue Sep 25, 2018 2:32 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Need some help, thanks :(


Top
   
PostPosted: Tue Sep 25, 2018 5:55 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10568
It's encrypted, simple.
What's the game?


Top
   
PostPosted: Tue Sep 25, 2018 7:57 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
aluigi wrote:
It's encrypted, simple.
What's the game?

The name is "三国演义:吞噬无界" - KingWar - IOS game :)
Attachment is all database of game. Thanks


Attachments:
datas.rar [1.3 MiB]
Downloaded 47 times
Top
   
PostPosted: Thu Oct 04, 2018 2:06 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Help me, Aluigi. Thanks


Top
   
PostPosted: Thu Oct 04, 2018 1:47 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10568
Unfortunately I can't, I can only write a script once someone will post the algorithm and key.


Top
   
PostPosted: Thu Oct 04, 2018 3:02 pm 

Joined: Thu Oct 04, 2018 2:59 pm
Posts: 8
I found out xxtea by simple, unfortunately my ability is not enough to find the key, the game uses anti-debugging.

Code:
int __fastcall cocos2d::xxtea_decrypt(int a1, int a2, int a3, unsigned int a4, int a5, int a6, int a7, int a8, int (__fastcall *a9)(int), int a10, int a11, int a12, _DWORD *a13)
{
  unsigned int v13; // r7
  int v14; // r6
  int v15; // r4
  int v17; // [sp+24h] [bp+4h]
  int v18; // [sp+28h] [bp+8h]

  v13 = a4;
  *a13 = 0;
  if ( a4 > 0xF )
  {
    v15 = sub_73D7FC(a1, a2, a3, a13);
  }
  else
  {
    v18 = a2;
    v17 = a1;
    v14 = sub_6C65B4(16);
    sub_6C63F4();
    sub_6C64B4(v14 + v13, 16 - v13, 0);
    v15 = sub_73D7FC(v17, v18, v14, a13);
    sub_6C64C4(v14);
  }
  return a9(v15);
}


Top
   
PostPosted: Sun Jun 30, 2019 4:30 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Hi Aluigi, the game is updated with Android version. But I cant extract OBB file. Please help me, thanks :D
https://play.google.com/store/apps/deta ... zbf.jyfree


Top
   
PostPosted: Tue Jul 02, 2019 6:49 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
need some help, please :D


Top
   
PostPosted: Thu Jul 25, 2019 4:29 pm 

Joined: Thu Jul 25, 2019 1:19 am
Posts: 2
hackspeedok wrote:
need some help, please :D

send me APK file or a place i can download APK i will take a look


Top
   
PostPosted: Sat Jul 27, 2019 3:19 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
RonDo wrote:
hackspeedok wrote:
need some help, please :D

send me APK file or a place i can download APK i will take a look

Hi RonDo, here is the download link: https://apkpure.com/vn/store/apps/detai ... zbf.jyfree


Top
   
PostPosted: Tue Aug 13, 2019 7:40 am 

Joined: Mon Oct 06, 2014 6:41 pm
Posts: 385
Hi all, please help me. Thanks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 18 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited