War Thunder user-skin studio: 4-point UV quad picker, whole-airframe theme recolour and art layers, PNG/DDS/.blk export, and WT Live reference skins.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-wtskin-project
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/Wuqiu-Ying/dsh-wtskin-project/releases/download/v3.0.9/dsh-wtskin-project-3.0.9.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Wuqiu-Ying/dsh-wtskin-project
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
War Thunder user-skin studio, packaged as a DSH plugin. It turns the workflow "measure UV → place art per panel → composite → export DDS + .blk" into model-callable tools, and ships a 4-point quad picker.
中文 | English
Tools
| Tool | Purpose |
|---|---|
dsh_wtskin_project |
Create / read / update project.json (canvas size, base livery, output settings) |
dsh_wtskin_layer |
Add / update / remove / list layers: image + 4-point quad + rotation / flip / offset / clip line |
dsh_wtskin_export |
Composite the base and every layer into PNG, DDS, preview and .blk |
dsh_wtskin_presets |
List built-in vehicle presets (texture names and .blk entries) |
dsh_wtskin_measure |
Start the local quad picker (4-point mode) and return its URL |
Quad picker
dsh_wtskin_measure starts a single-page local server on 127.0.0.1 (random port) and
serves the bundled assets/measure.html (an extension of image-pixel-coords.html):
- drop or paste a texture preview
- click 四点框选 (4-point mode), then click four corners in order; the quad is drawn live
- the scale × field defaults to the project's
quadScale(e.g.2.56for a 1600 preview) - 保存到工程 (save to project) writes the quad straight into the given layer of
project.json— the layer carries its ownquadScale, so it will not be scaled twice - 复制 (copy) emits
[[x,y],[x,y],[x,y],[x,y]]fordsh_wtskin_layer
The page is plain JavaScript and needs no network access.
Quick start
dsh_wtskin_project dir=D:/skins/q5l action=create data={"quadScale":2.56,"width":4096,"height":4096}
dsh_wtskin_measure dir=D:/skins/q5l id=wing_u scale=2.56
# open the returned URL, pick 4 points, then "保存到工程"
dsh_wtskin_layer dir=D:/skins/q5l action=update id=wing_u layer={"image":"p8.png","size":"chord","factor":1.3,"rotate180":true}
dsh_wtskin_export dir=D:/skins/q5l
Size modes
chord— scale by the distance between the quad's leading- and trailing-edge midpoints (most common)quadHeight— scale by the quad's bounding-box heightheight— explicit pixel heightwidthAdapt— for narrow root strips: fit the width and keep a margin
Layer fields
{
"image": "path/to/character.png",
"quad": [[x0,y0],[x1,y1],[x2,y2],[x3,y3]],
"quadScale": 1,
"size": "chord",
"factor": 1.2,
"offset": [0, -40],
"rotate180": true,
"flip": false,
"clipLine": [[x0,y0],[x1,y1]],
"expand": 8,
"opacity": 1
}
The first two points are the leading edge; the last two are the trailing edge — the engine
uses them for chord length and centre. quadScale is the layer's own coordinate scale and
overrides the project-level setting.
Install
# with the dsh CLI
dsh plugin --profile desktop add link:D:/path/to/dsh-wtskin-project
# without it
node install.mjs --profile desktop
Then restart DSH (tools register at startup). To uninstall, delete
profiles/<profile>/node_modules/dsh-wtskin-project and the matching patch row.
Python runtime
The engine needs Python 3 with Pillow and numpy. DSH ships a suitable runtime:
C:\Users\<you>\.dsh\dsh-runtimes\dsh-primary-runtime\dependencies\python\python.exe
Resolution order: call argument pythonPath → plugin config pythonPath → env
DSH_PYTHON → python. Pinning it once in the plugin config is recommended:
- id: dsh-wtskin-project
name: dsh-wtskin-project
config:
pythonPath: C:/Users/you/.dsh/dsh-runtimes/dsh-primary-runtime/dependencies/python/python.exe
Output
out/
├── q_5l_c.png composited texture (4096)
├── q_5l_c.dds 32-bit uncompressed DDS (~64MB)
├── preview.png 1600 preview
└── q_5l.blk guide file
Copy the whole out folder into War Thunder/UserSkins/.
How it works
- Base livery — reads an existing texture as the detail carrier (rivets, panel lines), maps its luminance onto a custom colour ramp, optionally adds an edge glow and a dot grid.
- Layers — an affine transform (rotate → scale → translate to the quad centre), then an alpha mask clipped to the quad; an optional half-plane clip along a line.
- Export — Pillow writes a 32-bit uncompressed DDS (BGRA) and generates the
.blk.
Known limitations
- No automatic UV measurement: quads are measured by hand with the picker.
- DDS is uncompressed (~64MB at 4K); re-save as DXT5 with Photoshop + the NVIDIA DDS plugin if that is too heavy.
- Normal maps (
_n) are not generated.
License
MIT. Copyright of user assets (character art, etc.) remains with the user.
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38796
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37348
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 29024
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 10192
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6129
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4796
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.