catibo
catibo copied to clipboard
CBDDLP and CTB encoding question
Hello, Few issues here. Trying to convert originla ctb file to decrypted one returnes only 11 layers of 100 in original. It sill can be opened in chitubox (1.6.3) but only 11 layersappear. Also, decrypted data looks like cbddlp (based on provided document): 80 83 F8 50 FF 81 A6 50 80 83 F8 50 FF 81 A6 50 80 83 F8 50 FF 81 A6 50 On other hand, cbddlp decryption goes well and retures all 100 laters. Here's some raw data: 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 4E FF FF FF A9 7F 7F 7F 7F 7F 7F 7F 7F 01 FF FF FF AB 7F 7F 7F 7F 7F 7F 7F 7F FF FF FF AB 7F 7F 7F 7F And this looks like ctb file (based on your descrription file). I dont know if this is twist in converter or in description. Or may be I'm doing something wrong. Actually, same procedure for phz (most interested in my case) works good. Conversion returns all layers, and raw data looks like: 80 7D 7D 7D 05 FC 7D 21 FC 7D 21 80 7D 7D 7D 05 And this is totally as described. Thanks for your effors in reverse engineering phz format!
Additional issue on phz decoding. No AA file decodes ok, 2x AA decoded file has only 1/2 layers of original, 4xAA file has 1/4 layers of original. Results are based on my test file with 100 layers.
Interesting! What command line did you use to convert the ctb? Would you be willing to share the input file that failed?
I suspect that I know where the issue is with antialiased PHZ. PHZ support is quite recent and I haven't tested it much (because I don't have a Phrozen Sonic Mini).
Win 10 command line. Input file was generated with chitubox. It's simple box 20205mm. Here is original CTB: https://drive.google.com/open?id=1yOGcfG41N0diggnpt744gBFejPW0CAaE
I do own sonic mini and open for testing. Actually, I used catibo-inspector and chitubox import to check converted file. The only reason in converting AA phz to decrypted for me is to get understanding of layer encoding to be able to generate own phz from zip/cws files.
I think I've found the mistake that was affecting both file formats -- I've successfully decrypted the file you sent. Please update and give it another try.
Yep, full file decoded, all100layers. but still, decoding ctb I'm getting cbddlp-like data. Pic attached.
PHZ with AA still same.
Sorry for the delay, that definitely looks like a bug. Well spotted. I'll see if I can track that down.
https://github.com/ezrec/uv3dp/tree/master/ctb https://github.com/ezrec/uv3dp/tree/master/cbddlp https://github.com/ezrec/uv3dp
These implementations are working, may help
Cliff L. Biffle [email protected] escreveu no dia segunda, 7/09/2020 à(s) 18:36:
Sorry for the delay, that definitely looks like a bug. Well spotted. I'll see if I can track that down.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cbiffle/catibo/issues/1#issuecomment-688450263, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUR56RMR36RMJNMNHDNMUDSEUKYBANCNFSM4MQCXNGQ .
-- Com os melhores cumprimentos, Vinicius Silva