Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

itisrazza/fx-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
Mar 5, 2019
Mar 5, 2019
Mar 5, 2019
Mar 5, 2019
Mar 5, 2019

Repository files navigation

fx-9860G File Metadata

This program loads the header data of a file for the CASIO fx-9860G series of calculators and displays it in a human-readable format.

Usage

Usage: fx-meta [filename]
Prints out metadata of a CASIO fx-9860G file.

Example output with my PONG port:

= File Header =
Identifier:     USBPower�
Type:           0xf3
File Size:      16696 bytes
Obj. count:     65535

= Addin Header =
Internal name:  @PONG
eStrips:        0
Version:        01.00.0000
Date:           2018.0902.1816
Title:          Pong
Size:           0x4138 bytes
Icon:
         ███   ██  █  █  ███         █  
         █  █ █  █ ██ █ █            █  
         ███  █  █ █ ██ █ ██         █  
         █    █  █ █  █ █  █         █  
         █     ██  █  █  ██          █  
                                     █  
                                     █  
             ██                      █  
             ██                      █  
             ██   ██                 █  
             ██  █████               █  
             ██  ████ ██       ███████  
             ██   ██  █ █      ███████  
             ██     ██  █ █    ███████  
             ██       ██   █   ███████  
             ██          █  █  ███████  
                               ███████

Build

All you need is make, gcc and pkg-config. Download this repo (either through git or as a zip/tgz) and run make.

The binary should be in bin/fx-meta.

Why

I've made it because I'm currently learning C (for uni) and I think dipping my feet into the water is a great way to get started.

Just for now, I can see a few issues with it. Everything is in the main method, it's targeted towards the GCC compiler (because that's what I have on my Linux machine, and endianness is a thing), strings from the headers are not null-terminated (look for the // nt comment).

If you have any solutions to these problems (that can be properly comprehended by a complete C/C++ newbie) that would be amazing.

About

fx-9860G File Metadata

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published