Jump to content

Modding - Castle Clash (Code) (v35-37) Others? 3-10-2014 Updated!


Ghenghis
 Share

Recommended Posts

 

For who want , this what Lucky Patcher do when you use HBM custom patch :

 
[bEGIN]
[ODEX]
{"original":"04 67 61 6D ** 00"}
{"replaced":"04 67 61 6D 31 00"}
 
[LIB]
{"name":"libgam1.so"}
{"original":"00 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00 "}
{"replaced":"06 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00"}
 
[LIB]
{"name":"libgam1.so"}
{"original":"00 ** ** 2D 2D 00 ** ** 7E 7E 00 ** ** ** 2A 2A 00"}
{"replaced":"00 55 70 64 61 00 74 65 50 61 00 74 63 68 65 72 00 "}
 
[LIB]
{"name":"libgam1.so"}
{"original":"06 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00 "}
{"replaced":"00 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00"}
 
 
[END]

 

 

Hi Mic,

 

This values are available for the US version ! Did you succeeded to manage it for the Fr version, please ?

 

Best regards.

Link to comment
Share on other sites

[ODEX]

{"original":"04 67 61 6D ** 00"}

{"replaced":"04 67 61 6D 31 00"}

[LIB]

{"name":"libgam1.so"}

{"original":"00 31 2D 2D 2D 00 32 7E 7E 7E 00 33 37 2A 2A 2A 00 "}

{"replaced":"06 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00"}

[LIB]

{"name":"libgam1.so"}

{"original":"00 ** ** 2D 2D 00 ** ** 7E 7E 00 ** ** ** 2A 2A 00"}

{"replaced":"00 55 70 64 61 00 74 65 50 61 00 74 63 68 65 72 00 "}

[LIB]

{"name":"libgam1.so"}

{"original":"06 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00 "}

{"replaced":"00 31 2D 2D 2D 00 32 7E 7E 7E 00 33 37 2A 2A 2A 00"}

[LIB]

{"name":"libgam1.so"}

{"original":"60 32 13 78 03 92 63 2B ** ** 28 1C 09 F0 D7 FE"}

{"replaced":"60 32 13 78 03 92 63 2B 2B D9 28 1C 09 F0 D7 FE"}

{"original":"A8 42 1D D0 03 9A 13 78 64 2B ** ** 15 70 20 1C"}

{"replaced":"A8 42 1D D0 03 9A 13 78 64 2B 04 D1 15 70 20 1C"}

{"original":"00 00 C0 46 C0 46 ** ** 06 1C 0C 1C 15 1C 08 1E"}

{"replaced":"00 00 C0 46 C0 46 70 47 06 1C 0C 1C 15 1C 08 1E"}

{"original":"6E E4 6F C0 18 A0 42 ** ** 98 E1 28 1C F6 F7 53"}

{"replaced":"6E E4 6F C0 18 A0 42 C0 46 98 E1 28 1C F6 F7 53"}

{"original":"F7 20 FB 0B B0 F0 BD 00 00 ** ** 05 1C C9 48 9F"}

{"replaced":"F7 20 FB 0B B0 F0 BD 00 00 F0 B5 05 1C C9 48 9F"}

{"original":"6E E3 6F 80 18 98 42 ** ** 64 E1 AB 66 00 23 6A"}

{"replaced":"6E E3 6F 80 18 98 42 00 D9 64 E1 AB 66 00 23 6A"}

{"original":"01 D0 C1 F7 72 E8 08 BD 00 00 ** ** 12 4C 1F 1C"}

{"replaced":"01 D0 C1 F7 72 E8 08 BD 00 00 70 47 12 4C 1F 1C"}

{"original":"00 C0 46 C0 46 ** ** 05 1C BD F7 82 FA 69 8E CC"}

{"replaced":"00 C0 46 C0 46 70 47 05 1C BD F7 82 FA 69 8E CC"}

{"original":"43 2B 1C 5D 43 ** ** C7 F2 32 ED C7 F2 72 E8 D2"}

{"replaced":"43 2B 1C 5D 43 E0 1B C7 F2 32 ED C7 F2 72 E8 D2"}

{"original":"2A FF 10 BD 00 00 ** ** 05 1C DA 4C DB 48 DB 4B"}

{"replaced":"2A FF 10 BD 00 00 F0 B5 05 1C DA 4C DB 48 DB 4B"}

{"original":"13 00 00 FC 07 00 00 ** ** 18 4E 04 1C 0F 1C 85"}

{"replaced":"13 00 00 FC 07 00 00 70 47 18 4E 04 1C 0F 1C 85"}

{"original":"52 F9 21 1C D6 F7 47 FA 10 BD ** ** 89 B0 6A 46"}

{"replaced":"52 F9 21 1C D6 F7 47 FA 10 BD 70 47 89 B0 6A 46"}

[END]

That is the HBM code I've..

Link to comment
Share on other sites

[ODEX]

{"original":"04 67 61 6D ** 00"}

{"replaced":"04 67 61 6D 31 00"}

[LIB]

{"name":"libgam1.so"}

{"original":"00 31 2D 2D 2D 00 32 7E 7E 7E 00 33 37 2A 2A 2A 00 "}

{"replaced":"06 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00"}

[LIB]

{"name":"libgam1.so"}

{"original":"00 ** ** 2D 2D 00 ** ** 7E 7E 00 ** ** ** 2A 2A 00"}

{"replaced":"00 55 70 64 61 00 74 65 50 61 00 74 63 68 65 72 00 "}

[LIB]

{"name":"libgam1.so"}

{"original":"06 31 2D 2D 2D 00 32 7E 7E 7E 00 33 35 2A 2A 2A 00 "}

{"replaced":"00 31 2D 2D 2D 00 32 7E 7E 7E 00 33 37 2A 2A 2A 00"}

[LIB]

{"name":"libgam1.so"}

{"original":"60 32 13 78 03 92 63 2B ** ** 28 1C 09 F0 D7 FE"}

{"replaced":"60 32 13 78 03 92 63 2B 2B D9 28 1C 09 F0 D7 FE"}

{"original":"A8 42 1D D0 03 9A 13 78 64 2B ** ** 15 70 20 1C"}

{"replaced":"A8 42 1D D0 03 9A 13 78 64 2B 04 D1 15 70 20 1C"}

{"original":"00 00 C0 46 C0 46 ** ** 06 1C 0C 1C 15 1C 08 1E"}

{"replaced":"00 00 C0 46 C0 46 70 47 06 1C 0C 1C 15 1C 08 1E"}

{"original":"6E E4 6F C0 18 A0 42 ** ** 98 E1 28 1C F6 F7 53"}

{"replaced":"6E E4 6F C0 18 A0 42 C0 46 98 E1 28 1C F6 F7 53"}

{"original":"F7 20 FB 0B B0 F0 BD 00 00 ** ** 05 1C C9 48 9F"}

{"replaced":"F7 20 FB 0B B0 F0 BD 00 00 F0 B5 05 1C C9 48 9F"}

{"original":"6E E3 6F 80 18 98 42 ** ** 64 E1 AB 66 00 23 6A"}

{"replaced":"6E E3 6F 80 18 98 42 00 D9 64 E1 AB 66 00 23 6A"}

{"original":"01 D0 C1 F7 72 E8 08 BD 00 00 ** ** 12 4C 1F 1C"}

{"replaced":"01 D0 C1 F7 72 E8 08 BD 00 00 70 47 12 4C 1F 1C"}

{"original":"00 C0 46 C0 46 ** ** 05 1C BD F7 82 FA 69 8E CC"}

{"replaced":"00 C0 46 C0 46 70 47 05 1C BD F7 82 FA 69 8E CC"}

{"original":"43 2B 1C 5D 43 ** ** C7 F2 32 ED C7 F2 72 E8 D2"}

{"replaced":"43 2B 1C 5D 43 E0 1B C7 F2 32 ED C7 F2 72 E8 D2"}

{"original":"2A FF 10 BD 00 00 ** ** 05 1C DA 4C DB 48 DB 4B"}

{"replaced":"2A FF 10 BD 00 00 F0 B5 05 1C DA 4C DB 48 DB 4B"}

{"original":"13 00 00 FC 07 00 00 ** ** 18 4E 04 1C 0F 1C 85"}

{"replaced":"13 00 00 FC 07 00 00 70 47 18 4E 04 1C 0F 1C 85"}

{"original":"52 F9 21 1C D6 F7 47 FA 10 BD ** ** 89 B0 6A 46"}

{"replaced":"52 F9 21 1C D6 F7 47 FA 10 BD 70 47 89 B0 6A 46"}

[END]

That is the HBM code I've..

It depend on the mod , the first had what I post

Link to comment
Share on other sites

Hi Mic,

 

This values are available for the US version ! Did you succeeded to manage it for the Fr version, please ?

 

Best regards.

 

I looked at it, only problem is fr version is completely different code, version 1.2.17 - thats a lot of work - someone interested in the fr version could figure it out & it also would be easier to mod att & damage also as they haven't made as many patches for fr version, they using old code :P

 

The code we have is for .35 & .37 - not going to match. you have to goto each offset & compare old & new. so compare it to Apples & Blocks, not so easy would takes many hours to figure it out. So if someone wanted to do it they would use IDA & many hours of racking there brain.

Link to comment
Share on other sites

I looked at it, only problem is fr version is completely different code, version 1.2.17 - thats a lot of work - someone interested in the fr version could figure it out & it also would be easier to mod att & damage also as they haven't made as many patches for fr version, they using old code :P

The code we have is for .35 & .37 - not going to match. you have to goto each offset & compare old & new. so compare it to Apples & Blocks, not so easy would takes many hours to figure it out. So if someone wanted to do it they would use IDA & many hours of racking there brain.

Hi, I have done it with my French version but the problem is in HBM, monsters are modded and not my troops/hero :\ very strange !! I have modified exactly the same as US version...

Any ideas ?

Best regards.

Link to comment
Share on other sites

Hi, I have done it with my French version but the problem is in HBM, monsters are modded and not my troops/hero :\ very strange !! I have modified exactly the same as US version...

Any ideas ?

Best regards.

If I can get the Dungeon mod it would be so good :o

I tried things but it seems like as Genghis said we need to modify each offset of the patch according with the FR versions offset.

Btw, I gotta say something :

It only is showing 1.2.17 BUT it actually has the same patches/breaches and specs than 1.2.35 !

Link to comment
Share on other sites

Hi, I have done it with my French version but the problem is in HBM, monsters are modded and not my troops/hero :\ very strange !! I have modified exactly the same as US version...

Any ideas ?

Best regards.

 

.17 could be close to .35 or .37 but different as its fr not english

 

because the offsets are different code shift + the patches are for .35 & .37 - wont work correctly with other versions, some things could match like you found but rest you would have to do one by one & find the difference & use a few tools to figure out the changes, could also compare lis in hex workshop see the difference there then open both in IDA & see if you could patch your self - seems to me it found Monsters Code & Player code has changed a bit 

 

786D6C200076657273696F6E3D

 

can find version like .17***.  using hex editor

 

so whats this you say? well the XML files are encrypted but you can hex edit or IDA it 

not many thought the most important data is around encrypted XML files  - im sharing as this will help the Advanced user find the data needed now to mod, How you say they can use 786D6C as a tip to find hero or attack or what ever in hex editor then goto IDA with offset & around this offset above or below will be the data that would be most correct to edit, if it dont work then its server sided. very easy to figure out as its spelled out for everyone to edit 

 

So the Above tells us that we need to look for XML files as the lib & XML work together as a team. this really should help advance CC modding 

 

So if someone can decipher the decryption as I really dont think its XML file from Microcrap in the cc_data folder in the apk. but not sure

 

can find any version & change it 

 

im a noob, but if I can do it think what an advanced user can do learning from a Dumby like me :P

 

This is all I can say but im thinking anything is possible if you try ;)

Link to comment
Share on other sites

Hi thank you for your reply ! Today there is an update of FR version now we are on 1.2.18. I looked on changes but i found nothing, the "libgame.so" have the same values as 1.2.17, very strange !!

 

but now when i'm trying to patch the versioncheck with Lucky Patcher with the value "31 37" the game say me that there is a new version to update :(

 

But when i look for the version in IDA the value is the same "17***" I don't understand !! Perhaps the version is in another file like xml...

 

Edit: sorry my mistake i think i was looking in bad file :(

Link to comment
Share on other sites

  • 2 weeks later...

The Italian version already got just one file 'libgame.so' .. But I'm not sure how to get this codes working for it. Is it possible with this one? Is there another one for it or can someone create it? Can anyone give me an explaination / tutorial how to do this by myself ? I'll learn it to help. :)

Link to comment
Share on other sites

  • 2 weeks later...

So wait... I have the correct game version. Just how do I do all this in the luckypatcher?

 

You can't do it anymore because the Game would drop you out.

 

But there're new methods how to do this - just look in VIP+ Android Cheats.

Link to comment
Share on other sites

You can't do it anymore because the Game would drop you out.

 

But there're new methods how to do this - just look in VIP+ Android Cheats.

Correct This Method is No Longer Working for CC - Wrapper added, 

 

Mod Can Close Thread.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.