Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CronosPlus .cpy format support #9

Open
arzam16 opened this issue Jul 3, 2022 · 1 comment
Open

CronosPlus .cpy format support #9

arzam16 opened this issue Jul 3, 2022 · 1 comment

Comments

@arzam16
Copy link

arzam16 commented Jul 3, 2022

CronosPlus has an option to backup a "bank" with its data and indices into compressed .cpy archive. Are there plans to support this kind of a database in the future?

Header sample:

00000000: 4372 6f41 7263 3032 4372 6f42 6443 6f70  CroArc02CroBdCop
00000010: 7906 00de e805 0026 d59a bf56 212e 4a97  y......&...V!.J.
00000020: b733 5062 8a2d 17ce 6074 0072 015f ecf9  .3Pb.-..`t.r._..
00000030: 347b b90a 8517 06bb 30b9 2f76 e32e 2a54  4{......0./v..*T
00000040: e658 5f0d 0174 0095 b322 6f3b a722 a4c0  .X_..t..."o;."..
00000050: d21c 7bd1 0aaa c563 1ace ab94 6099 d64c  ..{....c....`..L
00000060: ed23 844f 4448 1ae2 f97d ff26 0e69 d149  .#.ODH...}.&.i.I
00000070: 40b9 80a2 db95 2d84 146c e460 00ee eef1  @.....-..l.`....
00000080: 4185 16bd dfbf 760d 92ba 69c5 4aee 38e5  A.....v...i.J.8.
00000090: 984b b5e5 0803 f085 7cd0 e216 a259 ecc7  .K......|....Y..

Entropy: image.png

Reference link: restoring CronosPlus backup (in russian)

@nlitsme
Copy link
Collaborator

nlitsme commented Jul 4, 2022

This is what I figured so far:

.cpy files start with either:
"CroArc01CroBdCopy" 03 00
"CroArc01CroBdCopy" 02 00
or
"CroArc01CroOutFormCopy" 02 00

followed by a sequence of:

  • DWORD chunksize
  • BYTE chunk[chunksize]

The format / encoding of the chunks is not immediately obvious to me. That will require some more work to figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants