ShadowDusk.Cli
0.5.1
See the version list below for details.
dotnet tool install --global ShadowDusk.Cli --version 0.5.1
dotnet new tool-manifest
dotnet tool install --local ShadowDusk.Cli --version 0.5.1
#tool dotnet:?package=ShadowDusk.Cli&version=0.5.1
nuke :add-package ShadowDusk.Cli --version 0.5.1
ShadowDusk.Cli (ShadowDuskCLI)
Cross-platform drop-in replacement for MonoGame's mgfxc shader compiler, as a dotnet tool: compiles .fx to MonoGame/KNI .mgfx and FNA D3D9 fx_2_0 .fxb on Linux, macOS, and Windows — no fxc.exe, no Wine, no Windows SDK. Same flags, same output format, same exit codes, and MGCB-parseable stderr diagnostics, so an existing MonoGame content pipeline can switch with zero code changes.
Install
dotnet tool install --global ShadowDusk.Cli
Use
ShadowDuskCLI <input.fx> <output.mgfx> /Profile:OpenGL
ShadowDuskCLI <input.fx> <output.mgfx> /Profile:DirectX_11
ShadowDuskCLI <input.fx> <output.fxb> /Profile:FNA
Flags mirror mgfxc (/Profile, /Defines, /Debug, …). Run ShadowDuskCLI --help for the full list.
As the MGCB shader compiler
Point MGCB's ExternalTool at ShadowDuskCLI (or alias it to mgfxc on PATH) and the MonoGame Content Pipeline uses ShadowDusk transparently — including on Linux/macOS build agents where mgfxc cannot run.
Self-contained single-file binaries (no .NET install needed) for win-x64, linux-x64, osx-x64, and osx-arm64 are attached to each GitHub Release.
Links
- Documentation: https://kaltinril.github.io/ShadowDusk/
- Source / issues: https://github.com/kaltinril/ShadowDusk
- Library flavor (compile in-process at runtime): ShadowDusk.Compiler
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.18.0 | 122 | 8/3/2026 |
| 0.17.0 | 118 | 8/1/2026 |
| 0.16.0 | 119 | 7/31/2026 |
| 0.15.1 | 125 | 7/28/2026 |
| 0.15.0 | 101 | 7/28/2026 |
| 0.14.2 | 157 | 7/25/2026 |
| 0.14.1 | 112 | 7/25/2026 |
| 0.14.0 | 114 | 7/24/2026 |
| 0.13.0 | 119 | 7/23/2026 |
| 0.12.1 | 109 | 7/22/2026 |
| 0.12.0 | 150 | 7/19/2026 |
| 0.11.0 | 137 | 6/29/2026 |
| 0.10.0 | 118 | 6/28/2026 |
| 0.9.0 | 132 | 6/22/2026 |
| 0.8.0 | 137 | 6/18/2026 |
| 0.7.0 | 122 | 6/15/2026 |
| 0.6.0 | 122 | 6/14/2026 |
| 0.5.1 | 118 | 6/13/2026 |
| 0.5.0 | 113 | 6/13/2026 |
| 0.4.0 | 110 | 6/11/2026 |