Extend version parser with qualityVersion
https://github.com/asheiduk/factorio-blueprint-decoder/blob/d6cd1562f52e715721ce448be977e2d4fc71600a/decode#L2538
The above line is the qualityVersion.
Typically set to 0, although I don't know when it's set to a different value.
I think that should be part of the version parsing.
@danielniccoli Where did you get this struct?
I'm trying to do my own decoder in TypeScript supporting Space Age as well: https://github.com/cinderblock/factorio-blueprint-converter
I got the struct by decompiling Factorio.
I've been looking with Ghidra but I haven't used it before... a lot to go through, even with the debug symbols. Did you find the function that decodes the blueprint dat files?
As far as I remember there was a lot of abstraction and I gave up understanding the encode and decode process.