1

Topic: Trying to Decode XYZWare 3w file

Hi all, long time lurker, first post. First of all, the forums have been a huge help to me as I got started in 3D printing, so thank you all very much!

Now, I began having issues with my Da Vinci 1.1a (by the way, I must be the only person in the world that bought one of these... very little posted online about them.) having gaps in the layers when using the XYZWare files. So I've been switching to Slic3r. As we all know, slic3r isn't directly compatible, so I'm writing a program to modify the slic3r file to work with the da vinci. I'm making really good progress, but I was hoping to take a look at a file created by XYZWare for reference. I cannot decode the file though. It appears not only base64 encoded, but also maybe zipped? or something like that.

Does anyone have any info on decrypting an xyzware file into a readable file? It seems like it has to have been done for someone to figure out the header, but I cannot find it for the life of me on any of the forums.

Thanks again guys.

2 (edited by RDSK 2017-06-30 18:23:53)

Re: Trying to Decode XYZWare 3w file

has anyone been able to decode the xyzware .3w file format?

I tried base64 decode in notepad++ but Error message is:

length of selected text (not including EOL) to be decoded is invalid.  It should be mod 4

I tried adding random characters to end of the string but no luck.

Previous comment mentioned zipping but I cant see why since its a very small file.

Just found this:

https://github.com/tai/decrypt-xyz3w

Doesnt seem to be working but would be gr8 to see the underlying gcode.  Even better if can edit it and recreate new .3W file consumable by current xyzware  Perhaps though encryption makes this hopeless...

3

Re: Trying to Decode XYZWare 3w file

RDSK wrote:

has anyone been able to decode the xyzware .3w file format?

I tried base64 decode in notepad++ but Error message is:

length of selected text (not including EOL) to be decoded is invalid.  It should be mod 4

I tried adding random characters to end of the string but no luck.

Previous comment mentioned zipping but I cant see why since its a very small file.

Just found this:

https://github.com/tai/decrypt-xyz3w

Doesnt seem to be working but would be gr8 to see the underlying gcode.  Even better if can edit it and recreate new .3W file consumable by current xyzware  Perhaps though encryption makes this hopeless...



Isn't that what ThreeDubber does? Encrypt gcode file into a .3w and decrypt a .3w into gcode.

4

Re: Trying to Decode XYZWare 3w file

Thanks. Following your suggestion, I used Threedubber to get gcode for a 3w print file and I changed

total-filament=0
extruder filament=0
extruder=0

then Threedubber to encrypt back to .3w

Success! I printed from an empty spool. I then tried copying the ; preceded text from above gcode to replace similar ; code in a gcode file from slic3r. then Threedubber to encrypt to .3w

Sadly somehow printer relaized this spol was socalled Empty (by xyz standards - ie hlf full in reality).  Game was then up and I could even print the first doctored .3W file.

Did I miss any steps in this Threedubber process?  Seem I nearly had it sorted...

Cheers

Rupert

btw are there any equivalent s to an EMUTAG I could use?  EMUTAG seller isnt  responding.

5

Re: Trying to Decode XYZWare 3w file

RDSK wrote:

btw are there any equivalent s to an EMUTAG I could use?  EMUTAG seller isnt  responding.

There is only one EMUtag type device that I am aware.  Have you tried to buy the EMUtag from Ebay?   I found the buyer to be very responsive and I had the unit in my hands within a week ( Canada-> US).

6 (edited by RDSK 2017-07-03 07:53:39)

Re: Trying to Decode XYZWare 3w file

Hi, Thanks very much for you feedback. I have left a message for EMUTAG seller on ebay.
Meanwhile is it possible to emulte the XYZ NFC signal using an android phone?  On mine I can read and write tags, isnt that what EMUTAG does?

7

Re: Trying to Decode XYZWare 3w file

RDSK wrote:

Hi, Thanks very much for you feedback. I have left a message for EMUTAG seller on ebay.
Meanwhile is it possible to emulte the XYZ NFC signal using an android phone?  On mine I can read and write tags, isnt that what EMUTAG does?

Depending on your android programming skills, I would imagine you could.  The apps I am aware of can read and write either the whole tag or a page at a time, but not the whole operation in use.  You would need to analyze how the da vinci controller uses that tag, a byte at a time?, when?,  etc.  i guess you could put a logic analyzer on that interface for a complete print to get an understanding of it. 
If you find or create something, let us know. 
I would like to see a raspberry pi emulate that interface.