Page 3 of 3

Re: Reading binary files quickly.

Posted: Wed Mar 06, 2019 7:02 pm
by pgimeno
Fair enough, unpack doesn't support all possible structures, and arrays are among those unsupported.

Re: Reading binary files quickly.

Posted: Wed Mar 20, 2019 7:24 pm
by gradualgames
grump wrote: Sun Mar 03, 2019 7:40 am
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.
https://github.com/megagrump/moonblob is faster, more flexible and less cumbersome to use than love.data.pack/unpack for complex stuff.
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.