Building a Read-Only Dark Souls III Minimap for My Sister
My sister has aphantasia and cannot picture a route in her head. I built a read-only Windows minimap for Dark Souls III that extracts enemy navmeshes and tracks her breadcrumbs.
When I play a video game without a map, I build a rough 3D model of the level in my head without really thinking about it. Blame Minecraft: spend enough childhood evenings digging a staircase into a hillside, getting chased by three skeletons, and trying to find a poorly lit wooden shack before you lose your diamonds, and your brain develops a fairly stubborn internal compass.
My sister does not have that compass, because she does not form mental images at all. She has aphantasia. She thinks entirely in words and concepts rather than pictures, so when she leaves a room in a game, she cannot close her eyes and “see” which doorway she walked through two minutes ago.
Then she decided she wanted to play Dark Souls III.
Dark Souls III is famous for two things: killing you repeatedly, and wrapping its levels in labyrinthine stone cathedrals where every corridor looks like the last four corridors, until you pull a lever that opens a shortcut back to a room you visited forty-five minutes ago. If you can’t picture space in your head, dying doesn’t just cost you your souls; it wipes out your ability to reconstruct how to get back to them.
She didn’t want a mod that played the game for her, nerfed the bosses, or drew a glowing GPS line to the ending. She just wanted an external notepad that remembered where her feet had already been. So I built her a read-only Dark Souls III minimap.
Rule 1: Do not poke the anti-cheat bear
Dark Souls III has an online component, and modifying a game’s memory or injecting a DLL into its rendering pipeline is a great way to get banned or crash the process.
So the minimap is a completely separate Windows desktop overlay that opens the Dark Souls III process with strictly read-only permissions (PROCESS_VM_READ), zero code injection, and zero network calls, built for offline play. Thirty times a second, it reads four numbers out of memory: the player’s (X, Y, Z) coordinates, their heading angle, and the active internal map ID.
Getting the coordinates was the easy part. The first time I booted the overlay on top of the game, it worked on the very first try: a crisp little arrow rotating inside a transparent circle.
There was just one minor issue. Dark Souls III does not have minimap textures in its game files, because Dark Souls III does not have a minimap. My arrow was floating in an empty void.
Why flattening the 3D level models was a disaster
To draw a map underneath the arrow without redistributing copyrighted FromSoftware assets, the tool needed to build the maps locally on my sister’s PC by reading her own installed Steam archives (using a pinned revision of Smithbox’s format decoders).
My first idea seemed obvious: extract the visible 3D environment meshes for each level and project them straight down from the sky like an architectural floor plan.
I ran the generator across all twelve base-game regions and opened the SVG preview gallery.
It looked like modern art.
In a real 3D game engine, “visible environment geometry” includes far more than the floor you walk on. It includes giant hemispherical sky domes, distant low-poly mountains, hanging chandeliers, invisible collision boxes, tree canopies, and massive decorative slabs hidden underneath the terrain. Projecting the Road of Sacrifices from above buried the actual swamp paths underneath an enormous mystery circle. Worse, Grand Archives looked almost right at a glance, while quietly hiding half the staircases under roof geometry.
Then I realised the game already had a clean, roof-free list of every walkable surface in Lothric. It just wasn’t built for the player.
It was built for the skeletons.
Stealing the enemy AI navigation mesh
Every enemy in Dark Souls III needs to know where it can walk without falling through the world or walking through a wall. To do that, the level designers bake an AI navigation mesh (navmesh): a skin of interconnected polygons hugging every floor, bridge, staircase and boss arena.
Navmeshes have no sky domes, no chandeliers and no decorative roofs. When I switched the map builder from visual meshes to the enemy AI navmesh archives, the playable corridors of Lothric popped out immediately.
Using enemy brains as our cartographer does leave a few amusing quirks. Enemies aren’t allowed to climb onto certain decorative ledges, wade into some patches of shallow water, or stand on top of random barrels where a player can hop. If my sister jumps onto a forbidden rock, her arrow briefly steps off the parchment onto dark space. That is an honest trade: the map shows every real room and doorway clearly without drowning in 3D clutter.
Why the arrow moonwalked backwards
With the navmesh projected into 2D, I booted the game, walked forward down the Cemetery of Ash, and watched my minimap arrow confidently march in the exact opposite direction.
Dark Souls III uses a 3D coordinate system where X and Z are the horizontal ground plane and Y is vertical elevation, with rotation angles measured under its own handedness convention. My 2D SVG renderer uses screen-space X and Y where positive Y points down the monitor. My first matrix transform had inverted the heading vector, turning the Ashen One into Michael Jackson.
Even after fixing the axes, Dark Souls characters have another habit: you can lock onto an enemy and strafe sideways or walk backwards while facing forward. If the arrow only shows which way the character’s chest is pointing, walking backwards makes it look like the compass is broken. Now the overlay uses a hybrid rule: while you are moving, the arrow points along the velocity vector between consecutive (X, Z) samples so you see your true direction of travel; the moment you stop moving, it settles onto your character’s facing angle.
Three floors in a trenchcoat
A flat 2D projection works right up until you walk onto a bridge that passes over a tunnel that sits above a crypt. In places like Cathedral of the Deep or Grand Archives, three completely separate floors share the exact same (X, Z) coordinates at different Y elevations.
If you draw all of them at once, the map turns into spaghetti. If you slice the level into vertical floors using a hard height cutoff (if Y > 15.0, show Floor 2), standing on a staircase right at Y = 15.0 makes the overlay strobe violently between Floor 1 and Floor 2.
To stop the strobing, the map builder clusters separated navmesh geometry into discrete vertical layers, and the live overlay runs an elevation-and-proximity scorer with hysteresis:
- It scores candidate floors by how close the player’s
Yheight and(X, Z)position are to the polygons on that layer. - It requires the new floor to beat the current floor by a sustained margin over several ticks before switching, then cross-fades smoothly between them.
- For truly cursed places (like Firelink Shrine, Cemetery of Ash and Untended Graves, which all share a single internal map resource), manual floor up/down hotkeys and a live diagnostic readout let you override the guess at any time.
Breadcrumbs, bonfires and vanishing wisps
As my sister walks, the overlay drops a dotted breadcrumb trail behind her, automatically starting a fresh segment whenever she dies, warps at a bonfire, hits a loading screen or crosses a map boundary.
Bonfire icons (drawn as a tiny coiled sword with an ember glow) are placed by cross-referencing the game’s parameter tables against placed map entities. Optional item markers appear as blue-white wisps by pairing treasure coordinates with the game’s live event-flag memory: twice a second, the overlay checks the pickup flags for the current region, and the moment she loots an item, its wisp vanishes from the map.
One final boss remained: Windows window management. Because the overlay sits AlwaysOnTop with WS_EX_TRANSPARENT click-through enabled so mouse clicks go straight to Dark Souls, opening the minimap’s settings menu originally resulted in Dark Souls stealing focus back every 33 milliseconds. Opening settings now pauses the memory reader, drops the topmost flag, hands focus cleanly to the config window, and restores the click-through overlay when you close it. And if the game crashes or closes mid-read, the reader catches the vanished process handle quietly and waits for Dark Souls to come back instead of spamming error dialogs across the desktop.