DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-ra2-csf

A

dsh-ra2-csf

Manifest valid
hasBundlePatch

dsh-ra2-csf

A DeepSeek Harness Host plugin for Red Alert 2 / Yuri's Revenge CSF string tables (the format written by RA2CStrEditor).

Tools

Agent tools, prefixed csf_:

ToolPurpose
csf_infoHeader, language, entry counts, sample labels
csf_getDecoded entries by exact label
csf_searchSubstring search over labels and decoded text, paginated
csf_setUpdate main / extra values or names, create entries, save (.bak backup)
csf_removeRemove entries and save (.bak backup)
csf_launch_editorLaunch RA2CStrEditor.exe with the CSF file

Install

Requires DeepSeek Harness 0.2 or newer.

plugin_manager install_bundle target=github:AmahaHanasaki/dsh-ra2-csf
# or: plugin_manager install_bundle target=<path-to-this-repo>

File format notes

  • Header: " FSC" + version 3 + label count + string count + unused + language.
  • Each entry: a " LBL" chunk (count, length, ASCII label) followed by exactly one of " RTS" (length + UTF-16LE value) or "WRTS" (length + UTF-16LE value + name length + ASCII name).
  • Stored text uses the RA2 complement encoding: every UTF-16 unit is 0xFFFF - the displayed Unicode code point. The plugin decodes on read and encodes on write, so the tools deal with plain readable text (Chinese included).

Configuration

Edit the plugin row config in the profile:

KeyMeaning
csfPathDefault CSF file used when a tool call omits file
editorPathDefault RA2CStrEditor.exe path used by csf_launch_editor

Both are empty by default: pass absolute paths per tool call, or set them here once. The external editor is optional; every read/write tool works without it.

License

MIT

Comments

Loading…