Skip to content

v0.10.0-rc.1 — Parallel normal and hidden Editor with Vulkan

Pre-release
Pre-release

Choose a tag to compare

@VoVanRusLvSC2 VoVanRusLvSC2 released this 21 Oct 13:51

An existing normal StarCraft II Editor can stay open while the toolkit runs a separate original Editor in the background. The owned hidden process uses pinned DXVK 3.1.1/Vulkan offscreen rendering, adapted from SC2GameToolkit, to avoid the system-D3D9 startup failure observed with parallel SC2 instances.

Changes

  • render_backend: "auto" | "legacy" | "vulkan" on worker startup. This renderer-enabled package defaults to Vulkan through auto; backend changes require restarting the owned worker.
  • Private instance GUID suffixes for the existing singleton allowlist, plus separate renderer configuration, caches and logs.
  • Original native XML → Galaxy generation, compilation, diagnostics, rendering and owned GUI-thread dispatch remain in use. No new MCP tools.
  • Reproducible parallel-instance documentation, opt-in coexistence/restart test, pinned dependency fetcher, CI build support, SHA-256 checks and complete DXVK license notice.

Live validation — Editor 5.0.17.98310, RTX 2070 / NVIDIA 595.79.0

  • Opened normal Editor first, then exercised two consecutive packaged hidden-worker lifetimes with different process/instance identities. The normal process/document/window remained responsive and unchanged, without a toolkit bridge DLL; it was left open.
  • Four original XML → Galaxy → Compile All conversions: zero native compiler errors, exact Galaxy artifact/download hashes.
  • Read native Messages/Console in both hidden lifetimes; verified private native save → close → disk reopen and component comparison.
  • Visually reviewed real Terrain PNG with relief, Command Center, Marines and doodad, and NydusIntroBlue PNG at Front Formation Camera / 1980 ms with blue Marines and platform. No desktop screenshot or replacement renderer scene was used.
  • Across 1,659 external coexistence observations: zero visible hidden windows, hidden foreground samples or input-desktop changes. No mouse/keyboard injection or desktop-switch API used. Both owned hidden Editors closed; source assets and installed Editor hashes unchanged.
  • New server rejected the previous token (403) and artifact (404), then compiled successfully again.
  • 57 Python tests, 3 native C++ suites, packaged HTTP/MCP checks (18 tools), embedded binary/dependency hash checks and source native negative/recovery checks passed.

Usage and limits

Keep your normal Editor open. Start the new SC2NativeAPI.exe or SC2NativeMCP.exe; no DLL installation into the SC2 directory is needed. Upgrade the whole matching package and restart the owned service. Vulkan-compatible hardware/drivers are required; legacy explicitly selects system D3D9.

One API/MCP server owns one hidden worker. This is hardware-specific acceptance, not a universal multi-instance guarantee. General Editor preferences may still share the Windows profile; never arrange concurrent overwrites of one source archive. First Terrain resource loading took about 169 seconds. Saved map cameras are static framing, not Galaxy-trigger playback. Terrain category exclusion/water and MP4/audio were not newly accepted in this renderer change.

See docs/PARALLEL_INSTANCES.md, docs/VALIDATION.md and BUILD.json in the ZIP. Source code and English instructions are published in the repository. Existing release assets remain unchanged.

Source commit: 34b4343376d1598cbe0b51124833562bfb1826c2.

ZIP SHA-256: f85f524ce4b98c3c1bc804c19ee42ac3f3f7478ea9587eaa91950d31d1f136b6.