Java is required to run this app. Java should be available in your OS path.
Then run app with command "java -jar g2zgui.jar".

example for command line usage:

"java -jar g2z.jar -i=input.gcode -o=output.zcode -d=M200"

-l for logging parsed gcode (with this option convertion outputs all gcodes on stdout, without only conversion progress and errors)
-d options for devices are: M300,M200,INVENTURE,M300DUAL,M300PLUS,M200PLUS,ENDUREAL
-p option is for preview (available for M300DUAL, M300PLUS, M200PLUS and ENDUREAL) [ -p=preview.png ]
-i is for selecting input file (.gcode)
-o is for selecting output file (.zcode/.zcodex2)

Supported gcode commands (Marlin):
- G0, G1 - linear move
- G4 - pause
- G28 - home axes
- G90 - absolute positioning
- G91 - relative positioning
- G92 - set position
- M2 - print end
- M73 - set print progress
- M82 - E absolute
- M83 - E relative
- M104 - set hotend temperature
- M106 - set fan speed
- M107 - fan off
- M109 - wait for hotend temperature
- M110 - set layer number
- M140 - set bed temperature
- M141 - set chamber temperature
- M190 - wait for bed temperature
- M191 - wait for chamber temperature
- T0, T1 - select extruder

Comments interpreted from gcode:
- ;LAYER_COUNT:* - number of layers
- ;LAYER:* - current layer number
