- It takes a .WAD filepath as an input, reads it and attempts to display the result of what it just read, as a 2D map of points and linedefs (that represent the vertexes and linedefs that are part of the Doom structure of sectors and subsectors).
- C compiler (gcc or clang worked juste fine for me), and the standard lib that goes with it.
- SDL2 library. You can install it using :
sudo apt install libsdl2-dev
- Just clone it wherever you want in your computer, using :
git clone https://github.com/Esteban795/WAD-reader.git
- When inside the folder, you can run
make all
to have the program display an example for you. If everything goes finek, you should get this on your screen :
If it doesn't work for some reason, open an issue and I'll look into it as much as possible.
- From the folder, just
make build
and then go ahead using either
make run
to display a file example, or use
./bin/wad_reader <yourfilepathhere>
if you prefer to use a custom file.
- Because DOOM changed its way of formatting between the original DOOM and the second, and basically the others, to display the other files, make sure you changed the line E1M1 to MAP01, MAP02 or anything.I'll try working on that to autodetect with parsing arguments.