#file-format #element #compression #endian #big #bit #granny2

opengr2

A file parser for Granny2 (.gr2) files written in pure rust

1 unstable release

0.1.0 Jan 20, 2023

#1980 in Parser implementations

MIT license

270KB
696 lines

opengr2

Open source parsing library for Granny2 files written in rust.

This library is an alternative rust native version of the C library opengr2.

Features

Functionality Status
Basic parsing ⚠️ (some types are still missing)
Big endian files ✔️
64 bit files ✔️
File format 7 ✔️
File format 6 ⚠️ (should work but needs more testing)
Custom element types
Oodle-0 compression
Oodle-1 compression
Bitknit-1 compression
Bitknit-2 compression
  • Granny2 Viewer an open source file viewer using egui and runs in the web browser.
  • Bevy File Loader a Bevy plugin to enable loading Granny2 files as a scene.

License

This library is licensed under the MIT-License.

Dependencies

~1MB
~20K SLoC