Dépôt historique de la libg1m.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Touhey f9220d6bcd latest modifs apparently 7 months ago
doc latest modifs apparently 7 months ago
include Headers, lol 5 years ago
src latest modifs apparently 7 months ago
tools ._. 5 years ago
.editorconfig Should have removed fontcharacter python module for now 5 years ago
.gitignore Corrected things in the lib. 5 years ago
AUTHORS.md More things to study. 5 years ago
LICENSE.md Started changing headers, updated license to LGPL3. 5 years ago
Makefile Corrected configure script installation. 5 years ago
Makefile.msg Finished for the night 5 years ago
Makefile.vars Namespace, started correcting CAS set managing 5 years ago
README.md Added *really* basic double to BCD conversion 5 years ago
TODO.md Corrected documentation 5 years ago
configure Added MCS thingies, started correcting picture decoding 5 years ago


libg1m - Casio File Format manipulation


All of the files created around CASIO calculators are declinations of one format, which I named by the name of one of them : G1M. These formats go from main memory saves to pictures and e-activities (documents).

This library aims to be able to parse and write in all of the available formats, and to centralize the documentation and work on them, in order to provide a simple interface for C programs, that can be adapted to provide other interfaces such as a Python one, and to hide the odd subtilities of this Patchwork As A Format.


Side note : the library might work with older versions of these dependencies, I took these as a reference because these are the ones I work with.

Making-only dependencies

Name Version
make >= 4.0
gcc >= 4.9
binutils >= 2.25
asciidoc >= 8.6.9
gzip >= 1.6
python3 >= 3.5
pkg-config any

Runtime dependencies

Name Version
zlib >= 1.2.8
libfontcharacter >= 1.0


Just ./configure then make. To install, use make install.

If you're using a custom target, by default, the prefix will be /usr/<target>; to change this, use file options using the configure script options (see ./configure --help). To build a DLL for MS-Windows, use a XXX-wXX-mingwXX target.

To build and install only the lib, use all-lib then install-lib. To build and install only the docs, use all-doc and install-doc.

Other useful targets:

  • uninstall, uninstall-lib, uninstall-bin, uninstall-doc: will try to uninstall using the current configuration (experimental);
  • mostlyclean, clean, clean-doc, mostlyclean-lib, clean-lib: remove built files at different levels;
  • re, re-lib, re-doc: regenerate built files at different levels (clean and build) -- useful when configuration is changed.