Legend of Legaia RE - command-line tools
========================================

Version: 1.47.0
Target:  universal-apple-darwin

This folder holds the command-line programs: the game engine and the
modding and reverse-engineering tools. They ship NO game data. Every
tool here reads a disc image that you supply yourself; none is
included or redistributed.

To PLAY or to browse assets without a terminal, use the programs one
folder up (see ../README-PLAY.txt). Here, legaia-extract drives the
whole disc pipeline from a terminal opened in this folder:

    ./legaia-extract "/path/to/your/disc.bin" --out extracted

The tools in this folder, one line each:

Extract + convert
    legaia-extract  full disc pipeline: files, textures, audio, font
    disc-extract    disc image -> ISO9660 files; "verify" checks your dump
    prot-extract    PROT.DAT archive -> named entries
    lzs-decode      the game's LZS decompressor
    asset           format hub: categorize, sub-asset extract, data tables
    tim             textures -> PNG
    tmd             3D meshes -> OBJ
    vab             instrument banks -> VAG samples / WAV
    xa              streamed CD-XA audio -> WAV
    seq             sequenced music (SEQ) inspector
    mdec            FMV movies -> image frames
    mes             dialog-container inspector
    anm             animation-container inspector
    mdt             MOVE clip-bank inspector
    art             Tactical Arts data inspector
    font-extract    dialog font -> glyph atlas + widths
Play + view
    legaia-engine   the from-scratch engine: with no arguments the game's
                    launcher; play-window, play-str, record/replay, ...
    asset-viewer    windowed viewer over legaia-extract output (textures, meshes,
                    audio, scenes); with no arguments it browses ./extracted
Mod + translate
    legaia-mod      modding SDK: build an expansion pack from text, check it, run it
    legaia-patcher  disc patcher: randomizer, "translate" language packs, manual edits
    save-tool       memory-card and save-file inspector
    gamedata-tool   curated game-data lookups (arts, items, enemies, shops)
    cheat-tool      cheat-database inspector (databases built in)
Reverse engineering
    asset           asset formats; "asset field-disasm" walks field-VM bytecode
    mednafen-state  emulator save-state analysis

Every program supports --help and --version.

Guides:          https://github.com/AndrewAltimit/legend-of-legaia-re/tree/main/docs/guides
Docs and source: https://github.com/AndrewAltimit/legend-of-legaia-re

Verify the archive against the SHA256SUMS file on the release page:
    sha256sum -c SHA256SUMS --ignore-missing

Licensed MIT OR Unlicense - see ../LICENSE and ../LICENSE-MIT.
The programs link third-party crates; their licenses and notices are
in ../THIRD-PARTY-LICENSES.txt.
