Skip to content

W3 Mod Workbench 1.5.0

Choose a tag to compare

@Faen668 Faen668 released this 17 Oct 11:06
· 244 commits to main since this release

W3 Mod Workbench 1.5.0

The biggest update yet: a tool that checks whether a mod was copied from another, plus searchable game strings, a mod menu builder and a stub generator.

🕵️ New: Source inspector

Tools > Source inspector (Ctrl+Shift+I) compares two mods and shows how much of one is in the other. Each side can be a folder of loose files, bundles, compiled scripts, or a mix.

  • Compares code, not text. Comments, spacing and letter case are ignored. The code is also compared as a shape with every name and value replaced, so renamed variables, functions and classes still match. Compiled .rsblob files are decompiled first.
  • Menus and XML are compared element by element, and text files line by line.
  • Bundle contents are unpacked and fingerprinted with SHA-256, so identical files are found under any name or path.
  • Telltale details: distinctive comments, messages, class and function names and menu keys found in both, plus functions copied whole or with new names.
  • Coding style: indentation, brace placement, spacing, naming habits, comment density and function size.
  • Fair to honest mods: the game's own scripts can be set aside, so two mods that wrap the same function aren't called copies.
  • Easy to read: a verdict with key findings, a breakdown by kind of content, every matching file with a side-by-side view that marks the shared lines, and a report you can save as a web page or Markdown.

Similarity is evidence, not proof. Mods for one game share its code and common frameworks, so read the matches before drawing a conclusion.

🛠️ Also new

  • Search game strings (Ctrl+Shift+G): find the ID, key and text of any string the game, its DLC or your installed mods load, in any language. Copy an ID or a ready-made GetLocStringById(...).
  • Strings editor: Check IDs finds IDs you share with the game or other mods and suggests a free block. Load translation carries an old translation over a mod's new strings, marking the new ones.
  • XML editor: colouring, folding, a live well-formed check, Format, and saving that keeps the file's encoding.
  • Mod menu builder (Ctrl+B in the XML editor, or Tools > New mod menu): build user_config_matrix menus with forms: pages, toggles, sliders, option lists and presets, with the strings and the WitcherScript that reads each setting.
  • Stub generator (Ctrl+Shift+W): exact @wrapMethod, @replaceMethod, @addMethod and @addField code from the game's own scripts.
  • Outline side bar in script previews: a tree of classes, structs and enums with their members.
  • Open in external editor from the right-click menu, and a PROJECT badge on script projects.
  • New app icon, and new Help pages for all of the above.

🐛 Fixed

  • The About card (the i button) now stays open until you click elsewhere, press Esc or click the button again, instead of closing when the mouse moved.
  • The downloads badge in the README now works.

📥 Download

Grab W3ModWorkbench-v1.5.0-win-x64.zip below, unzip it anywhere and run W3ModWorkbench.exe. Nothing to install, .NET is included. Windows 10 or 11, 64-bit.

"Windows protected your PC"? The exe isn't code-signed. Click More info, then Run anyway.

Full changelog: CHANGELOG.md