Repo ↗ · Source README ↗ · Markdown & license bundle
Image reference (original game): Fallout: New Vegas · original-game artwork, provided by IGDB. Image rights remain with their respective owners. This illustrates the referenced original game, not the actual visuals of this rewrite or mod.
Source maintainer: slaterain · Revision: fb4b846471f7 · Catalogued: 2026-10-12
Source license: MIT · LICENSE-APACHE · LICENSE-MIT · Article: Source README (format adapted)
The source README follows, with formatting adapted for this site and images replaced by source links. Feature, completion and testing claims belong to its authors and have not been independently playtested here. The Traditional Chinese translation was prepared with AI assistance.
nv-rs
[README image:Rust](https://www.rust-lang.org/)
[README image:Engine](https://bevyengine.org/)
[README image:License: MIT](https://github.com/slaterain/nv-rs/blob/fb4b846471f7fb61aa770a900a967cbb524b79c1/LICENSE-MIT)
[README image:License: Apache 2.0](https://github.com/slaterain/nv-rs/blob/fb4b846471f7fb61aa770a900a967cbb524b79c1/LICENSE-APACHE)
[README image:Platform](https://github.com/slaterain/nv-rs/blob/fb4b846471f7fb61aa770a900a967cbb524b79c1/docs/PLAYTESTING.md)
[README image:Status](https://github.com/slaterain/nv-rs/blob/fb4b846471f7fb61aa770a900a967cbb524b79c1/docs/MILESTONES.md)
A from-scratch reimplementation of Fallout: New Vegas in Rust with the
Bevy engine. It runs the game from the Data folder of an installation you
own and aims to behave exactly like the original (1:1).
[!IMPORTANT]
nv-rs is an independent project, not affiliated with or endorsed by
Bethesda Softworks, ZeniMax Media, Obsidian Entertainment or Microsoft. It
contains no game files; you need your own legally obtained copy of the game.
See LEGAL.md.
How it works
- Original files at runtime. nv-rs reads the game’s own plugins, archives,
meshes, textures, sounds, menus and shaders directly. There is no
conversion step, and the installation is never modified. - Behaviour from the original program. Rules, constants and formulas come
from the game’s program (FalloutNV.exe, read in Ghidra), its data, and
recordings of the original game. Nothing is invented or tuned by eye. The
method is described in docs/METHODOLOGY.md and the
decisions behind it in docs/adr/. - Ported system by system. Every function in
FalloutNV.exeis mapped
and tracked in a ledger (docs/LEDGER.md). The game’s code
is being translated into Rust function by function in theenginecrate,
each piece marked with the address it came from and tested, in the order
that matters most for running the game. The plan is in
docs/ENGINE_PORT_PLAN.md. - Checked against the original. Tools in
research/record
what the original program actually does (function results on the real CPU,
live arguments and state) so that Rust code can be tested against it. - Simulation separate from presentation. Game rules live in plain Rust
crates with no external libraries. The Bevy app only draws, plays sound
and reads input. That split also keeps the planned VR support possible
(docs/VR.md).
Repository layout
nv-rs/
├── Cargo.toml # core workspace (no external crates)
├── crates/ # readers, game rules, tools and test fixtures (table below)
├── viewer/ # the Bevy app (its own workspace, Bevy 0.16)
├── research/ # Ghidra scripts, the engine map and native oracle tools
│ ├── ghidra/ # identity, complete export, function cards, name import
│ ├── engine-map/ # every function of the exe, by unit and subsystem
│ └── nv-oracle/ # nv-call, nv-probe, nv-inject (own workspace, 32-bit Windows)
├── docs/ # roadmap, method, decisions, ledger, topic findings
├── scripts/ # acceptance routes, the ledger, packaging
└── distribution/ # files shipped in playtest packages
| Group | Crates | What they do |
|---|---|---|
| Formats | esm, bsa, nif, dds, mp3, bink, speedtree, shaders, assets, fos |
Read the game’s files: plugins and records, archives, meshes and animations, textures, audio, movies, trees, compiled shaders, the loose-file/archive lookup, and the original game’s saves (read-only). |
| Engine port | engine |
FalloutNV.exe translated function by function, running on a model of the game’s memory (ADR-0006, docs/ENGINE_CRATE.md). |
| Game | world, physics, script, scriptgen, ui, preview, cellview |
The game’s rules: world state and the per-frame order, actors, AI, combat, dialogue, quests, inventory, saves, collision, the script engine and the game’s scripts translated to Rust, menus built from the game’s XML, and per-cell scene data. |
| Tools | nvinspect |
Command-line inspection of real game data: records, cells, meshes, collision walks, coverage tables and more. |
| Test content | testdata |
Builds synthetic plugins, archives and meshes for tests, so tests never need game files. |
| App | viewer (binary nv-viewer) |
The Bevy app: rendering, audio and input on top of the game crates. |
Roadmap
Engine port
The main work right now. Progress is measured in the ledger
(docs/LEDGER.md).
- [x] Phase 0: the map and the ledger. Every function in the exe has a
unit, a subsystem and a status. - [ ] Translation (ongoing): over 10,000 of the exe’s functions are
translated so far (about 15% of the whole program; counting only game
code, about 35% is translated or traced). Most are not yet switched on
in play. - [ ] Phase 1: the frame skeleton (nearly done): the game’s per-frame
order, from the main loop down, drives the order of the app’s systems
(docs/FRAME_SKELETON.md). - [ ] Phase 2: the state model and saves: the game’s state lives in the
translated code’s memory, checked by reading a real save and writing it
back identically. - [ ] Phase 3 onward: whole systems switched over one at a time: the
script engine, conditions, AI, animation, menus, the rest of Havok and
audio.
Milestones
Each milestone has an acceptance gate checked against the original game.
Status and evidence are in docs/MILESTONES.md.
- [ ] M1: Opening and persistent world (active): the opening movie and
wakeup, Doc Mitchell’s character creation, leaving for Goodsprings, and
saving and reloading with all state intact. - [ ] M2: Core gameplay loop (active alongside M1): Sunny’s tutorial
and a Goodsprings quest branch: movement, weapons, damage, AI, dialogue,
loot, trade, progression and V.A.T.S. - [ ] M3: Base-game systems and campaign: coverage of quests, creatures,
weapons, effects, factions, companions, travel and menus, up to campaign
completion. - [ ] M4: Stability and performance: long play without crashes or lost
state, with measured frame times and streaming. - [ ] M5: DLC and mods: official DLC and documented plugin, archive and
script-extension behaviour. - [ ] M6: VR: shared simulation with independent aim and views, tested on
a headset.
What plays today (October 2026): Doc Mitchell’s house and his walk to the
door, Goodsprings with its people going about their routines, and two
Goodsprings quests driven by their own scripts: Back in the Saddle (Sunny’s
tutorial) and Ghost Town Gunfight. Along the way: NPC combat, animation and
navigation, dialogue, barter, the Pip-Boy, radio, physics and ragdolls,
terminals and hacking; crafting, Caravan and parts of Dead Money are in but
mostly checked by tests so far. These
three routes are replayed automatically on every change
(scripts/acceptance.ps1). Much of this was built before the engine port
and will be replaced, system by system, by the translated code.
What it isn’t yet: a complete playthrough. Parts of the routes are still
driven by console lines, the face editor isn’t built, and nothing has been
compared side by side with the original game across a whole route. Native
NVSE plugin DLLs are not supported, original-game saves can’t be loaded,
and VR and performance targets have not been validated. The open work is
in docs/TASKS.md.
Quick start
Play a test build
Download a Windows x64 ZIP from
Releases, extract it, and run
Play.cmd. Point it at your own Fallout New Vegas\Data folder. Read
docs/PLAYTESTING.md first.
Build from source
Install stable Rust, then:
# Core workspace: readers, game rules, nvinspect
cargo build --release
cargo test --workspace
# The Bevy app (separate workspace)
cd viewer
cargo run --release -- "<path to Fallout New Vegas\Data>" GSDocMitchellHouse
The core crates and their tests need no game files. Running the viewer and
nvinspect on real assets needs your Data folder. To replay the
acceptance routes (Windows, PowerShell):
powershell -File scripts\acceptance.ps1 -Data "<path to Fallout New Vegas\Data>" -Build
Windows is the tested platform. Native Linux and macOS (Metal) support are
in open pull requests.
Documentation
| Read this | For |
|---|---|
| CONTRIBUTING.md | How to contribute: claiming tasks, pull requests, forks |
| docs/TASKS.md | Open tasks: major systems (claim on GitHub) and the maintainer’s list |
| docs/MILESTONES.md | Active work, blockers, evidence and the next action |
| docs/ENGINE_PORT_PLAN.md, docs/LEDGER.md | The engine port: plan, phases, and what is translated so far |
| docs/ENGINE_CRATE.md, docs/FRAME_SKELETON.md | How translated code is written and tested; the per-frame order |
| docs/METHODOLOGY.md | How the game’s program is read and reimplemented, with sources |
| docs/adr/ | Decisions: method, symbols, decompiled code, tools, the engine memory model |
| docs/RESEARCH_WORKFLOW.md | Day-to-day research steps and provenance |
| research/ghidra, research/nv-oracle | The research tools and how to run them |
| docs/TECHNICAL_REFERENCE.md | Detailed feature descriptions |
| docs/OPENING.md, docs/OPENING_LOOK_IK.md, docs/FACE_CREATION.md, docs/PERSISTENCE.md, docs/VIGOR.md | M1 topic findings |
| docs/GOODSPRINGS_ROUTE.md, docs/PACKAGES.md, docs/PATHING.md, docs/NPC_COMBAT.md, docs/ANIMATION.md, docs/DIALOGUE.md, docs/PHYSICS.md, docs/WEAPON_EFFECTS.md, docs/PIPBOY.md | M2 topic findings (each says what’s traced, tested and missing) |
| docs/CONTRIB_CHAZM.md, docs/CONTRIB_PLAYCON.md, docs/DEAD_MONEY.md | Contributors’ merged work |
| docs/VR.md | VR boundaries and proposals |
| docs/PLAYTESTING.md, docs/MAINTAINING.md | Testing builds and maintaining releases |
Contributing
nv-rs is maintained by slaterain and welcomes contributors (and their
AI agents). The way in:
- Read CONTRIBUTING.md and AGENTS.md, and
give both to your agent. - Claim a task: the major systems in docs/TASKS.md are
GitHub issues titled[task] …; commentClaiming thisbefore you
start. - Work in a fork on a topic branch from the latest
main, and open a
small pull request againstmainthat passes the checks and the
acceptance routes.
Where help matters most now: with the game’s own code being ported
system by system, hand-written gameplay logic (quest scripts, AI, combat
rules, menus) will be replaced as the translated systems come online. The
most useful contributions are platform support, acceptance routes and
playthrough tests, research into how the original behaves, tools, and bug
reports from test builds, especially anything that behaves differently from
the original game.
Already have work in a fork? Sync your fork first, then follow
“Already working in a fork?”
to get your work claimed, rebased and into a pull request.
Final decisions rest with the maintainer
(docs/GOVERNANCE.md).
Legal and license
Original code is dual-licensed under MIT or
Apache-2.0, at your option. The licence covers only original
work. Fallout and Fallout: New Vegas are trademarks of their respective owners.
Read LEGAL.md for the full notice, including how material learned
from the game’s program is handled.
License and provenance
The README and its translation retain MIT terms. Changes comprise translation, links and formatting. Editable Markdown, the original README, LICENSE and NOTICE files are included in the linked bundle. This grants no rights to the original games, their assets or trademarks.
LICENSE-APACHE
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
LICENSE-MIT
MIT License
Copyright (c) nv-rs contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Comments
…