Show file printing progress
Originally, FlashPrint shows file printing progress in a corner, based on the slicer's calculations for printing. This is possible because of the specifications for the GX file, also known as XGCODE file.
According to my own research about a year ago, I found out that GX files are essentially GCODE files, without any comments and with a custom binary header. I documented, as best as I could, my findings in this Excel spreadsheet based on the findings by another person which I can't recall at this moment.
I tried to fiddle manually with GX files using a hex editor to varying degrees of success, as well with GCODE files generated with different slicers, mainly Cura and Simplify3D, in an attempt to forge custom GX files. Most of the time, bed and extruder temperatures were incorrect because of reasons I couldn't tackle at the time I researched this topic.
Now, all of this might be helpful to tackle the printing progress and time calculations for GX files and GCODE files.
This is some good research, thanks for sharing it. I'd love to get the time estimations and model previews working again on the printer without having to use FlashPrint.