• C# 95.8%
  • Shell 1.1%
  • Janet 1%
  • CSS 0.8%
  • JavaScript 0.6%
  • Other 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Superkooka 87317f5c5d
All checks were successful
/ docs (push) Successful in 4s
/ format (push) Successful in 4s
/ test (push) Successful in 1m51s
chore(skills): add a nif-lookup skill to read nif.xml and link its HTML doc (#85)
Reviewed-on: #85
2026-11-04 03:02:56 +00:00
.claude feat: restructure into BookAtlas exporter, generator and format library 2026-09-24 21:57:56 +02:00
.forgejo/workflows chore(deps): update nixos/nix docker tag to v2.35.4 (#81) 2026-10-27 12:05:26 +00:00
.skills chore(skills): add a nif-lookup skill to read nif.xml and link its HTML doc (#85) 2026-11-04 03:02:56 +00:00
BookAtlas.Exporter refacto(exporter): draw maps at 4096 px/cell faster in smaller blocks, the output unchanged (#84) 2026-11-04 02:24:47 +00:00
BookAtlas.Exporter.Benchmarks refacto(exporter): split the map's shading code, the output unchanged 2026-11-02 17:17:28 +01:00
BookAtlas.Exporter.Tests refacto(exporter): draw maps at 4096 px/cell faster in smaller blocks, the output unchanged (#84) 2026-11-04 02:24:47 +00:00
BookAtlas.Generator chore(deps): update dependency scriban to 7.5.3 (#82) 2026-10-27 18:35:09 +00:00
BookAtlas.Generator.Tests feat(generator): add a not found page (#78) 2026-10-21 14:37:33 +00:00
CreationEngineFormats refacto(exporter): split the map's shading code, the output unchanged 2026-11-02 17:17:28 +01:00
CreationEngineFormats.Tests feat(exporter): add emissive shapes, cast shadows and flat decals as options 2026-11-02 10:47:48 +01:00
docs refacto(exporter): draw maps at 4096 px/cell faster in smaller blocks, the output unchanged (#84) 2026-11-04 02:24:47 +00:00
tool refacto(exporter): re-organize rasterizer object and simply layer workflow (#69) 2026-10-21 17:04:27 +00:00
.gitignore feat(benchmarks): add exporter benchmarks and compare them in CI (#35) 2026-10-09 06:07:40 +00:00
AGENTS.md chore(readme&skills): improve skills + update readme (#67) 2026-10-17 00:22:20 +00:00
CLAUDE.md chore(AGENTS.md): make one central file for all coding agent (#14) 2026-09-24 21:43:45 +00:00
deps.json chore(deps): update dependency scriban to 7.5.3 (#82) 2026-10-27 18:35:09 +00:00
dotnet-tools.json chore(deps): update dotnet diagnostics tools to v10.0.750501 (#34) 2026-10-09 02:19:34 +00:00
flake.lock feat: restructure into BookAtlas exporter, generator and format library 2026-09-24 21:57:56 +02:00
flake.nix feat(generator): add maps on generated site (#52) 2026-10-15 04:04:43 +00:00
README.md chore(readme&skills): improve skills + update readme (#67) 2026-10-17 00:22:20 +00:00
renovate.json chore(renovate): group dotnet-trace and dotnet-counters updates (#33) 2026-10-09 02:16:33 +00:00
SkyrimSourceExporter.sln feat(benchmarks): add exporter benchmarks and compare them in CI (#35) 2026-10-09 06:07:40 +00:00
tests.deps.json chore(deps): update dependency microsoft.net.test.sdk to 18.11.0 (#77) 2026-10-21 10:09:25 +00:00

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.
  • clang for 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:

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.

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.