Help us shape the future of Go! Take the 2026 Go Developer Survey

tools/

directory
v0.0.0-...-361b1e1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT

README

Developer tools

These repository-private commands inspect or package content and are not Dark Magic product binaries. Run them from the repository root with go run:

  • ./internal/dev/tools/asset_inspect inspects and previews one archive asset.
  • ./internal/dev/tools/asset_catalog verifies the curated presentation catalog and generates reports and contact sheets. Pass -listfile ./docs/Diablo2UberListfile.txt to separately audit community-listed paths against the selected local MPQ stack.
  • ./internal/dev/tools/mpq2file extracts one asset from a supported content source.
  • ./internal/dev/tools/dt1_catalog prints DT1 identities and, with -stamps, the exact mounted DT1 libraries declared by each DS1 stamp.
  • ./internal/dev/tools/d2legacy_pack packages the redistributable first-party d2legacy mod.
  • ./internal/dev/tools/lua_syntax compiles Lua files with the game's gopher-lua compiler; make test-lua-syntax runs it over the d2legacy and ds1editor trees.

Directories

Path Synopsis
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.
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.
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.
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.
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.
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.
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.
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.
Command env_config installs or updates per-process Dark Magic environment files.
Command env_config installs or updates per-process Dark Magic environment files.
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.
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.
Command lua_syntax compiles Lua sources with the game's gopher-lua compiler (Lua 5.1 plus goto), so the check matches what the runtime can load rather than whichever system luac happens to be installed.
Command lua_syntax compiles Lua sources with the game's gopher-lua compiler (Lua 5.1 plus goto), so the check matches what the runtime can load rather than whichever system luac happens to be installed.
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.
Command mpq2file extracts one asset from a directory, ZIP, or MPQ source.
Command mpq2file extracts one asset from a directory, ZIP, or MPQ source.
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.
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.
Command profile_check verifies scene diagnostic snapshots against tracked performance budgets.
Command profile_check verifies scene diagnostic snapshots against tracked performance budgets.
Command realm_acceptance exercises the native Realm-to-worker session path.
Command realm_acceptance exercises the native Realm-to-worker session path.
Command render_backend_compare summarizes matched native-backend profiles.
Command render_backend_compare summarizes matched native-backend profiles.
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.
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.

Jump to

Keyboard shortcuts

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