Skip to main content

Converts media from a WAD file to modern formats.

Project description

Boom2Zoom

A CLI tool that extracts assets from a Doom WAD to a directory in ZDoom archive format.

This project was originally started to convert dump Doom texture packs. It is written in Python and uses omgifol to load data from WADs.

Features

  • Textures and flats are exported to PNGs under the textures and flats folders respectively.
  • Stock textures are filtered out by content using a set of known texture digests (more on this below).
  • ANIMATED and SWITCHES are converted into ANIMDEFS syntax.
    • Definitions from various Doom-engine games are omitted.
    • Animations are fully defined with PIC, but you can opt out and use RANGE instead.

Installation

Windows

A binary is available under releases. Download and make sure it's in your PATH. This is the quickest and simplest way to use Boom2Zoom on Windows.

Pipx

You can use Boom2Zoom via pipx.

pipx install boom2zoom

Of course, you can also install it directly with pip if you know what you are doing. Just be careful.

Quick-start

Let's first test that B2Z is installed correctly:

boom2zoom --help

At a minimum, you need to provide a wad and the directory to dump its assets into.

boom2zoom OTEX_1.1.wad otex

Textures need patches to be exported. B2Z will warn if there are patchy textures.

Texture Filtering

Note: When talking about textures, we are strictly speaking about wall textures.

Boom2Zoom only checks textures for infringement, not flats! If there are stock flats in the WAD, they will be exported.

Details

A WAD with custom textures usually contains redefinitions of stock ones. You probably do not want these, and they are copyright infringing. To help you not break the law, Boom2Zoom spots stock textures and won't emit them. It spots them by seeing if the digest of the texture is the same as a stock one. This digest comes from hashing the raw pixel values of the texture.

B2Z knows the texture digests of the main Doom games, Freedoom, Heretic, Chex 3, and Hexen.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boom2zoom-2024.6.26.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

boom2zoom-2024.6.26-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file boom2zoom-2024.6.26.tar.gz.

File metadata

  • Download URL: boom2zoom-2024.6.26.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10

File hashes

Hashes for boom2zoom-2024.6.26.tar.gz
Algorithm Hash digest
SHA256 0573415e0366564b13d88fc922c57d6df0c0fcf2cb8c58f55f1c410c22b257d8
MD5 357d295cfd370b2071012e3858315b04
BLAKE2b-256 9e386e22d20a9ef9caccf40d5564c32aa36e6675111145af8af8914a45421e45

See more details on using hashes here.

File details

Details for the file boom2zoom-2024.6.26-py3-none-any.whl.

File metadata

  • Download URL: boom2zoom-2024.6.26-py3-none-any.whl
  • Upload date:
  • Size: 47.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10

File hashes

Hashes for boom2zoom-2024.6.26-py3-none-any.whl
Algorithm Hash digest
SHA256 6511248a675798491408803ffcc1a1ad61f4c0f3b34f116e195064c330d1989b
MD5 acd8771d8bfd3ca6a5eba26d678d051b
BLAKE2b-256 da9694dc83fed8d28972d821456d1661b9e39f47abdc051f81312b87e4cbec00

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page