An expansion pack is new content made for the port - custom maps, fights and bosses, a level curve that makes level 99 worth reaching, quests and challenges, dialogue, trading cards, and game modes the original never had - that plays beside your own Legend of Legaia disc. It carries no game data: everything it borrows from the game, it names by coordinate, and the engine reads it off your disc. This page is the tour; the guides below it cover playing one, making one and playing online, and the format pages are the specification.
.lxpack file) the engine loads next to your disc. Nothing on the disc changes.play-window --expansion) and the browser play page..lxpack on the desktop or in the browser; entrances, the Journal, toasts and saves.The project has two ways to change the game, and they point opposite ways. The randomizer and disc patcher rewrite bytes on your copy of the disc, so any emulator or console plays the result. An expansion pack leaves the disc alone and adds to the port: it can do what no disc edit can - more enemies than a battle has seats, a map that exists on no disc, a poker table - because the engine is the one reading it.
| ROM patch | Expansion pack | |
|---|---|---|
| Changes | Your .bin (or a .ppf beside it) | Nothing on the disc |
| Plays on | Any emulator or console | The port, native or browser |
| Bound by | Retail's code, sector sizes, free space | The engine's own limits |
| Shared as | A seed or a PPF | A pack folder or one .lxpack |
| Turned off by | Using the unpatched disc | Unload, or not loading it |
Both share one rule: nothing that ships contains the disc's bytes.
A pack monster is always derived from a retail one: the pack writes base = { kind = "monster", id = 109 } and new numbers, and the engine reads that monster's mesh, textures, animations and attacks off your disc. A pack map names the retail scene whose scenery it reuses; an NPC names the retail placement whose model it wears; a card's portrait names the monster it shows. Each of those is a DiscRef, a coordinate into the disc.
The validator backs the rule up: a file under assets/ must be a PNG, glTF, Ogg, WAV or plain text file and must not look like any disc format, and no file in a pack may be named like a disc file (the no-disc-bytes rule). That is what makes a pack safe to post anywhere.
Every file but the manifest is optional, and every key in a file is optional: a pack writes only what it changes.
The pack as a directory, by what each file is for; as an .lxpack the same files sit in one deterministic archive.
pack.toml, coordinates, the .lxpack bundle byte by byte, validation, cards and modes sections.Both hosts end in the same call. The native window takes a pack folder or an .lxpack; the browser page takes an .lxpack (a file pick, or the bundle the workbench hands over). Each validates it - a pack with errors is refused, with the first few named - and activates it through SceneHost::activate_expansion_pack, which is World::activate_expansion: the battle tables compile, the XP curve swaps, the quest runtime adopts any progress a save kept for the pack.
Start with the sample pack: load it, play it, then open it on the workbench and see how each piece is written.