Re: Reading binary files quickly.
Posted: Wed Mar 06, 2019 7:02 pm
Fair enough, unpack doesn't support all possible structures, and arrays are among those unsupported.
Wanted to chime in and say thanks for pointing me to moonblob. I've integrated it into my project and am using it to load the data of the game. It works like a charm and is super fast.grump wrote: ↑Sun Mar 03, 2019 7:40 amhttps://github.com/megagrump/moonblob is faster, more flexible and less cumbersome to use than love.data.pack/unpack for complex stuff.gradualgames wrote: ↑Sat Mar 02, 2019 10:14 pm in Love2D, or any helpful Lua libraries out there that build up a "virtual file" abstraction, perhaps? What I've got works just fine but I figured I'd ask anyway.