Game Studio / Tools / String-table inspection

SWG String File Editor

Open SWG binary .stf string tables as readable structured text with names, IDs, CRCs, and decoded UTF-16LE content.

Version1.0.1
RequiresVS Code 1.85.0+
LicenseMIT
Package1.07 MB VSIX

Visual Studio Code extension

Install, use, and troubleshoot SWG String File Editor.

Use this guide to install version 1.0.1, learn its commands and settings, and follow the main workflows.

Installation

Recommended

Visual Studio Marketplace

  1. Open the extension's Marketplace page.
  2. Choose Install and allow Visual Studio Code to open.
  3. Confirm the publisher is Wasted Potential Studios LLC and the extension ID matches the value on this page.
  4. Reload Visual Studio Code if prompted.
Open Marketplace

Manual install

Manual VSIX

  1. Download the version 1.0.1 VSIX from WPS.
  2. In VS Code, run Extensions: Install from VSIX... from the Command Palette.
  3. Select wps-swg-stf-editor-1.0.1.vsix.
  4. Reload Visual Studio Code if prompted.
Download VSIX
code --install-extension wps-swg-stf-editor-1.0.1.vsix

SHA-256278EE25FEFA588C0D653C5DDCE70D2E4EEA117465840DA3C2A5BA76FFDE13766

Inspect an STF string table

  1. Keep the original .stf file backed up or under source control.
  2. Right-click the .stf and choose Open SWG String File as Text, or run the command and select a file.
  3. Review the next unique ID and each named section's id, crc, and decoded text value.
  4. The version 1.0.1 view is read-only. Use a separate STF workflow for editing.

Note: This release opens STF files in a read-only view. Editing and saving are not supported.

Commands

CommandWhereWhat it does
Open SWG String File as Textswg-stf-editor.openFile .stf Explorer context menu and Command Palette Parses the selected binary STF into a readable virtual text document.

This version contributes no public extension settings.

Readable text structure

Each string appears under a bracketed identifier with its numeric ID, source CRC, and decoded text. Escape sequences represent characters that would otherwise span or disrupt the text format.

# Star Wars Galaxies String Table File
# Next Unique ID: 123

[example_name]
id=0
crc=1234567
text=First line\nSecond line
EscapeMeaning
\nNew line
\rCarriage return
\tTab
\\Literal backslash

Supported STF format

  • Requires the SWG STF magic value 0xDEADBEEF.
  • Reads STF versions 0 and 1.
  • Decodes string text as UTF-16LE.
  • Reads entry IDs, source CRCs, text content, and the name-to-ID map.
  • This tool is specific to the Star Wars Galaxies STF format and is not intended for unrelated .stf files.

Troubleshooting

  • Corrupt files, invalid magic values, or unsupported versions will not open correctly.
  • Files with more than roughly 10,000 strings can take longer to parse.
  • Version 2 or newer is not supported by this release.
  • Do not rely on Ctrl+S for binary round trips in version 1.0.1; the opened virtual document is read-only.

Privacy & license

This extension does not send extension data or telemetry to WPS.

SWG String File Editor version 1.0.1 is distributed under the MIT License. Keep backups when converting or generating files.

Get one tool or the complete suite

Use Marketplace for updates, download version 1.0.1 as a VSIX, or get the bundle with all six tools.