clanner / cocdp

Clash of Clans Documentation Project
216 stars 64 forks source link

Some more code or at least IDEA is needed #10

Open hjmodi opened 9 years ago

hjmodi commented 9 years ago

I just added some code to your default decompress_csv.py and managed to get human readable files. But how do i recompress them. So if you have any idea about what a compress.py program may contain or IF you have program ready. Please let me know either here or in personal at hjmodi1@gmail.com.

FICTURE7 commented 9 years ago

Am not sure, but i think you could just compress the file with LZMA and remove 4 bytes at offset 9 of the compressed file to fix the header.

hjmodi commented 9 years ago

I'm not that good at dd command and partially understanding the dd code and a compress.py that i created is not working WELL. So if you want i can mail you compress.py that i've created or if you got some time can you please help me to create it?

jostster commented 8 years ago

or post it as a gist so anyone can take a look

Agusnez commented 7 years ago

I've managed to compress the files in LZMA with Java: https://github.com/jponge/lzma-java. but won't be recognised by the game as it crashes...