doom-mods-toolchain

0.0.3 • Public • Published

Doom mods toolchain

A nodejs tool to ease the doom modding workflow.

It does two things:

  • package a directory to a .pk3 file
  • execute GZdoom with different mod files.

Example

const DoomModsToolchain = require('doom-mods-toolchain')

const config = {
  // The path of the mod directory to compile
  modPath: 'C:\\Users\\Me\\workspace\\doom-mods\\src\\mods\\mod1\\',

  // Where to export the .pk3 file
  outputPath: 'C:\\Users\\Me\\workspace\\doom-mods\\out\\',

  // Where is GZDoom executable installed
  executablePath: 'C:\\Users\\Me\\workspace\\doom-mods\\gzdoom_win64\\gzdoom.exe',

  // Where mods that will be executed are located (can be different from output path)
  // if no value is provided, defaults to output path.
  executableModsPath: 'C:\\Users\\Me\\workspace\\doom-mods\\out\\',
}

const toolchain = DoomModsToolchain(config)

toolchain.compile('mod1').then(() => {
  toolchain.execute(['mod1.pk3', 'map1_3.wad'])
})

Readme

Keywords

Package Sidebar

Install

npm i doom-mods-toolchain

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

4.02 kB

Total Files

3

Last publish

Collaborators

  • gcholette