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.
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
- Open the extension's Marketplace page.
- Choose Install and allow Visual Studio Code to open.
- Confirm the publisher is Wasted Potential Studios LLC and the extension ID matches the value on this page.
- Reload Visual Studio Code if prompted.
Manual install
Manual VSIX
- Download the version 1.0.1 VSIX from WPS.
- In VS Code, run Extensions: Install from VSIX... from the Command Palette.
- Select
wps-swg-stf-editor-1.0.1.vsix. - Reload Visual Studio Code if prompted.
code --install-extension wps-swg-stf-editor-1.0.1.vsix SHA-256278EE25FEFA588C0D653C5DDCE70D2E4EEA117465840DA3C2A5BA76FFDE13766
Inspect an STF string table
- Keep the original .stf file backed up or under source control.
- Right-click the .stf and choose Open SWG String File as Text, or run the command and select a file.
- Review the next unique ID and each named section's id, crc, and decoded text value.
- 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
| Command | Where | What 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 | Escape | Meaning |
|---|---|
| \n | New line |
| \r | Carriage return |
| \t | Tab |
| \\ | 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.