Giter Club home page Giter Club logo

wad-reader's Introduction

WAD-reader

A C program that lets you read a DOOM WAD file and displays the structure of the map accordingly.

What does it do ?

  • 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).

Requirements

  • 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

How to install it on your computer ?

  • 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 :

doom1WADread

If it doesn't work for some reason, open an issue and I'll look into it as much as possible.

How to use it ?

  • 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.

/!\ Warning :

  • 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.

wad-reader's People

Contributors

esteban795 avatar

Stargazers

FuseTim avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.