How spongescripts/fn-external-base works
This is a Windows Fortnite overlay base. Its visible startup workflow waits for the game process, initializes driver access and the game image base, then sets up a windowed DirectX overlay and enters its render loop. The sampled code also shows kernel-mediated memory access, game-state caching, camera and bone transforms, and configurable visual/menu state. The README describes Discord Overlay use, but the available excerpts do not establish the full render-loop wiring or the exact visual features; those links are left unverified or omitted.
Main entry points: main.cpp Application startup · sdk.h Camera and entity math · overlay.h Overlay window and loop · comms.h Memory access API
Components 20
Startup and Overlay
- Application startup
main.cpp - Overlay window and loop
overlay/overlay.h
Process and Memory
- Process discovery
driver/kernel/drv.h - Kernel driver access
driver/kernel/drv.h - Memory access API
driver/comms.h
Game Data and Visuals
- Game-state cache
core/loop.h - Camera and entity math
sdk/sdk.h - Transform math
sdk/math/matrix.h - Game offsets
sdk/offsets.h - Runtime settings
settings/settings.h - Visual features
core/visuals/visuals.h - Drawing helpers
core/visuals/draw.h
UI Runtime
- Overlay menu
overlay/menu.h - Dear ImGui core and support
overlay/imgui - Win32 backend
overlay/imgui/imgui_impl_win32.cpp - DirectX 11 backend
overlay/imgui/imgui_impl_dx11.cpp
Other components
- Overlay user
- Windows platform
- Fortnite process
- Installed driver
Connections 21
- Overlay user → Application startup: starts
README.md - Application startup → Process discovery: finds process
main.cpp - Application startup → Kernel driver access: initializes driver
main.cpp - Application startup → Overlay window and loop: starts overlay
main.cpp - Process discovery → Fortnite process: locates
driver/kernel/drv.h - Kernel driver access → Installed driver: sends IOCTLs
driver/kernel/drv.h - Memory access API → Kernel driver access: reads and writes
driver/comms.h - Application startup → Memory access API: sets process ID
main.cpp - Game-state cache → Memory access API: reads memory
core/loop.h - Camera and entity math → Memory access API: reads game data
sdk/sdk.h - Camera and entity math → Transform math: uses transforms
sdk/sdk.h - Game-state cache → Game offsets: uses offsets
core/loop.h - Camera and entity math → Game offsets: uses offsets
sdk/sdk.h - Camera and entity math → Runtime settings: uses screen state
sdk/sdk.h - Visual features → Drawing helpers: uses helpers
- Overlay menu → Runtime settings: configures state
- Overlay window and loop → Win32 backend: uses backend
overlay/overlay.h - Overlay window and loop → DirectX 11 backend: uses backend
overlay/overlay.h - Win32 backend → Dear ImGui core and support: uses API
overlay/imgui/imgui_impl_win32.cpp - DirectX 11 backend → Dear ImGui core and support: uses API
overlay/imgui/imgui_impl_dx11.cpp - Overlay window and loop → Windows platform: creates window
overlay/overlay.h