CrossChannel - non standard cripak

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

CrossChannel - non standard cripak

Post by masagrator »

Hello.

It seems I have come across cripak that is storing files that cannot be properly decompressed by any tool. I'm getting raw files.

I was thinking that maybe it's encrypted, but it seems that's not the case because second to last file contains readable string chunks.

Image

Does anybody have an idea what this can be?

Only common thing for those files that seems to be compressed from the beginning is decompressed size.
One of patterns is that 0xFF is signaling that next 8 bytes are uncompressed.
File on screen is probably some OpenGL shader text file starting with

Code: Select all

#version 320
precision highp float;

struct VSIN
{

Link to cpk example

https://drive.google.com/file/d/1RjDAUz ... sp=sharing
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: CrossChannel - non standard cripak

Post by DKDave »

It's LZ type of compression. If you extract the individual files with VGMToolbox, then use this QuickBMS script on the .bin files, it'll decompress them. Note that some files aren't compressed.

Comtype PUYO_LZ01
Get SIZE Long
Get ZSIZE asize
Math ZSIZE - 4
Get FILENAME basename
String FILENAME + "_dec.bin"
CLog FILENAME 4 ZSIZE SIZE
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: CrossChannel - non standard cripak

Post by masagrator »

Thank you very much. It definitely seems that this is it. :)

You can still use cripakgui to get those files raw.