Docs / Installation & System Requirements

Installation & System Requirements

Hardware and software requirements, platform support, and project configuration guidelines for LocalNPC.


💻 System Requirements

Development Environment

Machines That Run the Game

Target Hardware Budgets

PresetTarget ModelMin RAMGraphics cardDisk Space
Fast (low-end PCs)Qwen2.5-0.5B-Instruct Q4_K_Mnot measured yetnot used (CPU only in v1.0)569 MB of model files
Balanced (Default)Qwen2.5-1.5B-Instruct Q4_K_Mnot measured yetnot used (CPU only in v1.0)1.20 GB of model files

Disk space is the sum of the model file sizes in the model catalogue, in decimal units as the Setup Wizard shows them. Balanced: 1.12 GB (LLM) and 78 MB (Whisper tiny.en), 1.20 GB in all. Fast: 491 MB (LLM) and the same Whisper file, 569 MB in all.

Memory of the speech model: about 135 MB of working set and about 650 MB of private bytes while it is loaded (measured on one laptop (Intel Core i7-8750H, 15.8 GB RAM, Windows 11), tiny.en model, 4 threads, on battery, one or two runs per figure). Minimum RAM for a whole preset is still not measured.

The Balanced preset is the default; Fast is the option for low-end PCs. Balanced's 1.5B model has run in a Windows player build (Mono and IL2CPP, without a window, on one PC (Intel Core i7-8750H, 16 GB RAM, Windows 11), Unity 6000.3.10f1, one run each); the process working set with the model loaded was 1960 MB (Mono) and 1969 MB (IL2CPP). Not measured yet for Balanced: a minimum RAM, a windowed player, a CPU without AVX2, and a download through the Setup Wizard window. The Quality preset is not available in v1.0.


⚙️ Project Settings Configuration

1. Standalone Target Architecture

LocalNPC ships with eight native 64-bit Windows libraries in Plugins/x86_64. All eight together are 31.1 MB: the two LlamaLib libraries are 26.9 MB, the five whisper.cpp libraries are 4.0 MB and the voice library is 0.2 MB (file sizes on disk).

All of them are loaded into the game's own process. The package contains no .exe.

Restart Unity after replacing these DLLs. Once loaded, the speech-to-text libraries and the voice library stay loaded until the Unity process ends, also after you leave Play Mode. After a package update, or after you replace a file in Plugins/x86_64 by hand, close Unity and open it again.

2. Managed Code Stripping (IL2CPP)

When building standalone IL2CPP executables:


📦 Package Installation

To install LocalNPC into an existing Unity 6 project:

  1. Open Window → Package Manager.
  2. Under My Assets, find LocalNPC and click Download, then Import. (If you have an unpacked copy of the package folder instead, click + → Add package from disk... and select its package.json.)
  3. Leave every file selected in the import window and click Import.
  4. Once imported, open Tools > LocalNPC > Setup Wizard (or Tools > LocalNPC > Model Manager) to download the model files from Hugging Face (huggingface.co); each file is checked with SHA-256. The speech-to-text model comes from the model catalogue and is listed in the Model Manager.

This page is the file docs/02-installation-requirements.md of the LocalNPC package documentation (also in the package as Documentation~/02-installation-requirements.md).