i went down a rabbit hole and now all the levels in Celeste are packed into a binary format per-area and it's way smaller + loads faster yay
-
-
Replying to @NoelFB
I'm interested in the technical details here please post
1 reply 0 retweets 1 like -
Replying to @kevzettler
i just wrote a thing that takes the XML levels and re-writes them combined into a single file in a binary format (using C#'s BinaryWriter)
1 reply 0 retweets 1 like -
Replying to @NoelFB @kevzettler
it stores entries in a order of [number of entries][string key][value type][value] etc
1 reply 0 retweets 1 like -
Replying to @NoelFB @kevzettler
Wish I had done this before porting to Vita :)
1 reply 0 retweets 1 like -
Replying to @AxiomVerge @kevzettler
yeah parsing XML is kinda slow on PC but on consoles it's reaaallly slow (i have since found out)
1 reply 0 retweets 2 likes -
so optimizing it by removing XML loading bottlenecks (in this case with the 500+ level files haha)
1 reply 0 retweets 1 like
I understand json to be a faster intermediate step but binary of course is king
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.