A Rust reimplementation of AliceSoft's System 3.5 visual novel engine, starting with 鬼畜王ランス (Kichikuou Rance, 1996).
Status: M3 graphics done. Windows play opens a
resizable window with mouse input, timed palette fades, reveals and waits.
The CLI also lists and extracts ALD sets, disassembles SCO pages and runs
scenarios in the terminal. Both Japanese sets reach the first menu and one
subsequent turn. render writes indexed PNG frames with native GDI text.
Twelve stable opening/menu/map frames match the original pixel for pixel.
Audio, persistent saves, settings and a complete playthrough remain incomplete.
See Milestones.
System35-rs contains engine code only. It ships no game data. To play, point it at a copy of the game you own.
| Crate | Role |
|---|---|
system35-core |
ALD archives, SCO scenarios, PMS decoding and VM. Standard library only. |
system35-host |
Indexed surfaces, palettes, software drawing, GDI text and PNG. |
system35-desktop |
Windows presentation, resizing and local input. |
system35-cli |
system35 command: inspect, unpack, disassemble, trace, render, play. |
The desktop dependency is optional; headless builds use --no-default-features.
- M0 archives (done): ALD link tables, volumes and extraction.
- M1 scenarios (done): decode SCO pages, disassemble and re-encode.
- M2 text VM (done): run a scenario in the terminal, print lines, take choices.
- M3 graphics (done): indexed rendering, fonts, Windows input and timed drawing.
- M4 audio: WAV effects, music tracks, MIDI.
- M5 saves, menus, settings.
- M6 a full playthrough of a tested title, recorded in
docs/games/.
docs/formats/: file formats. Each claim is marked as observed, derived, or inferred.docs/games/: tested titles, file hashes, results.- CLI usage: running scenarios, choices, traces and limits.
cargo run -p system35-cli -- ald list <game>GA.ALD <game>GB.ALD
cargo run -p system35-cli -- ald extract <game>SA.ALD <out-dir> --name スタート.SCO
cargo run -p system35-cli -- ald extract <game>SA.ALD <out-dir> --link 0
Supply all referenced volumes of one set. The last filename letter selects
the volume slot (A=1, B=2). Footer disagreements are reported explicitly.
Extraction checks selected paths before writing and never overwrites files.
Names are matched after strict Shift_JIS decoding. Ambiguous names require
--link with the zero-based index printed by list.
See ALD format notes and the
Kichikuou regression inventory. To run the
local game-data regression, set SYSTEM35_SAMPLES to the sample root.
Without it, the test prints a skip message. Only counts and hashes are stored
in the repository.
cargo run -p system35-cli -- sco disasm <game>SA.ALD --name SET.SCO
cargo run -p system35-cli -- sco disasm <game>SA.ALD --link 0
cargo run -p system35-cli -- sco text <game>SA.ALD
Disassembly shows offsets, opcodes, decoded operands and raw bytes. Text
output includes the page ID, offset, text/choice kind, quoted text and raw
hex. Both commands accept all volumes of one scenario set. --encoding
selects the display code page for text and source-name display; the default
is Shift_JIS. --name matches the exact, strictly decoded Shift_JIS ALD
entry name. Variable operands include R/V form, width, high bit and suffix.
Closing the output pipe exits quietly with success. Raw bytes remain
available independently of decoding. Static text does not evaluate dynamic
H/X insertions or execute choices.
Both Japanese scenario sets re-encode byte-identically on all 201 pages. See SCO evidence and opcode coverage for supported headers, original-runtime addresses, code/data boundaries and text comparison.
To open the graphical host on Windows:
cargo run -p system35-cli -- play <game-data-dir>
Supply the complete G and S ALD sets. The font defaults to MS PGothic;
--font selects another installed face. Right-click the strategy map to
open its menu, then left-click an option. A's wait marker uses the matching
original SYSTEM35.EXE, found beside the data or selected with --runtime.
Play validates the runtime before opening its window. Use --runtime if
no matching build is found automatically.
See window and timing options.
To print scenario text in the terminal:
cargo run -p system35-cli -- run <game-data-dir> --input <input-file>
cargo run -p system35-cli -- run <game-data-dir> --input <input-file> --choices 5 --seed 1 --trace
cargo run -p system35-cli -- run <game-data-dir> --input <input-file> --max-lines 200
The data directory must contain the scenario ALD volumes. Execution starts
at the native entry and prints visible message buffers in execution order.
Offscreen font initialization appears only in --trace. Choices print
numbered labels and read stdin. --choices supplies answers; exhaustion
stops at the next choice. --max-lines limits messages and excludes option
labels. Trace and coverage go to stderr. The code page defaults to Shift_JIS
and can be selected with --encoding.
Pointer and benchmark answers come from --input; desktop metrics are
portable defaults or caller-supplied values. Saves stay in memory for the
current run. See CLI usage for the game input fixture.
See the VM subset and host substitutions for current
limits, error reporting and --step-limit.
cargo run -p system35-cli -- render <game-data-dir> --at title --out title.png
cargo run -p system35-cli -- render <game-data-dir> --input <input-file> --at message:1 --out message.png
Supply the complete graphics and scenario ALD sets. --font overrides
MS PGothic; a missing Japanese font is reported explicitly. The renderer
keeps palette indices and performs no real-time playback. See
CLI usage and
graphics semantics.
What helps most is hearing how other games do. If you own a System 3.5 game, try it and open an issue to tell us how far it gets. Screenshots are welcome as long as they aren't explicit. Please don't upload game files or post download links. If you'd like to work on the code, see CONTRIBUTING.md.
If you find this project useful, a star helps others discover it.
This is an unofficial project and is not affiliated with AliceSoft or any game company. System 3.5 and all game titles belong to their respective owners.
Licensed under either of Apache License 2.0 or MIT at your option.