RepositoryRust
XM

xmoezzz/rfvp

A Non-Official Rust cross-platform implementation of the FVP engine & IDE

158stars
25forks
2issues
6views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: visual-novel-engine

#1 Repository of the week

2
TINIX TRENDING·Topic: galgame

#2 Repository of the week

3
TINIX TRENDING·Topic: visual-novel

#3 Repository of the week

rfvp: A Non-Official Rust cross-platform implementation of the FVP engine and IDE.

English | 日本語 | 繁體中文 | 简体中文

What is rfvp?

  • See setsusmei for details. IN-GAME legacy
  • You can even use rfvp as an Operation System! Turn on your computer and boot with the UEFI program. uefi

rfvp debug HUD

  • Enable it with F2 hotkey (Fn + F2 on MacOS)
  • Only desktop platforms (Windows, Linux, macOS) for now.

Pre-built Binaries

Pre-built binaries for supported platforms are available in the Pre-built Binaries

  • Please note that pre-release version is the latest version containing the most recent features and fixes.
  • I usually don't bump the version so ofter. So if you want to get the latest features and fixes, please check the pre-release version.

Custom Font

  • By default, the engine uses a built-in font that is compatible with all original games. However, you can also use a custom font by put a ttf file in the font directory under the game data directory.

Translated Version

If you want to run a translated game, currently we only support UTF-8 and GBK encodings. You should switch to the proper encoding through Nls before running the game. However, only switching encoding doesn't guarantee that the translated game will work in following cases (not limited to):

  • The translated strings are not stored in the *.hcb file.
  • The translated game encrypts the translated assets.
  • Any other ways that the translated game differs from the original game in terms of data structure and format.

HOW TO BUILD

Beyond Reimplementation

  • Since we have both decompiler and compiler, we can also write an application based on the engine, such as a simple Windows-95-style painter. win95-painter

Installation

RFVP provides platform-specific installation guides under setsumei/installation:

Documentation

The Rust API documentation for this project is available here:

Supported Platforms and Packaging Types

PlatformPackaging Type(s) SupportedLauncherStandalone ExecutableArchitectures
macOSApp Bundle (.app) and DMG (.dmg)YesNoUniversal
iOSUnsigned IPA (.ipa, AltStore)YesNoarm64
AndroidAPK (.apk)YesNoarm64-v8a, x86_64
WindowsStandalone EXENoYesx86_64, arm64
LinuxStandaloneNoYesx86_64, aarch64
WASMBundleYesNoAny architecture (via WASI)
FreeBSDStandaloneNoYesx86_64
UEFIStandalone EFI (.efi)NoYesx86_64, arm64
PS VitaStandalone (.eboot)NoYesarmv7
PSPStandalone (.eboot)NoYesMIPS R4000
PS3Static Library (.a)NoYesPPC64BE
PS2Static Library (.a)NoYesMIPS R5900
SwitchStandalone (.nro)NoYesarm64-v8a
Wii UStandalone (.rpx)NoYesPowerPC 750CL
WiiStandalone (.dol)NoYesPowerPC 750CL
3DSStandalone (.3dsx)NoYesarm6k
  • Since this is a Rust project, it should be possible to build for many other platforms as well.

As Library

  • Normal Mode: Provide full capabilities of the engine, including using winit for event handling and wgpu for rendering. This mode is suitable for modern platforms.
  • Non-Standard Mode: Both event handling and rendering are handled by the target platform. This mode is suitable for modern game consoles and some embedded systems.
  • Old-School Mode: We don't use *.bin package files at all. Glyphs must be pre-rendered into 16 x 16 4bpp tiles, and game data must be pre-processed by using rfvp-rebuilder. We do everything for reducing memory consumption. This mode is suitable for legacy game consoles with less than 128MB of memory available to the game process, while you need to implement plaform-specific code for rendering, audio, input handling, file I/O, etc. We set minimum memory requirement to 32MB as our goal.
  • soft-renderer feature: By enabling the soft-renderer feature, you can use a built-in software renderer instead of wgpu, and everything just works on CPU. There is no more high-DPI support for this feature, so the game will be rendered exactly at its original resolution. If you believe that your niche platform haven't supported by wgpu yet, you can try this feature. It should work on any platform that Rust supports, while you don't need to write any line of code. This feature is not optimized for low memory budget.

Compatibility

This project aims to be compatible with all versions of the original FVP engine. Ensuring 100% compatibility requires testing against all related games. If you find this project useful and want to help speed up the compatibility testing process for more games, please consider sponsoring the project.

Disclaimer

  • This project is a standalone, reverse-engineered reimplementation of the original game engine logic. All source code has been written from scratch based on research and observation of the target software's behavior. This repository contains no original source code from the original developers.
  • You must own a legitimate copy of the original game to use this engine. You are strictly prohibited from distributing, sharing, or providing download links for any original game data, assets, or bundled game executables.
  • The original game company and rights holders retain all ownership of their intellectual property. As a courtesy, the original company is free to utilize the code within this repository for any purpose, including commercial use, without prior permission.

License

This project is licensed under the MPL-2.0 License. See the LICENSE file for details.

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
xmoezzz/siglus_rs

siglus_rs is an unofficial Rust implementation and multi-platform port of SiglusEngine, AVG32, UK2, and RealLive.

140
Nov 27, 2026
RepositoryC++
HIllya51/LunaTranslator

视觉小说翻译器 / Visual Novel Translator

14.4k
Dec 3, 2026
RepositoryTypeScript
OpenWebGAL/WebGAL

A brand new web Visual Novel engine | 全新的网页端视觉小说引擎

4.1k
Nov 21, 2026
RepositoryC#
Lunatic-Works/Nova

Programmer-friendly framework for visual novels (VN) / text-based adventure games (AVG) on Unity

722
Aug 1, 2026
RepositoryTypeScript
OpenWebGAL/WebGAL_Terre

Galgame Editing. Redefined | 视觉小说编辑,再进化

666
Nov 21, 2026
RepositoryGDScript
godothub/konado

Konado is a dialogue creation toolkit for the Godot Engine, with templates and a dialogue manager to help you quickly build Visual Novels, Gal Games, RPGs and other story‑driven projects.

147
Nov 24, 2026
RepositoryRust
RustPython/RustPython

A Python Interpreter written in Rust

22.5k
Dec 1, 2026
RepositoryKotlin
JetBrains/kotlin

The Kotlin Programming Language.

53.7k
Dec 1, 2026
RepositoryWebAssembly
AssemblyScript/assemblyscript

A TypeScript-like language for WebAssembly.

18.0k
Dec 1, 2026