internal/

directory
v0.0.0-...-f1a302c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: MIT

Directories

Path Synopsis
Package acceptance contains cross-system tests and architecture constraints that verify Dark Magic from its public process boundaries.
Package acceptance contains cross-system tests and architecture constraints that verify Dark Magic from its public process boundaries.
app
clientapp
Package clientapp assembles the interactive Dark Magic client and owns the lifetime ordering between native backends, Lua components, sessions, and UI.
Package clientapp assembles the interactive Dark Magic client and owns the lifetime ordering between native backends, Lua components, sessions, and UI.
clientsession
Package clientsession owns the transport-facing client side of one remote authoritative game session without depending on presentation or input implementations.
Package clientsession owns the transport-facing client side of one remote authoritative game session without depending on presentation or input implementations.
ds1editorapp
Package ds1editorapp assembles the standalone DS1 authoring tool.
Package ds1editorapp assembles the standalone DS1 authoring tool.
envconfig
Package envconfig installs and loads the per-process environment files used by Dark Magic composition roots.
Package envconfig installs and loads the per-process environment files used by Dark Magic composition roots.
filewatch
Package filewatch provides deterministic development-time directory polling.
Package filewatch provides deterministic development-time directory polling.
gameserver
Package gameserver composes one renderer-free authoritative game session.
Package gameserver composes one renderer-free authoritative game session.
headlessshell
Package headlessshell composes the shared administration shell for targets that do not own a renderer.
Package headlessshell composes the shared administration shell for targets that do not own a renderer.
host
Package host provides the explicit lifecycle boundary for Dark Magic's long-lived native and scripted components.
Package host provides the explicit lifecycle boundary for Dark Magic's long-lived native and scripted components.
hotreload
Package hotreload coordinates VFS invalidation and transactional Lua component replacement for development-time source changes.
Package hotreload coordinates VFS invalidation and transactional Lua component replacement for development-time source changes.
networkclock
Package networkclock maintains the client timelines derived from authoritative simulation ticks.
Package networkclock maintains the client timelines derived from authoritative simulation ticks.
networktrust
Package networktrust persists direct-game host identity and client TOFU pins.
Package networktrust persists direct-game host identity and client TOFU pins.
realm
Package realm owns game-worker allocation and lifetime, not gameplay state.
Package realm owns game-worker allocation and lifetime, not gameplay state.
realmportal
Package realmportal owns the browser-facing Realm experience.
Package realmportal owns the browser-facing Realm experience.
realmportal/assets
Package assets derives the small, allowlisted set of Realm portal images from the user's game archives and stores the results in a private cache.
Package assets derives the small, allowlisted set of Realm portal images from the user's game archives and stores the results in a private cache.
runtimeapi
Package runtimeapi exposes the narrow development-time component management surface.
Package runtimeapi exposes the narrow development-time component management surface.
serverapp
Package serverapp owns standalone game-server process composition below the deliberately thin cmd/server entry point.
Package serverapp owns standalone game-server process composition below the deliberately thin cmd/server entry point.
assets
catalog
Package assetcatalog verifies documented Diablo II asset knowledge against a content filesystem.
Package assetcatalog verifies documented Diablo II asset knowledge against a content filesystem.
decode
Package assetdecode decodes presentation assets stored in Diablo II content archives.
Package assetdecode decodes presentation assets stored in Diablo II content archives.
inspect
Package assetinspect provides a headless way to verify and describe assets from either a directory or an archive-backed fs.FS.
Package assetinspect provides a headless way to verify and describe assets from either a directory or an archive-backed fs.FS.
Package audio defines the renderer-thread command boundary for audio.
Package audio defines the renderer-thread command boundary for audio.
Package branding provides artwork embedded in Dark Magic binaries.
Package branding provides artwork embedded in Dark Magic binaries.
Package cache provides the weighted, generation-aware cache used by engine subsystems that own decoded or uploaded resources.
Package cache provides the weighted, generation-aware cache used by engine subsystems that own decoded or uploaded resources.
Package content provides Dark Magic's layered game-content filesystem.
Package content provides Dark Magic's layered game-content filesystem.
dev
capture
Package capture records local visual-review artifacts without embedding game imagery in tests or source control.
Package capture records local visual-review artifacts without embedding game imagery in tests or source control.
profiling
Package profiling captures reviewable performance artifacts for native runs.
Package profiling captures reviewable performance artifacts for native runs.
testapps/shell command
Command shell is the renderer-free development harness for the same shell session that client, game-server, and realm adapters consume.
Command shell is the renderer-free development harness for the same shell session that client, game-server, and realm adapters consume.
tools/bik_view command
Command bik_view validates and plays a BIK from a file, directory, ZIP, MPQ, or standard Diablo II MPQ directory without permanently extracting it.
Command bik_view validates and plays a BIK from a file, directory, ZIP, MPQ, or standard Diablo II MPQ directory without permanently extracting it.
tools/cast_rate_probe command
Command cast_rate_probe validates and normalizes sanitized cast-timing observations from an owned Expansion 1.14d runtime.
Command cast_rate_probe validates and normalizes sanitized cast-timing observations from an owned Expansion 1.14d runtime.
tools/curse_presentation_probe command
Command curse_presentation_probe validates and normalizes sanitized visual observations from an owned Expansion 1.14d runtime.
Command curse_presentation_probe validates and normalizes sanitized visual observations from an owned Expansion 1.14d runtime.
tools/d2legacy_lua_test command
Command d2legacy_lua_test creates a readable sidecar suite for a d2legacy Lua module.
Command d2legacy_lua_test creates a readable sidecar suite for a d2legacy Lua module.
tools/d2legacy_pack command
Command d2legacy_pack writes the embedded d2legacy content as a deterministic distribution archive.
Command d2legacy_pack writes the embedded d2legacy content as a deterministic distribution archive.
tools/defense_outcome_probe command
Command defense_outcome_probe validates and normalizes sanitized visual observations from an owned Expansion 1.14d runtime.
Command defense_outcome_probe validates and normalizes sanitized visual observations from an owned Expansion 1.14d runtime.
tools/ds1_editor_assets command
Command ds1_editor_assets converts generated source sheets into compact, palette-indexed DC6 frames owned by the standalone DS1 editor package.
Command ds1_editor_assets converts generated source sheets into compact, palette-indexed DC6 frames owned by the standalone DS1 editor package.
tools/dt1_catalog command
Command dt1_catalog prints the renderer-independent identities contained in one or more DT1 files.
Command dt1_catalog prints the renderer-independent identities contained in one or more DT1 files.
tools/env_config command
Command env_config installs or updates per-process Dark Magic environment files.
Command env_config installs or updates per-process Dark Magic environment files.
tools/fire_golem_death_probe command
Command fire_golem_death_probe validates and normalizes an instrumented observation from an owned Expansion 1.14d runtime.
Command fire_golem_death_probe validates and normalizes an instrumented observation from an owned Expansion 1.14d runtime.
tools/knockback_probe command
Command knockback_probe validates and normalizes sanitized observations from an owned Expansion 1.14d runtime.
Command knockback_probe validates and normalizes sanitized observations from an owned Expansion 1.14d runtime.
tools/missile_audio_probe command
Command missile_audio_probe validates and normalizes sanitized audio/video observations from an owned Expansion 1.14d runtime.
Command missile_audio_probe validates and normalizes sanitized audio/video observations from an owned Expansion 1.14d runtime.
tools/mpq2file command
Command mpq2file extracts one asset from a directory, ZIP, or MPQ source.
Command mpq2file extracts one asset from a directory, ZIP, or MPQ source.
tools/party_xp_probe command
Command party_xp_probe validates and normalizes sanitized observations from an owned expansion 1.14d runtime.
Command party_xp_probe validates and normalizes sanitized observations from an owned expansion 1.14d runtime.
tools/player_death_probe command
Command player_death_probe validates and normalizes sanitized visual observations from a probe-created character in an owned Expansion 1.14d runtime.
Command player_death_probe validates and normalizes sanitized visual observations from a probe-created character in an owned Expansion 1.14d runtime.
tools/profile_check command
Command profile_check verifies scene diagnostic snapshots against tracked performance budgets.
Command profile_check verifies scene diagnostic snapshots against tracked performance budgets.
tools/realm_acceptance command
Command realm_acceptance exercises the native Realm-to-worker session path.
Command realm_acceptance exercises the native Realm-to-worker session path.
tools/render_backend_compare command
Command render_backend_compare summarizes matched native-backend profiles.
Command render_backend_compare summarizes matched native-backend profiles.
tools/skill_behavior_coverage command
Command skill_behavior_coverage reports target Skills.txt behavior-family coverage from owned, mounted expansion 1.14d archives.
Command skill_behavior_coverage reports target Skills.txt behavior-family coverage from owned, mounted expansion 1.14d archives.
tools/skill_evidence command
Command skill_evidence joins exact target skill rows to layered localized descriptions and cross-skill formula references.
Command skill_evidence joins exact target skill rows to layered localized descriptions and cross-skill formula references.
Package distribution owns product packaging defaults.
Package distribution owns product packaging defaults.
game
data/model
Package models defines typed representations of Diablo II's authored TSV records and the legacy token types referenced by those records.
Package models defines typed representations of Diablo II's authored TSV records and the legacy token types referenced by those records.
data/store
Package recordstore loads Diablo tabular records directly from layered content.
Package recordstore loads Diablo tabular records directly from layered content.
data/typed
Package typed binds one immutable generic record table to a caller-selected Go schema.
Package typed binds one immutable generic record table to a caller-selected Go schema.
ecs
Package ecs owns Dark Magic's deterministic entity simulation schedule.
Package ecs owns Dark Magic's deterministic entity simulation schedule.
session
Package session owns one transport- and renderer-independent authoritative game simulation session.
Package session owns one transport- and renderer-independent authoritative game simulation session.
simulation
Package simulation defines replay-stable primitives shared by offline and authoritative game simulation.
Package simulation defines replay-stable primitives shared by offline and authoritative game simulation.
world
Package world decodes deterministic gameplay facts from DS1 stamps and DT1 tilesets.
Package world decodes deterministic gameplay facts from DS1 stamps and DT1 tilesets.
worldgen
Package worldgen defines the generic, deterministic recipe boundary between a mod's world-generation policy and engine-owned world materialization.
Package worldgen defines the generic, deterministic recipe boundary between a mod's world-generation policy and engine-owned world materialization.
Package inputstate defines backend-neutral, frame-stable input snapshots.
Package inputstate defines backend-neutral, frame-stable input snapshots.
Package loading coordinates engine-owned work required by scene transitions.
Package loading coordinates engine-owned work required by scene transitions.
Package localization loads layered Diablo string tables.
Package localization loads layered Diablo string tables.
Package logging configures process-wide structured logging for Dark Magic.
Package logging configures process-wide structured logging for Dark Magic.
Package mapeditor owns editable DS1 source documents.
Package mapeditor owns editable DS1 source documents.
mod
d2legacy
Package d2legacy composes the canonical first-party gameplay mod on top of generic engine services.
Package d2legacy composes the canonical first-party gameplay mod on top of generic engine services.
d2legacy/adapter/catalog
Package catalog exposes immutable, recovered Diablo II relationships to the d2legacy Lua mod.
Package catalog exposes immutable, recovered Diablo II relationships to the d2legacy Lua mod.
d2legacy/adapter/entryworld
Package entryworld prepares the first authoritative d2legacy game world for every topology.
Package entryworld prepares the first authoritative d2legacy game world for every topology.
d2legacy/adapter/mapgen
Package mapgen boots the authoritative d2legacy map-generation policy and transports its immutable recipes back to the generic engine materializer.
Package mapgen boots the authoritative d2legacy map-generation policy and transports its immutable recipes back to the generic engine materializer.
d2legacy/adapter/movement
Package movement adapts native pointer and keyboard input into d2legacy player movement commands.
Package movement adapts native pointer and keyboard input into d2legacy player movement commands.
d2legacy/adapter/player
Package player defines authoritative player entity materialization.
Package player defines authoritative player entity materialization.
d2legacy/adapter/presentation
Package presentation adapts d2legacy's authored presentation documents at the client composition boundary.
Package presentation adapts d2legacy's authored presentation documents at the client composition boundary.
d2legacy/adapter/worldobjects
Package worldobjects joins Diablo DS1 act-local identities to recovered and decoded d2legacy records.
Package worldobjects joins Diablo DS1 act-local identities to recovered and decoded d2legacy records.
d2legacy/behaviorcoverage
Package behaviorcoverage inventories target Skills.txt server behavior signatures without inferring implementation support from resemblance.
Package behaviorcoverage inventories target Skills.txt server behavior signatures without inferring implementation support from resemblance.
d2legacy/data/recovered
Package recovered parses declarative game relationships recovered by clean-room engine projects and carried in the first-party d2legacy mod.
Package recovered parses declarative game relationships recovered by clean-room engine projects and carried in the first-party d2legacy mod.
d2legacy/skillevidence
Package skillevidence joins target Skills/SkillDesc records to layered TBL text and makes cross-skill formula references explicit for lawful research.
Package skillevidence joins target Skills/SkillDesc records to layered TBL text and makes cross-skill formula references explicit for lawful research.
Package modcache installs immutable mod packages and resolves user-selected profiles into an exact, dependency-ordered session set.
Package modcache installs immutable mod packages and resolves user-selected profiles into an exact, dependency-ordered session set.
Package paths expands user-facing host paths consistently across supported operating systems while leaving virtual content paths untouched.
Package paths expands user-facing host paths consistently across supported operating systems while leaving virtual content paths untouched.
platform
desktop
Package desktop selects the native interactive client backend at build time.
Package desktop selects the native interactive client backend at build time.
raylib/common
Package common contains shared support used only by Raylib platform adapters.
Package common contains shared support used only by Raylib platform adapters.
raylib/input
Package input adapts Raylib keyboard, pointer, and controller events to the renderer-independent input capability.
Package input adapts Raylib keyboard, pointer, and controller events to the renderer-independent input capability.
raylib/renderer
Package raylibRenderer owns the Raylib window, native renderer thread, textures, audio device, and presentation command execution.
Package raylibRenderer owns the Raylib window, native renderer thread, textures, audio device, and presentation command execution.
Package preferences owns validated, persistent client preferences.
Package preferences owns validated, persistent client preferences.
presentation
easing
Package easing preserves deterministic interpolation curves for presentation transitions and animation timing.
Package easing preserves deterministic interpolation curves for presentation transitions and animation timing.
maprender
Package maprender adapts immutable game-world tile placements into sparse presentation images.
Package maprender adapts immutable game-world tile placements into sparse presentation images.
navigation
Package navigation manages short-lived screens and overlays independently of the application component lifecycle.
Package navigation manages short-lived screens and overlays independently of the application component lifecycle.
render
Package render defines the backend-neutral retained composition model.
Package render defines the backend-neutral retained composition model.
scene
Package scene contains renderer-independent interactive scene state.
Package scene contains renderer-independent interactive scene state.
runtime
lua
Package modruntime hosts Dark Magic's serialized Lua execution environment.
Package modruntime hosts Dark Magic's serialized Lua execution environment.
Package shell owns renderer-independent interactive shell sessions shared by graphical clients, headless game servers, and realms.
Package shell owns renderer-independent interactive shell sessions shared by graphical clients, headless game servers, and realms.
luashell
Package luashell adapts a serialized Lua runtime to the shared shell core.
Package luashell adapts a serialized Lua runtime to the shared shell core.
raylib
Package raylib presents a shared shell session inside the graphical client.
Package raylib presents a shared shell session inside the graphical client.
tui
Package tui presents a shared shell session in a renderer-free terminal.
Package tui presents a shared shell session in a renderer-free terminal.
Package video defines the backend-neutral contract for cinematic playback.
Package video defines the backend-neutral contract for cinematic playback.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL