A Visual Studio Code extension that streamlines the development of game support extensions for Vortex.
- New Game Extension Wizard: Create a basic game support extension structure with a single command
- Language Support: Choose between JavaScript or TypeScript projects
- Automatic Setup: Generates all required files including
info.json, package.json,index.js/ts, configuration files, and placeholder game artwork
- Vortex API Snippets: Access pre-built code snippets for common Vortex API patterns
- Context-Aware: Snippets include game registration, mod installers, mod manager integration, and tool definitions
- Language-Specific: Tailored completions for both JavaScript and TypeScript projects
- File Structure Checks: Automatically validates that all required files are present
- JSON Validation: Ensures
info.jsonand package.json contain required fields - Live Diagnostics: Real-time validation as you edit files
- Vortex API Installation: One-click setup of the Vortex API and related libraries
- Categorized Dependencies: Easy access to required, common, additional, and unofficial Vortex libraries
- NPM Scripts: Pre-configured scripts for building, packaging, and dependency management
Access these commands via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
- Vortex: New Game Support Extension - Create a new game extension project
- Vortex: Setup Vortex API in Workspace - Install Vortex API dependencies
- Vortex: Scaffold Game Extension in Workspace - Add missing required files to an existing project
- Vortex: Run Workspace Checks - Validate your workspace structure and required files
-
Create a New Extension:
- Open the Command Palette
- Run
Vortex: New Game Support Extension - Enter your game title
- Select JavaScript or TypeScript
- Choose a location for your project
-
Complete the Setup:
- The extension will automatically scaffold all required files
- Dependencies will be installed automatically
- Your workspace will be ready to start coding
-
Start Developing:
- Edit
info.jsonwith your game details - Implement game support in
index.jsorindex.ts - Use code snippets (prefix with
t) for common patterns - Run workspace checks to validate your setup
- Edit
The extension provides numerous code snippets accessible by typing t followed by the snippet name:
tregisterGame- Register a new game with VortextregisterInstaller- Create a mod installertfindGameSteam- Find game installation via Steam/GOGtprepareForModdingSimple- Simple mod folder setuptprepareForModdingModManager- Setup with mod manager integrationttestSupportedContent- Test if mod is supportedtinstallContent- Install mod filestmoddingTools- Define modding tools- And more...
A scaffolded extension includes:
your-game-extension/
├── info.json # Extension metadata
├── package.json # NPM dependencies and scripts
├── gameart.jpg # Game icon (replace with actual artwork)
├── index.js / index.ts # Main extension code
├── jsconfig.json / tsconfig.json # Language configuration
└── dist/ # Build output (TypeScript only)
- Visual Studio Code
- Node.js and NPM installed
- Git (for installing Vortex API dependencies)
The extension provides easy access to official Vortex libraries:
Required:
Common:
Additional: Game-specific libraries for formats like BA2, BSA, ESP, and more
- The extension requires an active internet connection to install Vortex API dependencies from Git repositories
- Some advanced Vortex API features may require manual type definitions
Contributions are welcome! Please feel free to submit issues or pull requests.
Enjoy creating game support extensions for Vortex! 🎮


