PDA

View Full Version : crass - a generic rip tool


crass
2008-07-10, 20:46
the least version is placed here: http://tieba.baidu.com/f?kw=crass (search the thread titled with "Crass Ver")

the current version is 0.4.9.1.

someone who content to rip new game will like it XD

Asceai
2008-07-10, 22:06
Interesting.. a general ripper for TPM-encrypted kirikiri XP3 archives. People who want to translate encrypted games (like SWAN SONG, Rui wa Tomo wo Yobu, Himawari) might find this handy. (although himawari's is very easy to "bruteforce"-decrypt, and kirikiri will still work with unencrypted patches)

Unregistered
2008-07-10, 23:17
There 2 three type tpm for encryption.

The first type is easy. crass and ExtractData load the tpm as a dll to decrypt the xp3 and extract anything you want, and they act same as what kirikiri2 core do.

The second type(referred to cxdec) is difficult, because the tpm use signature to verify who is look forward to loading an calling it, and decrypt the code itself at runtime in order to hide the detail. The code of decryption of xp3 is also very nasty, so ExtractData can't work with cxdec, but crass can get it well.

crass
2008-07-10, 23:51
In fact, crass is a pure ripper, it doesn't provide any function for repack, so if a game is encrypted with tpm, it is the best way that rip all then repack all without tpm-encrypted. In other word, you have to release a whole game rather than a single patch.

But there and back again, reading the source code of crass cui(the dec/game type and cxdec type) or reverse engineering the tpm(first type) to known the tpm how to work, which help you writing a tpm plug-in for encrypted XP3, and product a smaller patch, rather than a whole game.

Asceai
2008-07-10, 23:56
I thought you could have a mix of TPM-encrypted and non-TPM-encrypted XP3s, and thus still be able to use the patch.. maybe not, huh?

I'll admit I never tried patching a TPM-encrypted kirikiri game - never really felt inclined to.

Of course, the other alternative is to make the patch installer use the TPM to decrypt every XP3 in the directory, rename or otherwise disable the TPM, then add an unencrypted patch XP3. This will make the installer more complicated (as opposed to just spitting out a patch XP3 or two), but it should work pretty well.

Unregistered
2008-07-11, 00:20

>I thought you could have a mix of TPM-encrypted and
>non-TPM-encrypted XP3s, and thus still be able to use the patch..
>maybe not, huh?

You are right. I just remember a example, which write some code into startup.tjs to load a tpm to decrypt the XP3.

>I'll admit I never tried patching a TPM-encrypted kirikiri game - never
>really felt inclined to.

Some guys really do the thing.

>Of course, the other alternative is to make the patch installer use the
>TPM to decrypt every XP3 in the directory, rename or otherwise
>disable the TPM, then add an unencrypted patch XP3. This will
>make .the installer more complicated (as opposed to just spitting out
>a patch XP3 or two), but it should work pretty well.

I guess it only works well with the first type of tpm.

Rasqual Twilight
2008-07-14, 06:16
IIRC the repack feature is planned but the developer(s) is/are waiting for the extraction feature set to stabilize before releasing a repacking plugin SDK/API.

crass
2008-07-29, 20:45
upgrade to 0.4.10.0 ...

Asceai
2008-07-30, 02:36
What? cxdec=mogla?

I just cracked that ;_; Like, seriously, last week.
Man, this makes me look silly. =p