Legend of Legaia - engine port
==============================

Version: 1.48.0 (x86_64-pc-windows-gnu)

WHAT TO OPEN

This folder holds two programs to double-click:

    Legend of Legaia.exe    play the game
    Legaia Explorer.exe     browse and extract the game's assets

The command-line-tools folder holds the command-line programs: the
game engine itself, plus modding and reverse-engineering tools for use
in a terminal. You do not need to open it to play. Keep it next to the
two programs above: they start the game from it.

TO PLAY

    Double-click "Legend of Legaia.exe".

    It starts command-line-tools\legaia-engine.exe without a console
    window. legaia-engine.exe is the same game plus every command-line
    option; run it from a command prompt to see its log.

The launcher opens. The first time, click "Choose disc..." and pick
YOUR Legend of Legaia (USA) disc image: the .bin file of a Mode2/2352
dump (or its .cue sheet). Dragging the file onto the window, or typing
its path, works too. The disc is checked and remembered; if it is the
wrong one (another region, not a disc image, moved), the launcher
says why. Then press Play (Enter) for the title screen.

The launcher also sets the display options - fullscreen, window size,
enhanced lighting, see-through walls, fog, bloom, the PlayStation
pixel look, camera distance, volumes, or "Original game only" - and
shows the controls.
Arrow keys move, Left / Right change an option, Esc quits. If the game
stops with an error, the launcher comes back and shows it; the full
log is legaia-engine-game.log in the saves folder.

EXPANSION PACK

The packs folder holds the Sample Expansion Pack (sample.lxpack), an
example expansion pack made for the port: a new tower to climb past level 60,
quests, bosses and game modes. In the launcher, click the Expansion
pack button (or select it and press Enter) to play with it; New Game
and Continue then use it. Delete (or a right-click) on the button goes
back to the game as it shipped. The tower's entrance is in Rim Elm and
opens for a party of level 30 or more, so Continue a late save. Select
on the pause menu opens the pack's Journal: quests, challenges, cards,
and Travel back to any of its maps you have been to. From a terminal:
    command-line-tools/legaia-engine play-window --disc <disc.bin> --boot-ui --expansion sample
and to look around first (straight onto a map, every map on Travel):
    command-line-tools/legaia-engine play-window --disc <disc.bin> --expansion sample \
        --map genesis_1f --cheat-travel
Other packs (.lxpack files) can be dropped in the same folder, or in
the packs folder of your saves folder, and show up the same way.
The pack holds no game data either: it points at the disc you supply.

UPDATES

When a newer release is out, the launcher shows "Update to x.y.z"
at the top right and Legaia Explorer a button beside Play. One click
downloads it, checks it and installs it over this folder, then starts
the program again; settings and saves are kept. Set
LEGAIA_NO_UPDATE_CHECK=1 to never look.

NO GAME DATA IS INCLUDED. The engine reads the disc you supply and
nothing else; dump your own copy of the game.

Settings, key bindings, options and saves live in your per-user
config / data folders (on Linux ~/.config/legaia-engine and
~/.local/share/legaia-engine; on Windows %APPDATA%\legaia-engine;
on macOS ~/Library/Application Support/legaia-engine).

CONTROLS (keyboard; a gamepad works too, by button position)

    Arrow keys     D-pad
    Z / S / A / X  Cross / Circle / Triangle / Square
    Q / W          L1 / R1
    1 / 2          L2 / R2
    Enter, Space   Start
    Right Shift    Select
    Esc twice      quit (one press only asks; save in the game first)

Triangle (A) opens the pause menu, as in the original game; so does
Start. Key Config on the in-game Options screen rebinds the keys.

Display and sound toggles:

    I    enhanced lighting        F8   lighting time of day
    Y    lamp shadows             F10  bloom
    Home ambient occlusion        F9   ground fog
    F4   see-through walls        T    camera distance
    R    free-angle movement      F2   mute
    F12  settings and key list (also ?)
    F11 or Alt+Enter   fullscreen
    Print Screen       save a screenshot to your pictures folder

Each toggle shows its new state at the bottom left for a moment.
On a controller, Select + Start opens the settings.

To play the game as it shipped, set the launcher's first row, "Look
and feel", to Original: every enhancement and fix is off, with the
PlayStation pixel look. "Original game only" alone does the same with
the smooth picture, and leaves your saved options as they were. From
a terminal:
    command-line-tools/legaia-engine play-window --disc <disc.bin> --boot-ui --retail

Mouse: drag to turn the camera, wheel to zoom, double-click to reset.
Every play option is on the command line:
    command-line-tools/legaia-engine play-window --help

Guide: https://github.com/AndrewAltimit/legend-of-legaia-re/blob/main/docs/guides/playing-and-viewing.md

TO BROWSE AND EXTRACT THE GAME'S ASSETS

    Double-click "Legaia Explorer.exe".

Legaia Explorer opens the same disc image and lets you browse every
archive entry, preview textures, 3D models, sound banks, music and
dialog text, export them (PNG, OBJ / glTF, WAV), or unpack the whole
disc into a folder of your choice. Its Play button starts the game
on the disc you have open and remembers that disc for the game, so
starting the game directly afterwards does not ask for it. Guide:
https://github.com/AndrewAltimit/legend-of-legaia-re/blob/main/docs/guides/extracting-assets.md

Both apps, with screenshots:
https://andrewaltimit.github.io/legend-of-legaia-re/guides/desktop-apps.html

The command-line tools in command-line-tools are listed in its README.txt.

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.
