定制 carmelosantana/coqui-toolkit-doom-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

carmelosantana/coqui-toolkit-doom-generator

最新稳定版本:v0.1.0

Composer 安装命令:

composer require carmelosantana/coqui-toolkit-doom-generator

包简介

Doom mod generation toolkit for Coqui — WAD parsing, project scaffolding, DeuTex build orchestration, and source port launching

README 文档

README

Doom mod generation toolkit for Coqui. Provides native WAD file parsing, mod project scaffolding, DeuTex build orchestration, Freedoom IWAD management, and source port launching — all sandboxed to the workspace.

Requirements

  • PHP 8.4+
  • Coqui (auto-discovered via Composer)

Optional External Tools

  • DeuTex — WAD compilation and asset injection (apt install deutex / brew install deutex)
  • GZDoom or Chocolate Doom — source ports for launching and testing builds

Installation

composer require coquibot/coqui-toolkit-doom-generator

When installed alongside Coqui, the toolkit is auto-discovered via Composer's extra.php-agents.toolkits — no manual registration needed.

Tools Provided

doom_wad_inspect

Inspect any WAD file — parse headers, list lumps, search by name pattern, extract lump data.

Parameter Type Required Description
path string Yes WAD file path relative to workspace
filter string No Glob pattern to filter lump names (e.g. MAP*, *SKY*)
show_header bool No Include header details in output (default: true)

doom_project

Create and manage mod projects with standardized directory structure.

Parameter Type Required Description
action enum Yes init, list, info
name string Conditional Project name (required for init, info)
iwad string No Target IWAD name (default: freedoom2.wad)
source_port string No Target source port (default: gzdoom)

doom_asset

Add, remove, list, or extract assets (graphics, sounds, sprites, flats) in a project.

Parameter Type Required Description
action enum Yes add, remove, list, extract
project string Yes Project name
lump_name string Conditional Lump name for add/remove/extract
file_path string Conditional Source file path for add, output path for extract
category enum No Asset category: graphic, sound, sprite, flat, music, patch

doom_build

Compile a project into a PWAD using DeuTex.

Parameter Type Required Description
project string Yes Project name to build
output_name string No Custom output WAD filename

doom_run

Launch a build with a source port for testing.

Parameter Type Required Description
project string No Project name (uses latest build)
wad_path string No Direct path to a WAD file
source_port enum No gzdoom, chocolate-doom, dsda-doom
iwad string No Override IWAD
extra_args string No Additional CLI arguments for the source port

doom_toolchain

Check system toolchain status and manage Freedoom IWADs.

Parameter Type Required Description
action enum Yes status, install_freedoom

Architecture

src/
├── DoomGeneratorToolkit.php      # ToolkitInterface entrypoint
├── Asset/
│   └── IwadManager.php           # Freedoom downloads + user IWAD management
├── Exception/
│   └── DoomGeneratorException.php
├── Project/
│   └── ProjectManager.php        # Mod project lifecycle
├── Runtime/
│   ├── DependencyChecker.php     # System tool detection
│   ├── DoomResult.php            # CLI result value object
│   └── DoomRunner.php            # Multi-binary CLI orchestrator
├── Tool/
│   ├── DoomAssetTool.php
│   ├── DoomBuildTool.php
│   ├── DoomProjectTool.php
│   ├── DoomRunTool.php
│   ├── DoomToolchainTool.php
│   └── DoomWadInspectTool.php
└── Wad/
    ├── WadHeader.php             # Header value object
    ├── WadLump.php               # Lump directory entry VO
    ├── WadReader.php             # Native PHP binary WAD parser
    ├── WadType.php               # IWAD/PWAD enum
    └── WadWriter.php             # PWAD binary writer

License

MIT

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固