- C# 95.8%
- Shell 1.1%
- Janet 1%
- CSS 0.8%
- JavaScript 0.6%
- Other 0.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .claude | ||
| .forgejo/workflows | ||
| .skills | ||
| BookAtlas.Exporter | ||
| BookAtlas.Exporter.Benchmarks | ||
| BookAtlas.Exporter.Tests | ||
| BookAtlas.Generator | ||
| BookAtlas.Generator.Tests | ||
| CreationEngineFormats | ||
| CreationEngineFormats.Tests | ||
| docs | ||
| tool | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| deps.json | ||
| dotnet-tools.json | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| renovate.json | ||
| SkyrimSourceExporter.sln | ||
| tests.deps.json | ||
Book Atlas - Skyrim Source Exporter
HUGE THANKS TO UESP, UESP CONTRIBUTORS AND ALL MODDERS WHO WORK ON FILE FORMAT SPECIFICATIONS.
Gather book data from Skyrim game files and export it for use by Book Atlas.
The exporter reads your Skyrim Special Edition Data folder (BSA archives, plugins, string tables)
and writes the books, in every language the game ships, as JSON. It also exports worldspace maps.
The generator turns that JSON into a static website.
Usage
Export the books from your game's Data folder, then build the site:
dotnet run --project BookAtlas.Exporter -- \
export:books "path/to/Skyrim Special Edition/Data" -o ./exported
dotnet run --project BookAtlas.Generator -- \
generate:site ./exported --output-directory ./site
Open ./site/index.html in a browser. Add --with-pdf to also print each book to PDF, and
--with-map <map-directory> to include a map exported with export:worldspace-maps:lod.
Run <command> --help for a command's options and examples. The
documentation explains what each command does: load orders, maps, debug
commands.
Development
The repository holds three projects:
| Project | Role |
|---|---|
CreationEngineFormats |
Format library: BSA, plugins, string tables, NIF, SWF |
BookAtlas.Exporter |
Extraction CLI built on that library |
BookAtlas.Generator |
JSON-to-static-site generator |
The generator never references the other two. It reads only the JSON contracts described in book export format and map export format.
Requirements
- .NET 10 SDK.
clangfor Native AOT release builds.- Firefox for the generator's PDF export (
generate:pdf,generate:site --with-pdf), which prints with headless Firefox. Install it or pass--browser.
Commands
dotnet build
dotnet test
dotnet run --project BookAtlas.Exporter -- <command> [args]
dotnet run --project BookAtlas.Generator -- <command> [args]
dotnet publish BookAtlas.Exporter/BookAtlas.Exporter.csproj --configuration Release --runtime linux-x64
dotnet run -c Release --project BookAtlas.Exporter.Benchmarks -- --filter '*' --job short
To publish the generator, replace the project path. For Arm64, replace linux-x64 with
linux-arm64.
Documentation
docs/ is an mdBook. Run mdbook serve docs for a browsable version. Good starting points:
- Introduction: architecture, file formats and commands.
- References: the format specifications the parsers follow.
- Spec deviations and ambiguities: where the code departs from the spec, and why.
- Benchmarks: how to run them and current figures.
Nix (optional)
nix develop opens a shell with the SDK, clang, Firefox and mdbook.
nix build .#bookatlas-exporter and nix build .#bookatlas-generator build the executables.
Nix builds pin NuGet packages in deps.json (executables) and tests.deps.json (test projects).
After changing a package reference, run nix run .#update-deps. On renovate/* branches, the
Renovate deps.json workflow regenerates both files.
Scope
Generate a static website containing all books from Skyrim.
Books should be readable in every language supported by the game. When a book has an in-game location, its position should be displayed on the map.
The first version targets Skyrim's base game data. The data pipeline should remain extensible to mods and other Elder Scrolls games.
Non-goals
- Runtime game integration.
- In-game UI or plugins.
- Editing game files.
- Hosting a dynamic backend.
- Reproducing the game engine's rendering.
- Supporting every mod-specific format from the start.
Technical constraints
- The output is fully static.
- Game data is processed offline.
- The generated site doesn't need the original game files at runtime.
- Parsing relies on the game data format, not on hardcoded book lists.
- Language support comes from the game's string tables.
- Location data is derived from records, not from manually curated coordinates.
- New games and mods can be added without rewriting the whole pipeline.
Data and Copyright
This project does not distribute Skyrim game assets. You provide your own legally obtained game files.
The exported content is derived from those files and may contain copyrighted game text and data. Check the applicable game and mod licenses before you redistribute generated output.
Credits
This project would not be possible without the work of the Elder Scrolls modding community.
In particular, thanks to:
- UESP and its contributors.
- Mod authors and contributors who reverse-engineered and documented the game formats.
- Everyone maintaining tools and documentation around the Elder Scrolls games.
Status
This project is experimental and under active development.
The current focus is the book extraction pipeline and its maps. File formats and exported data are subject to change.