Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Doom WAD to Minecraft converter

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 wadcraft
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 e1m1.schematic
Octocat-spinner-32 lint.sh
Octocat-spinner-32 map01.schematic
Octocat-spinner-32 pylint.rc
Octocat-spinner-32 setup.py
README.md

Wadcraft

A useless-but-fun Doom level to Minecraft automatic converter.

See E1M1: Hangar for an example of the result.

Features:

  • Render floor, ceiling, walls and so on
  • Generate standard minecraft .schematic
  • If pasted with the WorldEdit minecraft plugin, the player will automatically be at player 1 start for a better experience :)
  • Sector with visible sky are using minecraft sky
  • Doors are rendered in open state as much as possible
  • All textures and flats are rendered using wool blocks using as much as possible the closest color to the texture. Given minecraft granularity, it's not always visible, but slime will be properly green, water blue and so on.
  • Lighting more or less based on doom sectors light levels, but lighting model are too different between the games.
  • Should be able to render any Doom/Doom2/Ultimate doom levels and probably more with tiny adjustements.

Basic usage:

  • First you need to install it. Given that it needs the NBT library and python colormap, something along those lines should do the trick:

    wget 'http://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py'
    python virtualenv.py --distribute env
    source env/bin/activate
    python setup.py develop
    

    It basically creates a python virtual environment where dependencies can be easily installed.

  • You need to generate extra data about level geometry with glbsp:

    glbsp -v5 doom.wad
    

    glbsp produces geometry data suitable for opengl, such as convex subsectors with segments in clockwise order, which is useful for wadcraft too.

  • Then you can run it with the main iwad:

    wadcraft --iwad doom.wad --level E1M1
    
  • That will generate a level.schematic file, that you can load into minecraft with various world editors. With WorldEdit, an in-game editor, you just need to move the schematic file in the right place, and then:

    //load level
    //paste
    

    By default, Wadcraft generates WorldEdit "paste" offsets in the schematic, so when pasting it you will be directly on player 1 start.

Something went wrong with that request. Please try again.