Lychee 3.6.0 now allows you to export different versions of CTB (v2-v4). UVTools errors when trying to open a v4 version of a file with the following error:
System.IO.FileLoadException: Malformed file, PrintParametersV4 found invalid validation values, expected (4, 4) but got (0, 0)
File name: '/Users/brett/elegoo_saturn/To Print/iC Dev Fixture v1.v4.ctb'
at UVtools.Core.FileFormats.ChituboxFile.DecodeInternally(OperationProgress progress) in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\FileFormats\ChituboxFile.cs:line 2043
at UVtools.Core.FileFormats.FileFormat.Decode(String fileFullPath, FileDecodeType fileDecodeType, OperationProgress progress) in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.Core\FileFormats\FileFormat.cs:line 2625
at UVtools.WPF.MainWindow.<>c__DisplayClass104_0.<ProcessFile>b__1() in D:\Tiago\Dropbox\Programming\C#\UVtools\UVtools.WPF\MainWindow.axaml.cs:line 1490
To Reproduce
Steps to reproduce the behavior:
Change the version of the CTB file being export by lychee by modifying your printer settings in lychee (Under "Other Parameters")
Export a v4 file
Open in UVTools
See error
Expected behavior
Since UVtools has support for v4 I thought it'd be able to open it. I did try to rename the file to .v4.ctb but it still reported the same error.
Additional context
UVTools is still able to open a CTB v3 file as exported by Lychee
Let me know if you need anymore information! Thanks for all the great work!
System
Describe the bug
Lychee 3.6.0 now allows you to export different versions of CTB (v2-v4). UVTools errors when trying to open a v4 version of a file with the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Since UVtools has support for v4 I thought it'd be able to open it. I did try to rename the file to
.v4.ctb
but it still reported the same error.Additional context
UVTools is still able to open a CTB v3 file as exported by Lychee
Let me know if you need anymore information! Thanks for all the great work!