Hey there! I was brought here by this repo https://github.com/PretendoNetwork/ASH0 which said i should ping @cunning yoke for questions.
I'm currently trying to untangle the archive.org archive of Mario Maker servers, both to verify that its data is good and to hopefully put it in a bit more usable format for those who want to recover their courses.
The first issue I'm running into is that while the data seems to have the ASH0 heading, it's actually four ASH0 files concatenated together. While I could search for the ASH0 magic to separate the chunks, it turns out that among the millions of files in the archive there are many where the string "ASH0" randomly happens to appear in the binary data.
So question 1 is: Is there a way for me to determine the length of the ASH0 blob from the binary?
The other issue that I'm having is that although the data does in fact begin with the ASH0 byte sequence, the library here tells me Ash is not compressed. I'm running this on a little-endian Debian server.
nevermind this was PEBKAC, i was passing it an uninitialized buffer
. question 1 still stands though