Skip to content
Wavefront OBJ to Doom3 map converter.
C++ C QMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
src
.clang_complete
.gitignore
.project
LICENSE
README.md
o2d3m.png
o2d3m.pro

README.md

O2D3M

O2D3M is a Wavefront OBJ to DOOM3 map converter.

O2D3M

Watch a video showcasing it in action by clicking here.

Getting Started

You'll need a C++ compiler with C++11 support and Qt 5 or later in order to compile this.

Why does it use Qt? Well, because this project started as a plugin for Tiled, but then I lost interest and turned it into a CLI tool without moving away from Qt.

Open o2d3m.pro in QtCreator or if you are a CLI kind of person type in the following incantations in a terminal:

$ mkdir build
$ cd build
$ qmake ..
$ make

This will result in an executable called o2d3m in the build directory.

To convert an OBJ file into a D3 map one would type:

$ build/o2d3m --no-monster-attack -o example/base/maps/example.map example/src/example.obj

To test the resulting D3 map one would type:

$ dhewm3 +set fs_savepath example +disconnect +dmap example +map example

Replace dhewm3 above with the name of your D3 flavour's executable.

Contribute

  • Fork the project.
  • Make your feature addition or bug fix.
  • Do not bump the version number.
  • Send me a pull request. Bonus points for topic branches.

License

Copyright (c) 2018, Mihail Szabolcs

O2D3M is provided as-is under the MIT license. For more information see LICENSE.

You can’t perform that action at this time.