neverball-solid parses Neverball SOL files.
Neverball is a rolling-ball game and SOL is the binary format used for its levels and models.
$ npm install neverball-solid
var Solid = ;document;
var Solid = ;
var sol = Solid(buffer)
Load the SOL data from
buffer can be an ArrayBuffer obtained from an XMLHttpRequest or a FileReader; it can also be a Node.js Buffer. Throw if 1) the buffer does not contain SOL data or 2) the loader doesn't support the reported SOL version.
All of the SOL constants for material flags, item types, etc., are available as properties of the exported object.
neverball-solid largely adopts the same kind of terse notation for the various SOL attributes that's used in
share/solid_base.h. The only deviation from that is the addition of aliases, e.g., sol.items is an alias for sol.hv.