Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

This is a really cool demo of a Canvas Doom Engine made back in 2006:

http://canvex.lazyilluminati.com/84/play.xhtml

Here is the e1m1 map in JSON format:

http://canvex.lazyilluminati.com/84/map1.js

Does anyone know of the tool used to convert Doom maps into JSON? I can't imagine this was done by hand :)

share|improve this question

closed as off-topic by Josh Petrie May 8 at 16:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers 2

up vote 1 down vote accepted

I've found a Python script that converts MAP data from a WAD to JSON: https://github.com/nicokruger/py-wad2json

Combine that with Unwad, a utility that extracts all other data from a WAD: https://code.google.com/p/unwad

share|improve this answer
add comment

It probably was not done by hand, but as the WAD file format is pretty well documented it was probably relatively easy to write a one-off tool to perform the conversion. It's possible one of the WAD editors floating around have the functionality buried away, but I suspect that the author used a tool he wrote himself (and has not released) in this case.

The JSON structures and arrays used in the linked JSON file don't seem to correspond directly to the lump types in the WAD file, which suggests a custom tool to me. It looks like some of his maps aren't direct ports of DOOM maps either (at least none I recognize) so it's possible he's using an internal map building tool instead of just an internal JSON conversion tool.

The author's email is at the bottom of his homepage. You'd probably get a better response if you ask him directly.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.