kaitai-io / kaitai_struct_formats

Kaitai Struct: library of binary file formats (.ksy)
http://formats.kaitai.io
711 stars 204 forks source link

add specification for SerpentOS .stone files #665

Open armijnhemel opened 1 year ago

armijnhemel commented 1 year ago

This PR adds a parser for the .stone packaging format used in SerpentOS (a fairly new Linux distribution). I only found one file to test with in their latest ISO (only containing metadata), so there isn't much beyond structural parsing.

armijnhemel commented 1 year ago

Well, found some more files to test with, so I will go back to the drawing board first:

https://dev.serpentos.com/pool/b/bash/

KOLANICH commented 1 year ago

be in 2020, when the only sensible endianness (le) is mainstream in hardware

:facepalm:

armijnhemel commented 1 year ago

be in 2021, when the only sensible endianness (le) is mainstream in hardware

facepalm

Yet the format uses be

armijnhemel commented 1 year ago

Well, found some more files to test with, so I will go back to the drawing board first:

https://dev.serpentos.com/pool/b/bash/

It seems that zstd is not universally supported by kaitai-compress so I will leave this one as it is right now.