A modular JRPG systems plugin for Unreal Engine 5.8, built for a Legend of Legaia remake.
English · Português (BR)
JRPGFramework holds the game systems of the Legend of Legaia Remake by LIX Studios: inventory, party, status, shops, saves, camera, audio and an HTML UI rendered in-engine. It is a standalone plugin. It defines the structs, subsystems and UI, and references no specific assets. Meshes, textures and sounds live in the game project.
It is not a port of the original game. The legend-of-legaia-re reverse-engineering project
is read as a specification. Each system is written from scratch in C++ with the design changes this
remake wants. What comes from the original is data (tables validated against the disc), never code.
- Current status
- What's done
- What's missing
- Getting started
- Repository layout
- Documentation
- Contributing
- Credits
- License and disclaimer
The map is generated by python Extras/generate_status_map.py. The left panel has one cell per
UFUNCTION parsed from Source/JRPGFramework/Public, plus the API that
Docs/BATTLE_ROADMAP.md names but that does not exist yet. The right panel
weights each system by estimated effort. Hover any cell for details.
| Area | State |
|---|---|
| Field systems (core, save, inventory, world state, shop, party, status, audio, camera, mist, field character) | ✅ Done |
| HTML UI (Ultralight shell, field menus, gamepad / keyboard / mouse) | ✅ Done |
| Data pipeline (22 DataTables as CSV + LegaiaStudio editor) | ✅ Done |
| Options screen, Dialogue, Localization | 🟡 Partial |
| Arts (directional Arts, the new AP) | ✅ Done |
| Battle | 🟡 Playable: 7 of the 9 roadmap phases done, phase 7 in progress |
| Cutscene, Equip screen | ⬜ Not started |
13 UGameInstanceSubsystems that register themselves once the project's GameInstance inherits
UJRPGGameInstance, plus 2 world subsystems for the battle scene and its menu. That is about 52k
lines of C++, almost half of it battle and Arts.
| System | Highlights |
|---|---|
| Core | Gold with OnGoldChanged, tick-free playtime, map and position for saves, New Game, DataTable resolution with fallback |
| Progression | XP curve and stat growth taken from the original disc and checked against it, plus Easy (the Japanese original's rules) / Normal (the American original) / Hard / Juggernaut difficulty (details) |
| Save / Load | 15 slots, automatic gather and restore, map change + teleport, save versioning |
| Inventory | DT_Items (225 rows), stacks up to 99, item use routed to the right subsystem |
| World state | Event flags, chests, Revival Trees, bIsInField (gates the SAVE tab) |
| Shop | DT_Shops (32 shops), atomic buy/sell, featured items gated by platinum_card, flag gating |
| Party | Roster vs formation, XP split among survivors as in the original, level-up with jitter |
| Status | 5 equipment slots, conditions, Ra-Seru level 1..9, elemental affinity, the original's effective ( base ) stat |
| Audio | BGM that persists across maps with crossfade, 4 volume channels saved to settings |
| Camera | 13 framing presets with DOF, 8 procedural shakes, level cameras and zones, shot-reverse-shot conversation, FrameGroup / Orbit ready for battle |
| Mist | Living volumetric mist in the map's volumetric fog: 5 modes, an Air mode in its own box, follows the terrain, a trail painted into a texture by the player and NPCs (details) |
| Field character | Top-down character and controller: camera zones that stack, per-map settings, camera-relative or fixed-yaw controls, interaction through an interface, Enhanced Input, the party following the leader and R3 to switch who is controlled (details) |
| Arts | Directional Arts recognised as the original does (overlapping Arts, Supers, Miracles), learning + the learned list in the save, and the new AP model (regular Arts add AP, Hyper / Super / Miracle spend it). A new Art is a DT_Arts row (details) |
| Battle | Playable from a touch on the map to the victory: visible enemies roaming the field, arenas placed in the map, the original's transitions, the original's turn order, damage, block, juggle and knockdown rules, Arts and Spirit in the fight, formation advantage, the original's camera, voices and music, a command menu with auto-battle, USA / Japan rules. Every monster and the party's battle clips come from the disc (details) |
| WebUI | A single-page HTML shell rendered by Ultralight on its own thread, through a custom D3D11 GPU driver: menu, items, party, shop, save/load, options, main menu, popups and a dev screen |
| Tools | LegaiaStudio, a local web panel that edits the CSVs record by record and runs the builds, plus the WebUI build, plugin packaging and data converters in Extras/ |
| Item | State | Notes |
|---|---|---|
| Battle | 🟡 Partial | Still to do: items in a fight, the escape roll (Escape always works today), drop / steal, the rest of the HUD, VFX, the victory screen, then magic and Seru. A fix pass on the open bugs comes first (list). The plan is Docs/BATTLE_ROADMAP.md |
| Dialogue | 🟡 Partial | The conversation camera and the OpenDialogue signature are done. The dialogue runtime, its data format and an editor are missing |
| Cutscene | ⬜ Not started | The camera pieces it needs already exist |
| Localization | 🟡 Partial | FText is used everywhere and the Language option exists. Runtime culture switching and a string pipeline (Unreal and WebUI) are missing |
| Equip screen | ⬜ Not started | The Status rules work, but there is no UI for them |
| Options | 🟡 Partial | The screen is built. Its values are not wired to UGameUserSettings / UAudioSubsystem yet |
| Effective stats in UI | 🟡 Partial | The party and shop screens still show base stats |
| License file | ⬜ Missing | See License and disclaimer |
| Phase | Scope | Status |
|---|---|---|
| 0 | Extract assets from the disc (the RE project's prebuilt tools) | Done |
| 1 | Battle data (TOML → CSV → DataTable) | Done |
| 2 | PS1 3D assets (GLB → Blender → FBX → SkeletalMesh) | Done: all 179 monsters and the party's battle clips |
| 3 | Enemies roaming the map | Done |
| 4 | Battle stage (arena, formation, camera) | Done |
| 5 | Basic combat (turns, damage, death, victory) | Done and played; some bugs open for a later fix |
| 6 | Directional Arts + the new AP | Done |
| 7 | Remaining commands and presentation | In progress. Done: Spirit, formation advantage, transitions, camera, voices, music, command menu. To do: items, the escape roll, drop / steal, HUD, VFX |
| 8 | Magic and Seru | Not started |
Requirements: Unreal Engine 5.8.1, Visual Studio with MSVC 14.51+, Python 3.10+ (stdlib only).
- Download the free Ultralight SDK 1.4.0.1b4b800 and extract it into
Content/ThirdParty/Ultralight/. Its license does not allow it to be redistributed in a source repository, so it is not included. - Generate the UI:
python Extras/build_webui.py - Package the plugin:
python Extras/build_plugin.py. Check the two paths at the top of the script. - In your UE 5.8 project, make the GameInstance inherit
UJRPGGameInstance, import the CSVs fromDocs/Data/as DataTables under/Game/Data/, and callWebUISubsystem → InitializeUIShellon the map'sBeginPlay.
Read SETUP.md for the full walkthrough. It also covers the build failure that trips most
people up: a missing shaders/hlsl/bin/.
JRPGFramework/
├── Source/JRPGFramework/ C++ runtime module (Public/ + Private/, one folder per system)
├── Content/UI/ WebUI sources (src/ → generated shell.html), fonts, images, UI sounds
├── Docs/ Architecture, structure, roadmap, guides, reference, data (CSV)
│ └── status/ Status map shown above
├── Extras/ Dev tools: LegaiaStudio, build scripts, data converters
├── Config/ Plugin config
├── SETUP.md Build from a clean clone
└── CONTRIBUTING.md How changes get in
| Document | What it is |
|---|---|
Docs/README.md |
Documentation index |
Docs/ARCHITECTURE.md |
How the plugin fits together, and the 54 rules that must not be broken |
Docs/STRUCTURE.md |
File-by-file tree: what exists, what is a stub, what is planned |
Docs/BATTLE_ROADMAP.md |
The battle system, in 9 phases |
Docs/Guides/ |
How to use each system (save, inventory, shop, party, status, audio, camera, WebUI…) |
Docs/Reference/ |
Progression formulas, the Ultralight integration, and how the original paces and stages a fight |
Fork the repository and open pull requests against dev. main only receives tested batches from
dev. Read CONTRIBUTING.md first. It covers the conventions, the data workflow
(the CSV is the source of truth) and where battle work should start.
This project stands on other people's work.
- legend-of-legaia-re by andrewaltimit (MIT / Unlicense). This reverse-engineering project of the original game, written in Rust, is the specification this remake reads from. The XP curve, stat growth, item, shop and character tables, and the whole battle design in the roadmap come from its research and documentation. Its extraction tools also bring the original's battle models and animations (monsters and the party) into the game project. Thank you.
- DuckStation by stenzek. The field meshes of the characters used in the game project are extracted with its 3D dump. None of the extracted assets are part of this repository.
- Ultralight by Ultralight, Inc. is the HTML renderer behind the whole UI. It is used under
the Ultralight Free License, and its
NOTICES.mdmust appear in the credits of any shipped build. - Legend of Legaia (1998) was developed by Contrail and Prokion and published by Sony Computer Entertainment. It is the game this remake is a love letter to.
LIX Studios: itch.io · YouTube · Patreon
This repository does not include a license file yet. Until one is added, default copyright applies, so ask before reusing the code outside of contributions to this project.
This is a fan project. It is not affiliated with, endorsed by or sponsored by Sony Interactive Entertainment or the original developers. Legend of Legaia and its characters belong to their respective owners. Anything extracted from the original disc stays on the developer's machine and is never committed to this repository.