New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

v3mt

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v3mt

A CLI toolkit for managing and deploying Victoria 3 mods, including sending mod files to the game, launching the game, and more.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Victoria 3 Mod Tools (v3mt)

npm version License: MIT

A CLI toolkit for Victoria 3 modders. Automate common tasks like sending mod files to the game, launching the game, and managing your mod workspace.

Features

  • Send mod files to the Victoria 3 mod folder
  • Launch Victoria 3 directly from the CLI
  • Initialize and configure your mod workspace
  • Set up common mod folder structures
  • Create Visual Studio Code tasks for modding
  • Cross-platform support (Windows, macOS, Linux)
  • Interactive prompts for safe operations

Installation

To install globally via npm:

npm install -g v3mt

Quick Start Guide

Follow these steps to get started with the default behavior:

1. Initialize Your Workspace

Run the following command to set up your modding workspace:

v3mt init

This will guide you through project setup.

2. Send Mod Files to the Game

Once your workspace is configured, you can send your mod files to the game folder:

v3mt send-to-game

This command will:

  • Delete all existing files in the destination folder.
  • Copy your mod files from the source folder to the destination folder.

3. Launch Victoria 3

After sending your mod files, you can launch the game directly from the CLI:

v3mt launch-game

By default, the game will launch in debug mode. Use the --no-debug option to disable debug mode.

Commands and Options

Here’s a detailed list of all available commands, their purposes, and options:

v3mt init

Purpose:
Initialize and configure your modding workspace.

Options:

  • -s, --skip-intro: Skip the introductory animation.
  • -o, --yes-os-warning: Automatically confirm the OS warning.
  • -y, --yes-overwrite: Automatically confirm overwriting an existing configuration.

v3mt send-to-game

Purpose:
Send mod files from the source folder to the Victoria 3 mod folder.

Options:

  • -y, --yes: Automatically confirm prompts without asking.
  • -i, --ignore-mod-folder-warning: Skip validation of the destination folder (use with caution).

v3mt launch-game

Purpose:
Launch Victoria 3 directly from the CLI.

Options:

  • -n, --no-debug: Launch the game without debug mode.
  • -i, --id <id>: Specify a custom Steam Game ID (default: 529340).

v3mt open-mod-folder

Purpose:
Open the mod folder in your system’s file explorer or Visual Studio Code.

Options:

  • -e, --explorer: Open the folder in the system file explorer instead of VS Code.

v3mt open-game-folder

Purpose:
Open the Victoria 3 game folder in your system’s file explorer or Visual Studio Code.

Options:

  • -e, --explorer: Open the folder in the system file explorer instead of VS Code.

v3mt open-error-log

Purpose:
Open the Victoria 3 error log file.

Options:

  • -e, --explorer: Open the file in the system file explorer.
  • -t, --text: Open the file in the default text editor.
  • -n, --new-window: Open the file in a new Visual Studio Code window.

v3mt setup-mod-folders

Purpose:
Set up common folder structures for Victoria 3 mods in the source folder.

Options:
None.

v3mt setup-vsc-tasks

Purpose:
Create or update Visual Studio Code tasks for modding.

Options:
None.

Example Workflow

Here’s an example workflow for using v3mt:

  • Run v3mt init to configure your workspace.
  • Make changes to your mod files in the source folder.
  • Run v3mt send-to-game to deploy your changes to the game.
  • Run v3mt launch-game to test your mod in Victoria 3.
  • Use v3mt open-error-log to debug any issues.

Contributing

Pull requests and issues are welcome! See GitHub Issues.

License

MIT

Keywords

victoria 3

FAQs

Package last updated on 21 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts