# Nukacola (DovaSins-NewVegas) **Fallout: New Vegas played in Unreal Engine 5, straight from your own game files.**

Status: Very Early Beta Engine: Unreal Engine 5.9 OS: Windows 10 / 11 64-bit Licence: GPL-3.0 + UE5 Exception Game Files: Bring Your Own Copy

[What Works](#what-works-vs-not-ready-yet) · [How to Try It](#how-to-try-it) · [Controls](#controls) · [Troubleshooting](#troubleshooting) · [Developer Details](#developer-and-technical-details) · [How It Was Made](#how-it-was-made) · [Licence & Credits](#licence-and-credits)
> [!WARNING] > **State: very early beta — unoptimised and heavy on your PC.** Right now this is mostly a walking simulator through your own Fallout: New Vegas files, with rough/partial menus, scripts, and AI. There is **no optimization yet**: it is very heavy on CPU, GPU, RAM, and VRAM, so expect stutters, slow loads, and uneven FPS even on strong hardware (lower-spec PCs will struggle). > **Tested on:** AMD Ryzen 7 9800X3D · AMD Radeon RX 7900 XTX (24 GB) · 64 GB RAM. See [How it was made](#how-it-was-made) for accessibility notes, AI limitations, and testing status. > [!IMPORTANT] > **No game content is in this repo, and none is shipped.** Nukacola is a game reader, forked from [DovahKin](CREDITS.md) v6. It opens your own copy of Fallout: New Vegas (plugins, archives, models, scripts) while Unreal runs, and builds the world from them — so you need your own installed copy of the game. Looking for the Skyrim reader? See our sister repo: **[DovaSins-Skyrim](https://github.com/DovaSinS/DovaSins-Skyrim)**. --- ## What Works vs. Not Ready Yet *Summarized from project notes with AI — expect gaps and rough edges.* | Area | Working / Experimental | Not Ready Yet / Rough | |---|---|---| | **World & environment** | Exterior and interior cell streaming, terrain, far LODs, sky/weather/rain/wind, procedural trees (`.spt` reader + Nukacola's own branch builder: our own shapes, not the game's), and grass placement | No tree wind yet; rough visual/lighting parity in many areas | | **Opening & UI** | Intro movie playback (with optional FFmpeg), character creation screens (Vigor Tester, Reflectron, name entry, tag skills, traits), XML menus, HUD, start/pause menu (`Saved\NvPrefs.ini`), and Pip-Boy (`STATS` / `ITEMS` / `DATA`) | Most saved settings in `Saved\NvPrefs.ini` do not change anything yet; many UI screens are still partial | | **Gameplay & actors** | Script bytecode decoder/VM, conditions, dialogue/voice/lip-sync, AI packages, navmesh pathing, FaceGen head shapes/textures, and own save/load (`Saved\NvSaves\*.nvsave`, not `.fos`) | Fighting/combat gameplay is not finished (actors only join combat groups/targets); many script commands remain partial | --- ## How to Try It ### 1. What you need | Tool | What for | Where | |---|---|---| | Windows 10 or 11 (64-bit) | Supported OS | — | | DirectX 12 GPU (hardware ray tracing for the editor) | The editor uses Lumen with hardware ray tracing; `Edit.bat play` starts with ray tracing off | — | | Unreal Engine 5.9 | Engine | Epic Games Launcher | | Visual Studio (C++ game tools) | Builds the C++ module | visualstudio.microsoft.com | | Fallout: New Vegas (tested on 1.4.0.525, Epic copy) | Your own game files (read at runtime) | Steam, GOG, or Epic | | FFmpeg *(optional)* | Converts the `.bik` intro movie for UE playback; skipped if omitted | ffmpeg.org | **Performance note:** This build is unoptimised and uses heavy CPU, GPU, RAM, and VRAM (with long shader/world loads and uneven FPS). **Author's test PC:** AMD Ryzen 7 9800X3D · AMD Radeon RX 7900 XTX (24 GB VRAM) · 64 GB RAM. ### 2. Setup and launch 1. Install **Unreal Engine 5.9**, **Visual Studio** (with the **Game development with C++** workload), and your own copy of **Fallout: New Vegas** (Steam, GOG, or Epic). 2. Download or clone this repository into a folder on your PC. 3. Open a Command Prompt in that folder, set any paths that differ from the defaults (or edit `DataDirectory=` in `Config\DefaultGame.ini`), and run `Edit.bat play`: ```bat :: Only needed if Unreal or Fallout: New Vegas are not in their default paths: set "UE_ROOT=C:\Program Files\Epic Games\UE_5.9" set "NV_GAME_DATA=C:\Program Files (x86)\Steam\steamapps\common\Fallout New Vegas\Data" :: Optional: enable the intro movie converter :: set "NV_FFMPEG=C:\path\to\ffmpeg.exe" Edit.bat play ``` | Command | What it does | |---|---| | `Edit.bat` | Runs size/port checks, builds the C++ module, and opens the Unreal Editor | | `Edit.bat play` | Builds and launches the game window (`1920x1080`, ray tracing off, log in `Saved\Logs\play.log`) | > [!TIP] > **First launch is slow — that is normal.** Unreal needs a few minutes on the very first run to compile C++ and build shaders. Later launches are much faster. Check `Saved\Logs\play.log` if anything stalls. Live rebuild (`Build.ps1` while the game window is open) needs the `ConsoleToolset` plugin, which is off in `Nukacola.uproject`. It lets local programs run console commands in the open game, so turn it on only if you want that. --- ## Controls | Key | What it does | |---|---| | `Esc` | Opens or closes the pause menu | | `Tab` | Opens or closes the Pip-Boy | | `F1` – `F3` | Switches Pip-Boy tabs (`STATS`, `ITEMS`, `DATA`) | --- ## Troubleshooting - **First launch is slow:** Unreal needs a few minutes on the first run to compile shaders; subsequent launches are much faster. Check `Saved\Logs\play.log` if anything stalls. - **No intro video plays:** This is expected if `ffmpeg.exe` is not on your `PATH` or set via `NV_FFMPEG` — the intro is skipped cleanly and the game starts normally. - **"BUILD FAILED" or wrong UE path:** Set `UE_ROOT` to your `UE_5.9` folder (`Edit.bat`, `Build.ps1`, and `Check-Reader.ps1` all read it) and make sure Visual Studio's **Game development with C++** workload is installed. - **Epic or GOG copy not found:** Set `NV_GAME_DATA` to your `Fallout New Vegas\Data` folder (the default in `Config\DefaultGame.ini` is the Steam path). - **Black screen or crash on startup:** Confirm your GPU supports DirectX 12. The editor also needs hardware ray tracing (Lumen is enabled in `Config\DefaultEngine.ini`); `Edit.bat play` starts with ray tracing off. --- ## Developer and Technical Details
Project layout, headless checks, and source file map (25 areas in Source\Nukacola\) ### Project layout | Where | What | |---|---| | `Source\Nukacola\` | All the C++, one Unreal module (see the file map below). | | `Content\NewVegas\Readers\` | Ten small reader Blueprints. No game data. | | `RealGame\` | A logger and controller for the real game (an xNVSE plugin), used to measure how the real game behaves. Read the warning below first. | | `Edit.bat`, `Build.ps1`, `Check-Reader.ps1` | Build, open the editor/game, or run headless reader checks. | `Check-Reader.ps1 -Check ` runs one headless check with no game window; the report goes to `Saved\nv-check-.txt` (no extra tools needed). Without `-Check` it runs the default record read on a sample of each record type; add `-AllRecords` to read every record. ### Source files map | Files | Job | Check | |---|---|---| | `NewVegasReader`, `NewVegasBinary.h`, `GameFiles` (archive core) | plugins, records, assets, live reload; `FNvCheck`, `FNvUnproven` | (default run) | | `NvForms.h`, `NvFormsWorld`, `NvFormsActors`, `NvFormsItems`, `NvFormsStory` | typed records (`namespace NvForms`) | Forms | | `NifFile` | models and animation files (.nif, .kf) | Nif | | `NvScript.h`, `NvScript`, `NvScriptCommands`, `NvScriptRun`, `NvScriptCheck` | the script VM (`namespace NvScr`): decodes and runs the game's own script bytes | Script, QuestNotices, Canteen | | `NvConditions`, `NvConditionsTable`, `NvRules` | conditions, actor values, formulas | Cond | | `NvGame`, `NvScriptWorld`, `NvConditionsWorld` | the live game state (`UNvGame`) and the commands and conditions that act on it; combat state (groups, who fights whom, no fighting yet); trigger volumes; save / load of our own `Saved\NvSaves\*.nvsave` files (not .fos) | Game, Triggers, Save, Combat | | `NvPackages`, `NvPackageRender` | AI packages: pick the package, its steps (walk, sit, patrol), furniture, package idles; `NvPackageRender` = the drawn actor's side | Packages | | `NvNavmesh` | path finding on the game's navmesh: routes through navmeshes and doors, corner rounding | Navmesh | | `NvWorld`, `NvWorldBuild`, `NvWorldSky` | game mode, cell streaming, land, placed objects, lights, sky, light maths | World, Swaps | | `NvWorldSkyParts` | clouds, stars, moon, sun disc and glare, rain, thunder, wind | SkyParts | | `NvSpeedTree`, `NvWorldPlants` | the .spt tree reader, trees, grass | Plants | | `NvWorldLod` | far land, far objects, far water | Lod | | `NvEffects` | image-space modifiers, effect shaders, screen blood, timed fades | Effects | | `NvActors`, `NvAnim`, `NvFace`, `NvFaceRender` | bodies, clothes, animation playback, idle props, FaceGen head shape, speech morphs | Actors, Faces, Props | | `NvSpeechChecks` | checks only: speech, Doc Mitchell's look, light beams | Speech, SpeechEvidence, DocAppearance, LightBeam | | `NvIntro`, `NvIntroMovie`, `NvNameMenu`, `NvIntroChecks` | the game start: intro movie, player name entry, intro posture | IntroEvidence, IntroPosture | | `NvPipBoy` | the Pip-Boy: open / close on Tab, the STATS / ITEMS / DATA tabs (F1-F3) | PipBoy | | `NvPause` | the game's start menu: main menu at launch, pause menu on Esc, Save / Load list, settings pages (written to `Saved\NvPrefs.ini`, never the game's ini) | Input, StartMenu | | `NvIntegration` | opt-in UI integration checks | `-NvIntegrationTest` | | `Nukacola.cpp`, `Nukacola.Build.cs` | module start-up and build rules | - | | `NvPlayer`, `NvHud`, `NvMenuFont` | the pawn, input, HUD | Player | | `NvCharGen` | character screens: message box, Reflectron, Vigor Tester (SPECIAL), tag skills, traits | CharGen | | `NvMenu`, `NvMenuDraw` | the game's XML menu system | Menu | | `NvDialogue`, `NvSound` | conversations, voice, sound | Dialogue | | `NewVegasBlueprints`, `NewVegasReadCommandlet.h` | the check commandlet, starter reader Blueprints | Unproven |
RealGame\ comparison logger — read warning before using (not needed to play) > [!CAUTION] > **`RealGame\` modifies files on your PC and can overwrite your Fallout: New Vegas autosave.** It is **not** needed to build or play Nukacola — it is only for measuring the real game to compare against Nukacola. - `Probe.ps1 build` copies `NvProbe.dll` into your game's `Data\NVSE\Plugins` folder (it overwrites a file of that name). It needs xNVSE installed. - `Probe.ps1 remove` deletes `NvProbe.dll` from `Data\NVSE\Plugins` and removes the `armed` file. - `Probe.ps1 start new` starts a real New Game, which overwrites your autosave, and then writes a save named `nvnew` (the save folder is fixed to the Epic copy's `FalloutNV_Epic`). - `Probe.ps1 stop` asks the game to quit and force-closes it after 15 seconds if it has not (unsaved progress is lost). - `Probe.ps1 send ` sends one order to the logger, and `Probe.ps1 shot [name]` saves a picture of the game window to `Saved\real-game\.png`. - `NvProbe` listens on `127.0.0.1:8571` only (or the port in `NVPROBE_PORT`; on the Epic copy the launcher starts the game, so that variable does not reach the game: keep the default port there). There is no password: while it is awake, any program on your PC can send it orders, including console commands and saves. It is awake only when an "armed" file under 15 minutes old exists when the game starts (`Probe.ps1 start` writes it), and it stays awake until the game exits. Web pages are refused. | Tool (only for `RealGame\`) | What for | Where | |---|---|---| | xNVSE | Loads our logger DLL into the real game | github.com/xNVSE/NVSE | | Visual Studio 32-bit (x86) C++ tools | `Probe.ps1 build` compiles `NvProbe.cpp` for the 32-bit game | Visual Studio Installer | | Epic Games Patcher *(Epic copy only)* | Lets the Epic copy start with xNVSE | Nexus Mods, New Vegas mod 81281 | | `curl` *(built into Windows 10 and 11)* | `Probe.ps1 send` talks to the logger on `127.0.0.1` | — | **Extras the author uses, not needed to build or play:** a local copy of fnv_decomp with a function index made from it (`Edit.bat` checks the `port:` and `todo:` addresses against `tools\reference\fnv-index.tsv` only when that file exists; the index and the decompile are not in this repo), and Process Monitor (Sysinternals) for finding why the game would not start.
--- ## How It Was Made > [!NOTE] > **Accessibility & AI workflow:** I have major reading and writing disabilities, so **all text, documentation, notes, credits, and code in this repository are written with AI tools (Claude Code, Gemini, and earlier OpenAI GPT / Codex) regardless of use case, and are most often read back to me via text-to-speech**. AI summaries from project notes can be inaccurate, and AI has sometimes hallucinated fixes or cut corners instead of following instructions to pass tests. I am actively building automated porting and verification scripts/checkers (`Check-Reader.ps1`, `RealGame\`, and `FNvUnproven`) so AI-written changes are verified automatically against real game data under human oversight. **New Vegas vs. Skyrim focus:** Fallout: New Vegas (`Nukacola`) is currently the main target for menus and gameplay systems because community decompilation (`fnv_decomp`) makes reference lookup and automated testing much easier, whereas the earlier Skyrim reader ([`DovaSins-Skyrim`](https://github.com/DovaSinS/DovaSins-Skyrim)) relied mostly on play-and-check testing with public info and is waiting on further community decomp work. The author is new to open source and to licences. The credits list was put together with AI help (Claude): the files were searched for other people's work and each source found was listed, and the author has read the list. It may still have gaps. If you find one, see [Licence & Credits](#licence-and-credits) below for how to report it. **Where the game rules come from.** Large parts of this code (AI packages, the script runner, conditions, menus, the tree file reader, faces) follow [fnv_decomp](https://github.com/momusdigital/fnv_decomp), a community rebuild of the game's exe, step by step. Lines that do so carry a function address (`port:`, `@fnv`, `src:`). The comments also quote the decompiler's labels (`FUN_`, `DAT_`, `g_` names), fnv_decomp's file paths and line numbers, and short decompiled lines. Some values, tables and strings were read straight from the player's own `FalloutNV.exe` (its data sections and disassembly), and some shader maths from the game's own shader packages. No exe or shader file is in this repo; the values, tables and strings taken from them are in the code, marked where they are used. `NvSpeedTree.cpp` builds trees with our own procedural code while its `.spt` reader follows the format learned from fnv_decomp, `NvPackageRender.cpp` uses our own plain vector/quaternion math for head tracking, `NifFile.cpp` uses Unreal's `FQuat4f::Slerp` for the slerp step only (its key and spline maths, with the quaternion Log / Exp / Intermediate / Squad steps, still follow Gamebryo as shown in fnv_decomp), and `NvFace.cpp` uses Unreal's `FMath::FRand()` (Box-Muller) and floating-point texture blending while reading the `.ctl`/`.egm`/`.egt`/`.tri` file formats. See [CREDITS.md](CREDITS.md). --- ## Licence and Credits GPL-3.0-or-later, see [LICENSE](LICENSE), with an added permission to combine it with Unreal Engine, see [NOTICE.md](NOTICE.md). Other people's work is listed in [CREDITS.md](CREDITS.md); licence texts that must travel with borrowed code are in [NOTICE.md](NOTICE.md). **What the licence covers.** GPL-3 covers only our own code and files in this repo. Everything else stays with its owners, under their own terms: - Fallout: New Vegas: its files, names, story and game logic belong to its owners. None of its files are in this repo. The names, strings, tables and logic that our code follows are described under [How it was made](#how-it-was-made). - The middleware inside the game's exe belongs to its makers: SpeedTree (IDV, now Unity), Havok (now Microsoft), Gamebryo (Gamebase) and FaceGen (Singular Inversions). - Unreal Engine belongs to Epic Games, under Epic's licence. - Other people's projects named in [CREDITS.md](CREDITS.md) keep their own licences. - Where our code follows fnv_decomp, the logic it follows is the game owners' and the middleware owners', not ours to license. **Think something here is taken, or lacks the right permission?** Open an issue on this repo. Name the exact file and line here, and the code or resource you think it comes from (a link helps). I will look at it and, if needed, contact its author. Removal requests are reviewed when they come from the rights holder or someone who acts for them, with proof. Reports without a file, line or source cannot be checked and will be closed. Fallout and Fallout: New Vegas are trademarks of their owners. This project is not made or backed by them.