-
Notifications
You must be signed in to change notification settings - Fork 58
.PHZ support #63
Comments
No hints on the format. ask César in the group chat, he has been
investigating and his first idea is that the format is similar to CBDDLP
but was unconfirmed.
The sonic mini board uses a chinese FPGA with integrated MIPI and a STM32
somewhat similar to the CBD-TECH boards, except CBD uses a altera cyclone 1
FPGA and it needs 2 toshiba external processors for MIPI
riggiding <notifications@github.com> escreveu no dia terça, 3/03/2020 à(s)
20:00:
… I'd love to implement (also looking to get a sonic mini) but cannot find
any hints on the format.
Does anyone have an idea where to find documentation? @bonosoft
<https://github.com/bonosoft> @X3msnake <https://github.com/X3msnake> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=ACUR56QDINNM3PH5A6APUUDRFVOW5A5CNFSM4LAORYC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENU53VY#issuecomment-594140631>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUR56UYK6MQHLQT2BXZ2O3RFVOW5ANCNFSM4LAORYCQ>
.
--
Com os melhores cumprimentos,
Vinicius Silva
|
@riggiding I tried for a few days now to get the specs from Phrozen directly via their FB support but either people are unwilling to help or do not understand the request. I tried figuring out how the format is compressed but neither |
the file format is similar to the Photon/CBDDLP and most of the header strings are the same. |
@johanneslumpe any news on this? |
@X3msnake indeed! Sadly not good news. I reached out to Phrozen and was told that their own file format is just a zip file. When asking about Chitubox I was told that they had no info on that version of the phz format. So I reached out to Chitubox directly and was told that the format is closed source and contains “NDA sources”, which really seems unlikely for a file format that is essentially some bytes concatenated with a zip of images. Regardless, they didn’t offer up any format specs. So I’m wondering if we should try to use your plugin to intercept the output and try to get chitu to slice to a zip instead? Then we could add support for that to the validator. |
i wonder how protected is the chitubox binary. it can open the sliced phz file and show it as voxels so it has the structure to both compile and decompile the files... with the amount of file formats it is supporting it might be interesting to check for vulnerabilities and see if we can get at least some sort of hints on what is happening in the file the ui looks very similar to the Chitubox printers like the photon classic and i think it use monochrome images for the AA like the cbddlp/photon |
@X3msnake I have not really done anything like this before, but I'd be interested to dive into it. Do you have some pointers as to how to get started here? |
this is what Master @Cex123 has maneged to gathered about the file format, but he is stuck at the compression format since we do not know what type of image format it is using, therefore it is hard to reverse the compression it is using |
According to Phrozen their format uses "sliced PNG files in ZIP format". That's what I was told via email. So I'm wondering if the images in this format actually a zip file embedded in this |
Well that is true for their flagship line of printers, but those printers also use a version of NanoDLP and a raspberry pi as hardware. Pretty sure this printer was made by another company like i think i mentioned before there is a printer out there from a russian company that came sometime before the sonic that has the same board footprint. This is probably just rebranded by Phrozen since this printer use a board and firmware more similar to the CBD-TECH boards, so much that i think @Cex123 said he can probably support the Photonsters firmware UI mods hack tools That said it is a good thing to check, but i think if it had a embedded zip one would be able to unzip it with 7Zip and we can't |
https://github.com/cbiffle/catibo/blob/master/doc/phz.adoc :toc: = PHZ file format This document describes the file layout and record format for the == Relationship with The == Unified header format
The fields play exactly the same roles as in The newly unified file header record is 0xD8 / 216 bytes in length, with several [cols="1,6,6,6,3,3"] |0x |1x |2x |3x |4x |5x |6x |7x |8x |9x |Ax |Bx |Cx |Dx |=== NOTE: The encoding of the preview images and layer table are identical to those in == Layer data encoding Layers are encoded as 7bpp images using yet another RLE scheme. This scheme,
Thus, Quirks observed in the wild:
== Layer data encryption Like Fortunately for owners of the Sonic Mini, the encryption is straightforward. I'm referring to this cipher as the "9f Cipher," named after the initial byte of Here's the concise version, showing just which parameters vary. The keystream .... (Where Each block of data is simply XOR'd with the keystream, as in A key of 0 causes the desktop software to accept unencrypted files. This may or (However, note that TIP: The proprietary desktop software does not appear to check for these weak == Analysis I kept commentary to a minimum in the On the new unified header format: This is a great improvement. It really On the new RLE scheme: In practice, layer images will tend to include long On the new cipher: Don't get me started. |
@X3msnake we could just use |
cbddlp uses monochrome multiple images to emulate AA. ctb uses real greyscale. so that is not a good option |
ah good point. It would only work for non-AA files. |
Now that the file format is known, how much work is it to translate that to something that the validator can process? (How long might it take me?) |
as a work around for now just output the file fixed and use UV3DP to
convert the file.
Sauyon Lee <notifications@github.com> escreveu no dia sábado, 9/05/2020
à(s) 09:47:
… Now that the file format is known, how much work is it to translate that
to something that the validator can process?
(How long might it take me?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUR56SPBYFSKASFN4QCKBTRQUKBHANCNFSM4LAORYCQ>
.
--
Com os melhores cumprimentos,
Vinicius Silva
|
PHOTON FILE VIEWER IS NO LONGER MANTAINED OR DEVELOPED!Use UVTools by Master Photonster Tiago Conceição instead |
HI, will the program support the .PHZ file extension.
I have a Phrozen sonic mini and it uses that extension.
The text was updated successfully, but these errors were encountered: