Reading binary files quickly.

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
pgimeno
Party member
Posts: 3550
Joined: Sun Oct 18, 2015 2:58 pm

Re: Reading binary files quickly.

Post by pgimeno »

Fair enough, unpack doesn't support all possible structures, and arrays are among those unsupported.
gradualgames
Prole
Posts: 9
Joined: Thu Feb 21, 2019 2:55 am

Re: Reading binary files quickly.

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 233 guests