Last Update: 2023-07-06
Useful Extensions and Tools for DST Modding
This guide covers additional extensions, tools, and utilities that can enhance your Don't Starve Together modding workflow. These tools can help you work more efficiently, debug more effectively, and create more polished mods.
Code Editors and Extensions
VSCode Extensions
Beyond the basic setup covered in the VSCode Setup guide, these extensions can further improve your modding experience:
Lua-specific Extensions
-
Lua Formatter
- Automatically formats your Lua code for consistency
- Install: Search for "Lua Formatter" in the Extensions marketplace
- Configuration: Create a
.lua-format
file in your project root
-
Lua Debug
- Advanced debugging for Lua scripts
- Install: Search for "Local Lua Debugger" in the Extensions marketplace
- Useful for complex mods with many interacting components
-
Todo Tree
- Tracks TODO comments in your code
- Install: Search for "Todo Tree" in the Extensions marketplace
- Helps manage development tasks within your codebase
General Development Extensions
-
GitLens
- Enhanced Git capabilities within VSCode
- Shows line-by-line Git blame annotations
- Visualizes code authorship and history
-
Error Lens
- Highlights errors and warnings inline
- Makes debugging syntax issues much faster
-
Path Intellisense
- Autocompletes filenames in import paths
- Useful for larger mods with many files
Alternative Editors
While VSCode is recommended, these alternatives also work well for DST modding:
-
ZeroBrane Studio
- Lightweight Lua IDE with built-in debugger
- Includes DST API integration plugin
- Download: ZeroBrane Studio
-
Sublime Text
- Fast, lightweight editor with Lua support
- Install the "LSP" and "LSP-lua" packages for language support
- Download: Sublime Text
Asset Creation Tools
Image Editing
-
Aseprite
- Pixel art editor perfect for DST-style graphics
- Supports animation and sprite sheets
- Download: Aseprite
-
GIMP
- Free alternative to Photoshop
- Good for texture editing and icon creation
- Download: GIMP
-
Krita
- Free painting program with good support for textures
- Download: Krita
Animation Tools
-
Spriter
- 2D animation tool compatible with DST's animation system
- Can export to the formats DST uses
- Download: Spriter
-
Spine
- Professional 2D animation tool (paid)
- Used by many game developers for skeletal animation
- Download: Spine
Testing and Debugging Tools
In-game Console
The in-game console is essential for debugging:
- Enable the console by pressing the backtick key (`)
- Use commands like:
c_spawn("prefab_name")
- Spawn an entityc_give("prefab_name")
- Give yourself an itemc_godmode()
- Toggle god mode for testingc_reveal()
- Reveal the map
DST Debug Tools Mod
The "Debug Tools" mod adds additional debugging capabilities:
- Subscribe from the Steam Workshop
- Enables entity inspection, performance monitoring, and more
- Access via the wrench icon in-game
Performance Profiling
-
DST Performance Analyzer
- Mod that shows detailed performance metrics
- Helps identify lag sources in your mod
- Available on Steam Workshop
-
Lua Memory Profiler
- Tool for tracking memory usage in Lua scripts
- Helps identify memory leaks
- GitHub: Lua Memory Profiler
Workflow and Organization Tools
Project Management
-
Trello
- Kanban-style project management
- Great for tracking features, bugs, and progress
- Website: Trello
-
Notion
- All-in-one workspace for notes, tasks, and documentation
- Good for complex mods with extensive documentation needs
- Website: Notion
Documentation Tools
-
Markdown Editors
- Typora: WYSIWYG markdown editor
- MarkText: Open-source alternative
- Useful for creating mod documentation and readme files
-
Docusaurus
- Documentation website generator
- Good for large mods that need comprehensive docs
- Website: Docusaurus
Collaboration Tools
-
GitHub Desktop
- Simplified Git interface for those new to version control
- Makes common Git operations visual and intuitive
- Download: GitHub Desktop
-
Discord
- Create a server for your mod for user feedback and collaboration
- DST Modding community servers exist for getting help
- Website: Discord
File Management and Conversion
TEX File Tools
DST uses TEX files for textures. These tools help work with them:
-
TEXCreator
- Converts PNG files to TEX format for DST
- Handles atlas generation
- Download: TEXCreator
-
TEXTools
- Extract and convert TEX files from the game
- Useful for examining existing textures
- Available on DST forums
Animation Tools
-
Spriter2Unity
- Converts Spriter animations to formats usable in DST
- GitHub: Spriter2Unity
-
DST Animation Explorer
- View and analyze existing DST animations
- Helps understand how to structure your own animations
- Available on DST modding forums
Mod Distribution and Feedback
Steam Workshop Tools
-
Workshop Uploader
- Built into DST, accessible from the mods menu
- Handles publishing and updating your mod
-
SteamCMD
- Command-line version of Steam
- Can automate mod uploads for CI/CD pipelines
- Download: SteamCMD
Feedback Collection
-
Google Forms
- Create surveys for mod feedback
- Free and easy to set up
- Website: Google Forms
-
GitHub Issues
- Track bug reports and feature requests
- Integrates with your mod's repository
- Provides templates for structured feedback
Learning Resources
Lua Learning Tools
-
Lua Tutor
- Interactive Lua code visualization
- Website: Lua Tutor
-
Lua Workshop
- Interactive Lua learning environment
- Website: Lua Workshop
DST-specific Resources
-
Klei Forums
- Official forums with modding section
- Direct access to other modders and sometimes developers
- Website: Klei Forums
-
DST Mod Dev Tools
- Mod for improving the development/testing experience
- Adds debugging tools, entity inspection, performance monitoring
- GitHub: dstmodders/mod-dev-tools
- Steam Workshop: Mod Dev Tools
-
DST API Extension
- VSCode extension for DST API documentation and autocompletion
- Helps with code completion and API reference while coding
- GitHub: b1inkie/dst-api
- Install from VSCode marketplace: Search for "dst-lan"
Setting Up a Complete Modding Environment
For serious modders, consider setting up a complete environment with these tools:
- VSCode with recommended extensions
- Git for version control
- Asset creation tools appropriate for your mod
- Project management system (Trello/Notion)
- Local testing environment
- Automated build scripts (optional)
See also
- VSCode Setup - For basic VSCode configuration
- Git Integration - For version control setup
- Debugging and Testing - For testing your mods
- First Mod - For creating your first DST mod