Skip to content

Files

Latest commit

03a0030 · Apr 14, 2025

History

History
25 lines (17 loc) · 778 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 778 Bytes

PyOMFTools

Some tools for decompiling and compiling OFM2097 AF files to JSON format and back to help with poking at the binary.

HTML cards

Prebuilt version of the HTML data is available at https://katajakasa.fi/projects/openomf/cards/

Installation

  1. Make sure you have python 3.12 installed
  2. Create a virtualenv, eg. poetry env use 3.12 and install deps poetry install --no-root.
  3. Activate the virtualenv, eg. poetry shell
  4. Run! eg. python -m omftools.cli.af_compile -h

How to ...

Generate the taglist.c

  1. Do the installation step above
  2. Make sure the tag omftools/resources/tags.csv is up-to-date.
  3. Run poetry run python -m omftools.cli.tags -i omftools/resources/tags.csv taglist.c
  4. Copy the generated taglist.c as required.