Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Nodejs toolchain to help with doom 2 modding.

gcholette/doom-mods-toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'])
})

About

Nodejs toolchain to help with doom 2 modding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published